An open API service indexing awesome lists of open source software.

https://github.com/kautenja/gotorch

Tensors and Dynamic neural networks in Golang
https://github.com/kautenja/gotorch

Last synced: 3 months ago
JSON representation

Tensors and Dynamic neural networks in Golang

Awesome Lists containing this project

README

          


GoTorch

[![GoTorch](https://godoc.org/github.com/narqo/go-badge?status.svg)](https://pkg.go.dev/github.com/Kautenja/gotorch)
[![Go Report Card](https://goreportcard.com/badge/github.com/Kautenja/gotorch)](https://goreportcard.com/report/github.com/Kautenja/gotorch)

GoTorch is a Golang front-end for [pytorch](https://github.com/pytorch/pytorch).

## Installation

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

```shell
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](https://github.com/Kautenja/gotorch-example) for a working
demonstration of this library.