While this is easily possible in Pytorch, how do I a save a tensor as a numpy array in C++?
torch::save() method saves as a zip archive data, and I don’t know how to convert this to numpy array.
torch::save(combined_tensor,“combined_tensor.pt”);
*$file combined_tensor.pt *
combined_tensor.pt: Zip archive data
Any help/pointers ??
Regards
JK