Function MSTensorSetData

Function Documentation

void MSTensorSetData(MSTensorHandle tensor, void *data)

Obtain the data for the tensor.

Parameters
  • tensor[in] Tensor object handle.

  • data[in] A pointer to the data of the tensor.