Function MSTensorGetFormat

Function Documentation

MSFormat MSTensorGetFormat(const MSTensorHandle tensor)

Obtain the format of the tensor.

参数

tensor[in] Tensor object handle.

返回

The format of the tensor.