- The simplest example:
Simplest Possible Example
- A minimal example using a dynamically linked C++ library with a C++ class:
Dynamic Linking OOP Example
. - An example showing how this all can be used to enable C to use PyTorch:
LibTorch Example
The Makefiles are commented with some explanation and more info on this topic can be found here.