gotorch
To build cgotorch, the wrapper of libtorch in Cgo, run the following command
cd cgotorch
make
To run the example, run the following command
go run 01-backward.go
To build cgotorch, the wrapper of libtorch in Cgo, run the following command
cd cgotorch
make
To run the example, run the following command
go run 01-backward.go