AICANN Kit(CANN异构计算框架服务)AscendC算子开发AscendC算子接口基础数据结构和接口gert命名空间RuntimeAttrsGetInt本页总览GetInt 函数功能 获取int类型的属性值。 函数原型 const int64_t *GetInt(const size_t index) const 参数说明 参数输入/输出说明index输入属性在IR原型定义中以及在OP_IMPL注册中的索引。 返回值 指向属性值的指针。 约束说明 无 调用示例 const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs();const int64_t *attr0 = runtime_attrs->GetInt(0);