FreeTensor
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
x |
|
x |
|
x |
|
x |
|
x |
|
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.
Parent topic: TSCM