Function MSTensorGetDataType

Function Documentation

MSDataType MSTensorGetDataType(const MSTensorHandle tensor)

Obtain the data type of the tensor.

Parameters

tensor[in] Tensor object handle.

Returns

The date type of the tensor.