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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35272e2e82bdf6fdd8e2d57dab537b4da40afb3565e95dcd79c360bbf98767d3
4
- data.tar.gz: 360a2031f97b70117da1f2db7723d1b9720b8689db9c22bc8fad816f6ad7b7f3
3
+ metadata.gz: 8c705ab84d5871b94d6f7e5b13bda6bb6ae326b6dfa8ae9c5403c9a4890650b6
4
+ data.tar.gz: 7ed76d2bf03ab2027bbe2812139c5d59b82c6cf62aa90b32751aa326015dde6e
5
5
  SHA512:
6
- metadata.gz: e8ad7bdd074887c37271e0b6096fabf6ff0624032d3a5ad0dd253ff4ff31c8be3b18bb4a48bed1fe68782f030513a57fc6cf0385a5411335ac336782ca801db1
7
- data.tar.gz: 3052ce14e8003ddf3fea47abb96186d994bfd6e9192937e65b9f45eea1587a4df718880cc2545b8dff76a5f5966720785f117225865372c8355f3449e446137d
6
+ metadata.gz: 48483602c64e48bb53ced1bfbd7a44b0ea622661d7f4cb98640548debc80d9d5ce5dd49eeba6198f8b5c4c58f368f2a6e7f0569d44acae15b39fa0d28ef13e0b
7
+ data.tar.gz: 6dafa974f92402caf8c8d67abcb7c8581e4722117619761b2f289d888e9b77b712bbb1f568075a383582bf0189d2e2278848fb0651355b27201c2592be82e5a4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.11.4 (2026-06-22)
2
+
3
+ - Updated ONNX Runtime to 1.27.0
4
+ - Added support for string keys in `map` outputs
5
+
1
6
  ## 0.11.3 (2026-05-08)
2
7
 
3
8
  - Updated ONNX Runtime to 1.26.0
@@ -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
- type_shape = Pointer.new(FFI.api[:ReleaseTensorTypeAndShapeInfo])
210
- Utils.check_status FFI.api[:GetTensorTypeAndShape].call(map_keys, type_shape.ref)
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
@@ -1,3 +1,3 @@
1
1
  module OnnxRuntime
2
- VERSION = "0.11.3"
2
+ VERSION = "0.11.4"
3
3
  end
Binary file
Binary file
Binary file
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.3
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.6
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: []