onnxruntime 0.11.3 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/onnxruntime/ort_value.rb +3 -16
- data/lib/onnxruntime/version.rb +1 -1
- data/vendor/libonnxruntime.arm64.dylib +0 -0
- data/vendor/libonnxruntime.arm64.so +0 -0
- data/vendor/libonnxruntime.so +0 -0
- data/vendor/onnxruntime.dll +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c705ab84d5871b94d6f7e5b13bda6bb6ae326b6dfa8ae9c5403c9a4890650b6
|
|
4
|
+
data.tar.gz: 7ed76d2bf03ab2027bbe2812139c5d59b82c6cf62aa90b32751aa326015dde6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48483602c64e48bb53ced1bfbd7a44b0ea622661d7f4cb98640548debc80d9d5ce5dd49eeba6198f8b5c4c58f368f2a6e7f0569d44acae15b39fa0d28ef13e0b
|
|
7
|
+
data.tar.gz: 6dafa974f92402caf8c8d67abcb7c8581e4722117619761b2f289d888e9b77b712bbb1f568075a383582bf0189d2e2278848fb0651355b27201c2592be82e5a4
|
data/CHANGELOG.md
CHANGED
|
@@ -206,22 +206,9 @@ module OnnxRuntime
|
|
|
206
206
|
map_values = Pointer.new(FFI.api[:ReleaseValue])
|
|
207
207
|
Utils.check_status FFI.api[:GetValue].call(out_ptr, 1, Utils.allocator, map_values.ref)
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
elem_type = ::FFI::MemoryPointer.new(:int)
|
|
213
|
-
Utils.check_status FFI.api[:GetTensorElementType].call(type_shape, elem_type)
|
|
214
|
-
|
|
215
|
-
# TODO support more types
|
|
216
|
-
elem_type = FFI::TensorElementDataType[elem_type.read_int]
|
|
217
|
-
case elem_type
|
|
218
|
-
when :int64
|
|
219
|
-
keys = create_from_onnx_value(map_keys, output_type)
|
|
220
|
-
values = create_from_onnx_value(map_values, output_type)
|
|
221
|
-
keys.zip(values).to_h
|
|
222
|
-
else
|
|
223
|
-
Utils.unsupported_type("element", elem_type)
|
|
224
|
-
end
|
|
209
|
+
keys = create_from_onnx_value(map_keys, output_type)
|
|
210
|
+
values = create_from_onnx_value(map_values, output_type)
|
|
211
|
+
keys.zip(values).to_h
|
|
225
212
|
else
|
|
226
213
|
Utils.unsupported_type("ONNX", type)
|
|
227
214
|
end
|
data/lib/onnxruntime/version.rb
CHANGED
|
Binary file
|
|
Binary file
|
data/vendor/libonnxruntime.so
CHANGED
|
Binary file
|
data/vendor/onnxruntime.dll
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: onnxruntime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: '0'
|
|
66
66
|
requirements: []
|
|
67
|
-
rubygems_version: 4.0.
|
|
67
|
+
rubygems_version: 4.0.14
|
|
68
68
|
specification_version: 4
|
|
69
69
|
summary: High performance scoring engine for ML models
|
|
70
70
|
test_files: []
|