aclDestroyTensor 函数功能销毁通过aclCreateTensor接口创建的aclTensor。 函数原型aclnnStatus aclDestroyTensor(const aclTensor *tensor) 参数说明 参数名 输入/输出 说明 tensor 输入 需要销毁的tensor指针。 返回值说明返回0表示成功,返回其他值表示失败。 父主题: 基础接口