aclDestroyTensor

Function Usage

Destroys the aclTensor created by calling the aclCreateTensor API.

Prototype

aclnnStatus aclDestroyTensor(const aclTensor *tensor)

Parameter Description

Parameter

Input/Output

Description

tensor

Input

Pointer to the tensor to be destroyed.

Returns

0 on success; else, failure.