struct
SushiAI::Graph::Attributes
Stores inline scalar configuration values for an operation.
- Declared in
include/SushiAI/graph/ir.hpp
Static public attributes
static constexpr std::size_t CAPACITY = 10Maximum number of supported inline scalar attribute slots.
Public attributes
double values[CAPACITY] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}The scalar values, interpreted per operation.
Public member functions
constexpr double get(std::size_t index) const noexceptReads slot index, or zero when it is out of range.
constexpr bool flag(std::size_t index) const noexceptReads slot index as a flag.

