/cxxtorch

A demo using PyTorch C++ functional API

Primary LanguageC++

cxxtorch

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.

Build

Please install Xcode and make. You don't need Python or other weird stuff.

make

Run

./learn