Function MSTensorSetData

Function Documentation

void MSTensorSetData(MSTensorHandle tensor, void *data)

Obtain the data for the tensor.

参数
  • tensor[in] Tensor object handle.

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