Function Description
Obtains the number of attributes.
Function Prototype
size_t GetAttrNum() const
Return Value
Number of attributes
Calling Example
const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs();
size_t attr_num = runtime_attrs->GetAttrNum();