GetListListInt
Function Usage
Obtains the attribute value of the ContinuousVectorVector* type, which is a two-dimensional array with each element of the int type.
Prototype
1 | const ContinuousVectorVector *GetListListInt(const size_t index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Index of the attribute in the IR prototype definition. |
Returns
Pointer to the attribute value
For details about the definition of the ContinuousVectorVector type, see ContinuousVectorVector.
Constraints
None
Examples
1 2 3 | // Assume that in the IR prototype definition of an operator, the value of the first attribute is a two-dimensional array of the int type. const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs(); const ContinuousVectorVector *attr0 = runtime_attrs->GetListListInt(0); |
Parent topic: RuntimeAttrs