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.
1
size_t TensorBase::GetSize() const;
Data Structure
Description
size_t
Returns a specific value.