销毁通过aclCreateTensor接口创建的aclTensor。
aclnnStatus aclDestroyTensor(const aclTensor *tensor)
参数名
输入/输出
说明
tensor
输入
需要销毁的tensor指针。
返回0表示成功,返回其他值表示失败,返回码列表参见公共接口返回码。
无
接口调用请参考aclCreateTensor的调用示例。