Skip to content

wangkuiyi/cxxtorch

Repository files navigation

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

About

A demo using PyTorch C++ functional API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published