GetListListFloat
Description
Obtains the attribute value of the ContinuousVectorVector* type, which is a two-dimensional array with each element of the float type.
Prototype
const ContinuousVectorVector *GetListListFloat(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
Restrictions
None
Example
// Assume that in the IR prototype definition of an operator, the type of the first attribute is a two-dimensional array of the float type. const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs(); const ContinuousVectorVector *attr0 = runtime_attrs->GetListListFloat(0);
Parent topic: RuntimeAttrs