Function MSTensorGetDataSize

Function Documentation

size_t MSTensorGetDataSize(const MSTensorHandle tensor)

Obtain the data size fo the tensor.

Parameters

tensor[in] Tensor object handle.

Returns

The data size of the tensor.