文档管理中心

GetListFloat

函数功能

获取list_float32类型的属性值。

函数原型

收起
自动换行
深色代码主题
复制
  1. const TypedContinuousVector<float> *GetListFloat(const size_t index) const

参数说明

展开

参数

输入/输出

说明

index

输入

属性在IR原型定义中以及在OP_IMPL注册中的索引。

返回值

指向属性值的指针。

约束说明

调用示例

收起
自动换行
深色代码主题
复制
  1. const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs();
  2. const TypedContinuousVector<float> *attr0 = runtime_attrs->GetListFloat(0);
在 API参考 中进行搜索
请输入您想要搜索的关键词