函数:get_input_name_by_index
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
使用说明
C函数原型  | 
const char *aclmdlGetInputNameByIndex(const aclmdlDesc *modelDesc, size_t index)  | 
|---|---|
Python函数  | 
input_name = acl.mdl.get_input_name_by_index(model_desc, index)  | 
函数功能  | 
获取模型中指定输入的输入名称。  | 
输入说明  | 
model_desc:int,aclmdlDesc类型数据的指针地址。 需提前调用acl.mdl.create_desc接口创建aclmdlDesc类型的数据。 index:int,指定获取第几个输入的大小,“index”值从0开始。  | 
返回值说明  | 
input_name:str,返回指定输入的输入名称。  | 
约束说明  | 
无  | 
父主题: aclmdlDesc