PyTorch Forums
Initialise c++ tensor from pybind11 numpy array
Omroth
(Ian)
January 29, 2021, 9:39am
1
Is it possible to initialise a torch::Tensor from a py::array_t in one call?
Thanks,
Ian