Module: OnnxRuntime
- Defined in:
- lib/onnxruntime.rb,
lib/onnxruntime/ffi.rb,
lib/onnxruntime/model.rb,
lib/onnxruntime/utils.rb,
lib/onnxruntime/version.rb,
lib/onnxruntime/datasets.rb,
lib/onnxruntime/ort_value.rb,
lib/onnxruntime/inference_session.rb
Defined Under Namespace
Modules: Datasets, FFI, Utils Classes: Error, InferenceSession, Model, OrtValue
Constant Summary collapse
- VERSION =
"0.9.3"
Class Attribute Summary collapse
-
.ffi_lib ⇒ Object
Returns the value of attribute ffi_lib.
Class Method Summary collapse
Class Attribute Details
.ffi_lib ⇒ Object
Returns the value of attribute ffi_lib.
16 17 18 |
# File 'lib/onnxruntime.rb', line 16 def ffi_lib @ffi_lib end |
Class Method Details
.lib_version ⇒ Object
37 38 39 |
# File 'lib/onnxruntime.rb', line 37 def self.lib_version FFI.OrtGetApiBase[:GetVersionString].call.read_string end |