Function MSTensorSetFormat

Function Documentation

void MSTensorSetFormat(MSTensorHandle tensor, MSFormat format)

Set the format for the tensor.

Parameters
  • tensor[in] Tensor object handle.

  • format[in] The format of the tensor.