aclmdlGetInputFormat
产品支持情况
|
产品 |
是否支持 |
|---|---|
|
Atlas 350 加速卡 |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
功能说明
根据模型描述信息获取模型中指定输入的Format。
函数原型
1
|
aclFormat aclmdlGetInputFormat(const aclmdlDesc *modelDesc, size_t index) |
参数说明
|
参数名 |
输入/输出 |
说明 |
|---|---|---|
|
modelDesc |
输入 |
aclmdlDesc类型的指针。 需提前调用aclmdlCreateDesc接口创建aclmdlDesc类型的数据。 |
|
index |
输入 |
指定获取第几个输入的Format,index值从0开始。 |
父主题: aclmdlDesc