aclDestroyTensorList
Description
Destroys the aclTensorList created by calling aclCreateTensorList.
Prototype
aclnnStatus aclDestroyTensorList(const aclTensorList *array)
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
array |
Input |
aclTensorList to be destroyed. |
Return Value
0 on success; otherwise, failure. For details about the return codes, see Common API Return Codes.
Constraints
No repeated destruction required for aclTensor in aclTensorList.
Example
For details about API calls, see the call examples in aclCreateTensorList.
Parent topic: Common APIs