Function MSTensorSetFormat

Function Documentation

void MSTensorSetFormat(MSTensorHandle tensor, MSFormat format)

Set the format for the tensor.

参数
  • tensor[in] Tensor object handle.

  • format[in] The format of the tensor.