aclopUpdateParams
产品支持情况
功能说明
在算子动态Shape场景下,根据指定算子,触发调用算子选择器。
函数原型
aclError aclopUpdateParams(const char *opType,
int numInputs,
const aclTensorDesc *const inputDesc[],
int numOutputs,
const aclTensorDesc *const outputDesc[],
const aclopAttr *attr)
参数说明
|
需提前调用aclCreateTensorDesc接口创建aclTensorDesc类型。 |
||
|
需提前调用aclCreateTensorDesc接口创建aclTensorDesc类型。 |
||
|
需提前调用aclopCreateAttr接口创建aclopAttr类型。 |
返回值说明
返回0表示成功,返回其他值表示失败,请参见aclError。