Using custom data type, instead of double, with a PyTorch model in C++
I’m trying to understand if it’s possible to use a custom data type with a PyTorch model that has been trained in Python then exported to C++. I’ve got my model all up and running in C++ when the input data comes from a standard double array, like so:
Pytorch C++ API WIN32 Linkage
I am trying to compile pytorch c++ API in WIN32.
the code dose compile with small modification. but fails in linkage, I downloaded
the libs from : https://pytorch.org/