Function MSTensorSetDataType

Function Documentation

void MSTensorSetDataType(MSTensorHandle tensor, MSDataType type)

Set the data type for the tensor.

参数
  • tensor[in] Tensor object handle.

  • type[in] The data type of the tensor.