目录

GetListListInt

Function Description

Obtains the attribute value of the ContinuousVectorVector* type, which is a two-dimensional array with each element of the int type.

Function Prototype

const ContinuousVectorVector *GetListListInt(const size_t index) const

Parameters

Parameter Input/Output Description
index Input Index of the attribute in the IR prototype definition.

Return Value

Pointer to the attribute value.

For details about the definition of the ContinuousVectorVector type, see ContinuousVectorVector.

Restrictions

None

Calling Example

// 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);