Skip to content

Kautenja/gotorch

Repository files navigation

GoTorch

GoTorch Go Report Card

GoTorch is a Golang front-end for pytorch.

Installation

GoTorch requires the installation of libtorch and libcgotorch (a C-binding written for CGo.) To install these libraries to /usr/local, use:

git clone --depth 1 --branch v1.11.0-0.1.5 https://github.com/Kautenja/gotorch /tmp/gotorch
/tmp/gotorch/install.sh
rm -rf /tmp/gotorch

You may refer to the example project for a working demonstration of this library.