Hi.
I have the same problem, I need to use PyTorch C++ API in an existing MFC application. No problem in a console application, but somehow MFC seems to be incompatible with the PyTorch C++ API.
Did you manage to solve the problem? Any idea?
Many thanks and kind regards,
VALERIO