README ¶ go-onnx Golang binding of ONNX and ONNX-ML. Usage Export ONNX-ML IR by using sklearn-onnx Binds it to Go's struct like following code: package main import ( "fmt" "io/ioutil" "log" "github.com/c-bata/go-onnx/onnx" ) func main() { b, err := ioutil.ReadFile("./rf_iris.onnx") if err != nil { log.Fatalln(err) } p := &onnx.ModelProto{} if err := p.XXX_Unmarshal(b); err != nil { log.Fatalln(err) } fmt.Printf("%#v", p) } License MIT License Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files doc.go Directories ¶ Show internal Expand all Path Synopsis _examples linearregression randomforest _proto onnx onnx_ml Click to show internal directories. Click to hide internal directories.