Function MSTensorGetFormat

Function Documentation

MSFormat MSTensorGetFormat(const MSTensorHandle tensor)

Obtain the format of the tensor.

Parameters

tensor[in] Tensor object handle.

Returns

The format of the tensor.