FreeTensor

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

x

Atlas A2 training product/Atlas A2 inference product

x

Atlas 200I/500 A2 inference product

x

Atlas inference product AI Core

x

Atlas inference product Vector Core

x

Atlas training product

x

Function Usage

Releases a specified tensor in TSCM.

Prototype

1
2
template <typename T>
__aicore__ inline void FreeTensor(LocalTensor<T>& tensor)

Parameters

Parameter

Input/Output

Meaning

tensor

Input

Tensor to be released.

Constraints

None

Returns

None

Example

For details, see Example.