GetSize
Function Usage
Obtains the memory size corresponding to the tensor data.
The size must be the same as the actual memory size. Otherwise, a core dump may occur.
Prototype
1 | size_t TensorBase::GetSize() const; |
Response Parameters
Data Structure |
Description |
|---|---|
size_t |
Returns a specific value. |
Parent topic: TensorBase