Function MSTensorGetDataType

Function Documentation

MSDataType MSTensorGetDataType(const MSTensorHandle tensor)

Obtain the data type of the tensor.

参数

tensor[in] Tensor object handle.

返回

The date type of the tensor.