GetAttrs
Function
Obtains the attribute values of an operator.
Function Prototype
const RuntimeAttrs *GetAttrs() constParameters
None
Return Value
Attribute values defined by all IR prototypes, which are const objects of type RuntimeAttrs. The attribute values are stored in the order defined by the IR prototypes.
Constraints
None
Example
auto compute_node_info = extend_kernel_context->GetComputeNodeInfo();
auto attrs = compute_node_info->GetAttrs();