销毁通过aclCreateTensorList接口创建的aclTensorList。
aclnnStatus aclDestroyTensorList(const aclTensorList *array)
参数名 |
输入/输出 |
说明 |
|---|---|---|
array |
输入 |
需要销毁的aclTensorList。 |
返回0表示成功,返回其他值表示失败,返回码列表参见公共接口返回码。
对于aclTensorList内的aclTensor不需要重复释放。
接口调用请参考aclCreateTensorList的调用示例。