函数:create_handle_for_cast
C函数原型  | 
aclError aclopCreateHandleForCast(const aclTensorDesc *srcDesc, const aclTensorDesc *dstDesc, uint8_t truncate, aclopHandle **handle)  | 
|---|---|
Python函数  | 
handle, ret = acl.op.create_handle_for_cast(src_desc, dst_desc, truncate)  | 
函数功能  | 
创建数据类型转换的handle。 创建handle成功后,需调用acl.op.execute_with_handle接口执行算子。  | 
输入说明  | 
src_desc:int,输入Tensor描述指针地址。 dst_desc:int,输出Tensor描述指针地址。 truncate:int,预留。  | 
返回值说明  | 
handle:int,输出的handle的指针地址。 ret:int,错误码。 
  | 
约束说明  | 
无  | 
父主题: CBLAS接口(blas)