Running a vocoder in C++

Hello,
I have a mel file which I generated using Python and saved using torch.save().
Now i want to load this file in C++ into a torch:;Tesnsor.
I looked at from_blob but it does not seem to fit this scenario.
How can I load such a file (or pickled npy?) from disk into a tensor in C++?

Thanks

I’m not sure, if this comment is still up-to-date, but if so you should use torch.jit.save on the Python side and load it via torch::load in C++.