Go binding for Onnxruntime C++ API. This is https://github.com/c3sr/go-onnxruntime fork.
The binding requires Onnxruntime C++.
The Go binding for Onnxruntime C++ API in this repository is built based on Onnxruntime v1.15.1.
To install Onnxruntime C++ on your system, download runtime libraries from Onnxruntime.
The Onnxruntime C++ libraries are expected to be under /usr/lib/.
If you want to change the paths to the Onnxruntime C++ API, you need to also change the corresponding paths in lib.go .
Some of the logic of conversion between Go types and Ort::Values is borrowed from go-pytorch.