{"id":15973713,"url":"https://github.com/c-bata/go-onnx","last_synced_at":"2026-02-08T18:03:40.347Z","repository":{"id":57624766,"uuid":"188104822","full_name":"c-bata/go-onnx","owner":"c-bata","description":"Golang binding of ONNX and ONNX-ML.","archived":false,"fork":false,"pushed_at":"2019-05-22T19:56:56.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T16:28:25.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c-bata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-22T19:56:37.000Z","updated_at":"2022-03-08T10:32:02.000Z","dependencies_parsed_at":"2022-08-26T22:23:02.665Z","dependency_job_id":null,"html_url":"https://github.com/c-bata/go-onnx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/c-bata/go-onnx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-bata%2Fgo-onnx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-bata%2Fgo-onnx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-bata%2Fgo-onnx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-bata%2Fgo-onnx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c-bata","download_url":"https://codeload.github.com/c-bata/go-onnx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-bata%2Fgo-onnx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266194215,"owners_count":23890956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T21:06:37.295Z","updated_at":"2026-02-08T18:03:40.248Z","avatar_url":"https://github.com/c-bata.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-onnx\n\nGolang binding of ONNX and ONNX-ML.\n\n## Usage\n\n1. Export ONNX-ML IR by using [sklearn-onnx](https://github.com/onnx/sklearn-onnx)\n2. Binds it to Go's struct like following code:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"log\"\n\n\t\"github.com/c-bata/go-onnx/onnx\"\n)\n\nfunc main() {\n\tb, err := ioutil.ReadFile(\"./rf_iris.onnx\")\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\tp := \u0026onnx.ModelProto{}\n\tif err := p.XXX_Unmarshal(b); err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\n\tfmt.Printf(\"%#v\", p)\n}\n```\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-bata%2Fgo-onnx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-bata%2Fgo-onnx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-bata%2Fgo-onnx/lists"}