Function tvm::ffi::GetDataSize(const Tensor&)

Function tvm::ffi::GetDataSize(const Tensor&)#

Function Documentation#

inline size_t tvm::ffi::GetDataSize(const Tensor &tensor)#

Get the data size of the Tensor.

Parameters:

tensor – The input Tensor.

Returns:

The data size of the Tensor.