Function tvm::ffi::GetDataSize(const DLTensor&)#
Defined in File tensor.h
Function Documentation#
-
inline size_t tvm::ffi::GetDataSize(const DLTensor &arr)#
return the size of data the DLTensor holds, in terms of number of bytes
- Parameters:
arr – the input DLTensor
- Returns:
number of bytes of data in the DLTensor.