This is an simplified version of https://github.com/ljk53/pytorch-cpp -- the Makefile works only with macOS.
It shows how to write deep learning programs in C++ by calling the PyTorch C++ API.
Please install Xcode and make. You don't need Python or other weird stuff.
make
./learn