GetListFloat
Function Usage
Obtains the attribute value of type list_float32.
Prototype
1 | const TypedContinuousVector<float> *GetListFloat(const size_t index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Index of the attribute in the IR prototype definition and OP_IMPL registration. |
Returns
Pointer to the attribute value
Constraints
None
Examples
1 2 | const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs(); const TypedContinuousVector<float> *attr0 = runtime_attrs->GetListFloat(0); |
Parent topic: RuntimeAttrs