Hello.
I am prototyping using Python/PyTorch but, ultimately, it is best for my project to integrate into a C++ application.
I was hoping to use our beloved PyTorch from C++ but it appears much of the convenience functions (e.g. making the ANN, computing errors, calling backward on Variables) are implemented in Python but the data structures and math are in C/C++.  Is this correct?
Unfortunately, in our application, I need to train the ANN from C++ so I have to do more than load an ANN and push data through it.  Is this THNN library a decent bet if I am already familiar with and fond of PyTorch?  Are there any decent example code snippits?
Thank you for the assistance.

dan