How can I read the .pt file(which save by python script) in C++ by torch::load from libtorch?
At first, I have trained a model in python, and have already saved the weight file in .pt format.
So is it possible I read this .pt file in C++ using libtorch with torch::load?
Thanks