aclopCreateHandleForCast
产品支持情况
功能说明
创建数据类型转换的handle。创建handle成功后,需调用aclopExecWithHandle接口执行算子。
函数原型
aclError aclopCreateHandleForCast(aclTensorDesc *srcDesc,
aclTensorDesc *dstDesc,
uint8_t truncate,
aclopHandle **handle)
参数说明
返回值说明
返回0表示成功,返回其他值表示失败,请参见aclError。