aclDestroyTensor
Function Usage
Destroys the aclTensor created by calling the aclCreateTensor API.
Prototype
aclnnStatus aclDestroyTensor(const aclTensor *tensor)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Input |
Pointer to the tensor to be destroyed. |
Returns
0 on success; else, failure.
Parent topic: Basic APIs