MutableAttrs
函数原型
1 | RuntimeAttrs *MutableAttrs() const |
参数说明
无。
返回值说明
所有IR原型定义过的属性值以及通过IMPL_OP宏注册的属性值,属性值按照IR原型定义的顺序依次保存。返回对象为非const。
约束说明
无。
调用示例
1 2 | auto compute_node_info = extend_kernel_context->GetComputeNodeInfo(); auto attrs = compute_node_info->MutableAttrs(); |
父主题: ComputeNodeInfo