Sets the tensor data.
void SetData(TensorData &&data)
Data to be set.
For details about the definition of the TensorData type, see TensorData.
None
Tensor t = {{}, {}, {}, {}, nullptr}; void *a = &t; TensorData td(a, nullptr); t.SetData(std::move(td));