├── .github └── workflows │ └── build.yml ├── .gitignore ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── datasets ├── logreg_iris.onnx ├── mul_1.onnx └── sigmoid.onnx ├── lib ├── onnxruntime.rb └── onnxruntime │ ├── datasets.rb │ ├── ffi.rb │ ├── inference_session.rb │ ├── model.rb │ ├── ort_value.rb │ ├── utils.rb │ └── version.rb ├── onnxruntime.gemspec ├── test ├── datasets_test.rb ├── inference_session_test.rb ├── model_test.rb ├── ort_value_test.rb ├── support │ ├── abs_free_dimensions.onnx │ ├── identity_string.onnx │ ├── lightgbm.onnx │ ├── logical_and.onnx │ ├── model.onnx │ ├── randomforest.onnx │ └── run.py └── test_helper.rb └── vendor ├── LICENSE └── ThirdPartyNotices.txt /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/Rakefile -------------------------------------------------------------------------------- /datasets/logreg_iris.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/datasets/logreg_iris.onnx -------------------------------------------------------------------------------- /datasets/mul_1.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/datasets/mul_1.onnx -------------------------------------------------------------------------------- /datasets/sigmoid.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/datasets/sigmoid.onnx -------------------------------------------------------------------------------- /lib/onnxruntime.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime.rb -------------------------------------------------------------------------------- /lib/onnxruntime/datasets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime/datasets.rb -------------------------------------------------------------------------------- /lib/onnxruntime/ffi.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime/ffi.rb -------------------------------------------------------------------------------- /lib/onnxruntime/inference_session.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime/inference_session.rb -------------------------------------------------------------------------------- /lib/onnxruntime/model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime/model.rb -------------------------------------------------------------------------------- /lib/onnxruntime/ort_value.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime/ort_value.rb -------------------------------------------------------------------------------- /lib/onnxruntime/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/lib/onnxruntime/utils.rb -------------------------------------------------------------------------------- /lib/onnxruntime/version.rb: -------------------------------------------------------------------------------- 1 | module OnnxRuntime 2 | VERSION = "0.10.1" 3 | end 4 | -------------------------------------------------------------------------------- /onnxruntime.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/onnxruntime.gemspec -------------------------------------------------------------------------------- /test/datasets_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/datasets_test.rb -------------------------------------------------------------------------------- /test/inference_session_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/inference_session_test.rb -------------------------------------------------------------------------------- /test/model_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/model_test.rb -------------------------------------------------------------------------------- /test/ort_value_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/ort_value_test.rb -------------------------------------------------------------------------------- /test/support/abs_free_dimensions.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/abs_free_dimensions.onnx -------------------------------------------------------------------------------- /test/support/identity_string.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/identity_string.onnx -------------------------------------------------------------------------------- /test/support/lightgbm.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/lightgbm.onnx -------------------------------------------------------------------------------- /test/support/logical_and.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/logical_and.onnx -------------------------------------------------------------------------------- /test/support/model.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/model.onnx -------------------------------------------------------------------------------- /test/support/randomforest.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/randomforest.onnx -------------------------------------------------------------------------------- /test/support/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/support/run.py -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /vendor/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/vendor/LICENSE -------------------------------------------------------------------------------- /vendor/ThirdPartyNotices.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ankane/onnxruntime-ruby/HEAD/vendor/ThirdPartyNotices.txt --------------------------------------------------------------------------------