Overview
TensorV2 is a tensor management class, which is used to store and perform operations on tensor data. This class records the shape, step, offset, data format, data type, and storage location of a tensor, and provides APIs for accessing data addresses, computing data sizes, and more. Compared with the Tensor class, TensorV2 additionally carries the step and offset information.
This API is reserved for future use and not supported in the current version.
Header File to Be Included
1 | #include <tensor.h> |
Parent topic: TensorV2