函数:get_output_format
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
使用说明
C函数原型  | 
aclFormat aclmdlGetOutputFormat(const aclmdlDesc *modelDesc, size_t index)  | 
|---|---|
Python函数  | 
format_info = acl.mdl.get_output_format(model_desc, index)  | 
函数功能  | 
根据模型描述信息获取模型中指定输出的Format。  | 
输入说明  | 
model_desc:int,aclmdlDesc类型数据的指针地址。 需提前调用acl.mdl.create_desc接口创建aclmdlDesc类型的数据。 index:int,指定获取第几个输入的大小,“index”值从0开始。  | 
返回值说明  | 
format_info:int,返回指定输入的Format,具体请参见aclFormat。  | 
约束说明  | 
无  | 
父主题: aclmdlDesc