aclDestroyTensorList

Function

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.

Returns

0 on success; otherwise, failure. For details about the return codes, see Common APIs and Return Codes.

Constraints

No repeated destruction required for aclTensor in aclTensorList.

Call Example

For details about API calls, see the call examples in aclCreateTensorList.