onnxruntime 0.6.0 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b0bef4682d8d44fb3cfd3fa619c1e7e620943014a22f259e14bfa1692dbe2ef
4
- data.tar.gz: bfe59759c177613806ab0ddd97c4d8a68a7e3915299d81aab3e9d369ce672918
3
+ metadata.gz: 1bac0cf274d3b553fa451b1a2a3f6ad38266c69eb44f836f832889945b2704e1
4
+ data.tar.gz: ca9e4c8db2a8319cd07d13d2ee004ecf24eaa0193319251331fc0c1af80337d3
5
5
  SHA512:
6
- metadata.gz: f0dfc6c0a91621b5637e56061b40ba26648a7e538d84cb2c135a06c1832c9f71aba2e7fb7ab849750756540d02632726b3f45732a8c50649ca4ace03befbe086
7
- data.tar.gz: 59a01f8d955f9d31f35864a9217fcf79eb35876229e749c5c50b4572903d9dc3e312a4a7a55612e9c36e3095a797da58637442ac0bb191adcb743b62fefb0905
6
+ metadata.gz: f9a624c11d17a10750689f9edfa88023450ba48322b6639300829b7cdb9ad4834176820cacf0bb22c6b74bedd7505fbd708310d8bedf54c5d9778c21778f1c75
7
+ data.tar.gz: d7310e147eeb0bdda3c9103583b43050b3497419acaa0a1433c1894af0a436b4db9995fc144e969b522b9e5c425184d16dc1ccd593de5ca3909aa93c3cad7027
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## 0.6.4 (2021-09-22)
2
+
3
+ - Updated ONNX Runtime to 1.9.0
4
+
5
+ ## 0.6.3 (2021-07-08)
6
+
7
+ - Updated ONNX Runtime to 1.8.1
8
+
9
+ ## 0.6.2 (2021-06-03)
10
+
11
+ - Updated ONNX Runtime to 1.8.0
12
+
13
+ ## 0.6.1 (2021-05-17)
14
+
15
+ - Fixed memory errors
16
+
1
17
  ## 0.6.0 (2021-03-14)
2
18
 
3
19
  - Updated ONNX Runtime to 1.7.0
@@ -81,13 +81,16 @@ module OnnxRuntime
81
81
 
82
82
  # TODO support logid
83
83
  def run(output_names, input_feed, log_severity_level: nil, log_verbosity_level: nil, logid: nil, terminate: nil, output_type: :ruby)
84
- input_tensor = create_input_tensor(input_feed)
84
+ # pointer references
85
+ refs = []
86
+
87
+ input_tensor = create_input_tensor(input_feed, refs)
85
88
 
86
89
  output_names ||= @outputs.map { |v| v[:name] }
87
90
 
88
91
  output_tensor = ::FFI::MemoryPointer.new(:pointer, outputs.size)
89
- input_node_names = create_node_names(input_feed.keys.map(&:to_s))
90
- output_node_names = create_node_names(output_names.map(&:to_s))
92
+ input_node_names = create_node_names(input_feed.keys.map(&:to_s), refs)
93
+ output_node_names = create_node_names(output_names.map(&:to_s), refs)
91
94
 
92
95
  # run options
93
96
  run_options = ::FFI::MemoryPointer.new(:pointer)
@@ -174,7 +177,7 @@ module OnnxRuntime
174
177
 
175
178
  private
176
179
 
177
- def create_input_tensor(input_feed)
180
+ def create_input_tensor(input_feed, refs)
178
181
  allocator_info = ::FFI::MemoryPointer.new(:pointer)
179
182
  check_status api[:CreateCpuMemoryInfo].call(1, 0, allocator_info)
180
183
  input_tensor = ::FFI::MemoryPointer.new(:pointer, input_feed.size)
@@ -201,19 +204,21 @@ module OnnxRuntime
201
204
  input_node_dims.write_array_of_int64(shape)
202
205
 
203
206
  if inp[:type] == "tensor(string)"
204
- if numo_array?(input)
205
- input_tensor_size = input.size
206
- input_tensor_values = ::FFI::MemoryPointer.new(:pointer, input.size)
207
- input_tensor_values.write_array_of_pointer(input_tensor_size.times.map { |i| ::FFI::MemoryPointer.from_string(input[i]) })
208
- else
209
- flat_input = input.flatten.to_a
210
- input_tensor_size = flat_input.size
211
- input_tensor_values = ::FFI::MemoryPointer.new(:pointer, input_tensor_size)
212
- input_tensor_values.write_array_of_pointer(flat_input.map { |v| ::FFI::MemoryPointer.from_string(v) })
213
- end
207
+ str_ptrs =
208
+ if numo_array?(input)
209
+ input.size.times.map { |i| ::FFI::MemoryPointer.from_string(input[i]) }
210
+ else
211
+ input.flatten.map { |v| ::FFI::MemoryPointer.from_string(v) }
212
+ end
213
+
214
+ input_tensor_values = ::FFI::MemoryPointer.new(:pointer, str_ptrs.size)
215
+ input_tensor_values.write_array_of_pointer(str_ptrs)
216
+
214
217
  type_enum = FFI::TensorElementDataType[:string]
215
218
  check_status api[:CreateTensorAsOrtValue].call(@allocator.read_pointer, input_node_dims, shape.size, type_enum, input_tensor[idx])
216
- check_status api[:FillStringTensor].call(input_tensor[idx].read_pointer, input_tensor_values, input_tensor_size)
219
+ check_status api[:FillStringTensor].call(input_tensor[idx].read_pointer, input_tensor_values, str_ptrs.size)
220
+
221
+ refs << str_ptrs
217
222
  else
218
223
  tensor_type = tensor_types[inp[:type]]
219
224
 
@@ -236,15 +241,23 @@ module OnnxRuntime
236
241
  end
237
242
 
238
243
  check_status api[:CreateTensorWithDataAsOrtValue].call(allocator_info.read_pointer, input_tensor_values, input_tensor_values.size, input_node_dims, shape.size, type_enum, input_tensor[idx])
244
+
245
+ refs << input_node_dims
246
+ refs << input_tensor_values
239
247
  end
240
248
  end
241
249
 
250
+ refs << allocator_info
251
+
242
252
  input_tensor
243
253
  end
244
254
 
245
- def create_node_names(names)
255
+ def create_node_names(names, refs)
256
+ str_ptrs = names.map { |v| ::FFI::MemoryPointer.from_string(v) }
257
+ refs << str_ptrs
258
+
246
259
  ptr = ::FFI::MemoryPointer.new(:pointer, names.size)
247
- ptr.write_array_of_pointer(names.map { |v| ::FFI::MemoryPointer.from_string(v) })
260
+ ptr.write_array_of_pointer(str_ptrs)
248
261
  ptr
249
262
  end
250
263
 
@@ -1,3 +1,3 @@
1
1
  module OnnxRuntime
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.4"
3
3
  end
@@ -3868,7 +3868,7 @@ _____
3868
3868
  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3869
3869
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3870
3870
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3871
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3871
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3872
3872
  _____
3873
3873
  huggingface/transformers
3874
3874
 
@@ -4420,3 +4420,358 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4420
4420
  DEALINGS IN THE SOFTWARE.
4421
4421
 
4422
4422
  _____
4423
+
4424
+ DLPack
4425
+
4426
+ https://github.com/dmlc/dlpack
4427
+
4428
+ Apache License
4429
+ Version 2.0, January 2004
4430
+ http://www.apache.org/licenses/
4431
+
4432
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4433
+
4434
+ 1. Definitions.
4435
+
4436
+ "License" shall mean the terms and conditions for use, reproduction,
4437
+ and distribution as defined by Sections 1 through 9 of this document.
4438
+
4439
+ "Licensor" shall mean the copyright owner or entity authorized by
4440
+ the copyright owner that is granting the License.
4441
+
4442
+ "Legal Entity" shall mean the union of the acting entity and all
4443
+ other entities that control, are controlled by, or are under common
4444
+ control with that entity. For the purposes of this definition,
4445
+ "control" means (i) the power, direct or indirect, to cause the
4446
+ direction or management of such entity, whether by contract or
4447
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
4448
+ outstanding shares, or (iii) beneficial ownership of such entity.
4449
+
4450
+ "You" (or "Your") shall mean an individual or Legal Entity
4451
+ exercising permissions granted by this License.
4452
+
4453
+ "Source" form shall mean the preferred form for making modifications,
4454
+ including but not limited to software source code, documentation
4455
+ source, and configuration files.
4456
+
4457
+ "Object" form shall mean any form resulting from mechanical
4458
+ transformation or translation of a Source form, including but
4459
+ not limited to compiled object code, generated documentation,
4460
+ and conversions to other media types.
4461
+
4462
+ "Work" shall mean the work of authorship, whether in Source or
4463
+ Object form, made available under the License, as indicated by a
4464
+ copyright notice that is included in or attached to the work
4465
+ (an example is provided in the Appendix below).
4466
+
4467
+ "Derivative Works" shall mean any work, whether in Source or Object
4468
+ form, that is based on (or derived from) the Work and for which the
4469
+ editorial revisions, annotations, elaborations, or other modifications
4470
+ represent, as a whole, an original work of authorship. For the purposes
4471
+ of this License, Derivative Works shall not include works that remain
4472
+ separable from, or merely link (or bind by name) to the interfaces of,
4473
+ the Work and Derivative Works thereof.
4474
+
4475
+ "Contribution" shall mean any work of authorship, including
4476
+ the original version of the Work and any modifications or additions
4477
+ to that Work or Derivative Works thereof, that is intentionally
4478
+ submitted to Licensor for inclusion in the Work by the copyright owner
4479
+ or by an individual or Legal Entity authorized to submit on behalf of
4480
+ the copyright owner. For the purposes of this definition, "submitted"
4481
+ means any form of electronic, verbal, or written communication sent
4482
+ to the Licensor or its representatives, including but not limited to
4483
+ communication on electronic mailing lists, source code control systems,
4484
+ and issue tracking systems that are managed by, or on behalf of, the
4485
+ Licensor for the purpose of discussing and improving the Work, but
4486
+ excluding communication that is conspicuously marked or otherwise
4487
+ designated in writing by the copyright owner as "Not a Contribution."
4488
+
4489
+ "Contributor" shall mean Licensor and any individual or Legal Entity
4490
+ on behalf of whom a Contribution has been received by Licensor and
4491
+ subsequently incorporated within the Work.
4492
+
4493
+ 2. Grant of Copyright License. Subject to the terms and conditions of
4494
+ this License, each Contributor hereby grants to You a perpetual,
4495
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
4496
+ copyright license to reproduce, prepare Derivative Works of,
4497
+ publicly display, publicly perform, sublicense, and distribute the
4498
+ Work and such Derivative Works in Source or Object form.
4499
+
4500
+ 3. Grant of Patent License. Subject to the terms and conditions of
4501
+ this License, each Contributor hereby grants to You a perpetual,
4502
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
4503
+ (except as stated in this section) patent license to make, have made,
4504
+ use, offer to sell, sell, import, and otherwise transfer the Work,
4505
+ where such license applies only to those patent claims licensable
4506
+ by such Contributor that are necessarily infringed by their
4507
+ Contribution(s) alone or by combination of their Contribution(s)
4508
+ with the Work to which such Contribution(s) was submitted. If You
4509
+ institute patent litigation against any entity (including a
4510
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
4511
+ or a Contribution incorporated within the Work constitutes direct
4512
+ or contributory patent infringement, then any patent licenses
4513
+ granted to You under this License for that Work shall terminate
4514
+ as of the date such litigation is filed.
4515
+
4516
+ 4. Redistribution. You may reproduce and distribute copies of the
4517
+ Work or Derivative Works thereof in any medium, with or without
4518
+ modifications, and in Source or Object form, provided that You
4519
+ meet the following conditions:
4520
+
4521
+ (a) You must give any other recipients of the Work or
4522
+ Derivative Works a copy of this License; and
4523
+
4524
+ (b) You must cause any modified files to carry prominent notices
4525
+ stating that You changed the files; and
4526
+
4527
+ (c) You must retain, in the Source form of any Derivative Works
4528
+ that You distribute, all copyright, patent, trademark, and
4529
+ attribution notices from the Source form of the Work,
4530
+ excluding those notices that do not pertain to any part of
4531
+ the Derivative Works; and
4532
+
4533
+ (d) If the Work includes a "NOTICE" text file as part of its
4534
+ distribution, then any Derivative Works that You distribute must
4535
+ include a readable copy of the attribution notices contained
4536
+ within such NOTICE file, excluding those notices that do not
4537
+ pertain to any part of the Derivative Works, in at least one
4538
+ of the following places: within a NOTICE text file distributed
4539
+ as part of the Derivative Works; within the Source form or
4540
+ documentation, if provided along with the Derivative Works; or,
4541
+ within a display generated by the Derivative Works, if and
4542
+ wherever such third-party notices normally appear. The contents
4543
+ of the NOTICE file are for informational purposes only and
4544
+ do not modify the License. You may add Your own attribution
4545
+ notices within Derivative Works that You distribute, alongside
4546
+ or as an addendum to the NOTICE text from the Work, provided
4547
+ that such additional attribution notices cannot be construed
4548
+ as modifying the License.
4549
+
4550
+ You may add Your own copyright statement to Your modifications and
4551
+ may provide additional or different license terms and conditions
4552
+ for use, reproduction, or distribution of Your modifications, or
4553
+ for any such Derivative Works as a whole, provided Your use,
4554
+ reproduction, and distribution of the Work otherwise complies with
4555
+ the conditions stated in this License.
4556
+
4557
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
4558
+ any Contribution intentionally submitted for inclusion in the Work
4559
+ by You to the Licensor shall be under the terms and conditions of
4560
+ this License, without any additional terms or conditions.
4561
+ Notwithstanding the above, nothing herein shall supersede or modify
4562
+ the terms of any separate license agreement you may have executed
4563
+ with Licensor regarding such Contributions.
4564
+
4565
+ 6. Trademarks. This License does not grant permission to use the trade
4566
+ names, trademarks, service marks, or product names of the Licensor,
4567
+ except as required for reasonable and customary use in describing the
4568
+ origin of the Work and reproducing the content of the NOTICE file.
4569
+
4570
+ 7. Disclaimer of Warranty. Unless required by applicable law or
4571
+ agreed to in writing, Licensor provides the Work (and each
4572
+ Contributor provides its Contributions) on an "AS IS" BASIS,
4573
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
4574
+ implied, including, without limitation, any warranties or conditions
4575
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
4576
+ PARTICULAR PURPOSE. You are solely responsible for determining the
4577
+ appropriateness of using or redistributing the Work and assume any
4578
+ risks associated with Your exercise of permissions under this License.
4579
+
4580
+ 8. Limitation of Liability. In no event and under no legal theory,
4581
+ whether in tort (including negligence), contract, or otherwise,
4582
+ unless required by applicable law (such as deliberate and grossly
4583
+ negligent acts) or agreed to in writing, shall any Contributor be
4584
+ liable to You for damages, including any direct, indirect, special,
4585
+ incidental, or consequential damages of any character arising as a
4586
+ result of this License or out of the use or inability to use the
4587
+ Work (including but not limited to damages for loss of goodwill,
4588
+ work stoppage, computer failure or malfunction, or any and all
4589
+ other commercial damages or losses), even if such Contributor
4590
+ has been advised of the possibility of such damages.
4591
+
4592
+ 9. Accepting Warranty or Additional Liability. While redistributing
4593
+ the Work or Derivative Works thereof, You may choose to offer,
4594
+ and charge a fee for, acceptance of support, warranty, indemnity,
4595
+ or other liability obligations and/or rights consistent with this
4596
+ License. However, in accepting such obligations, You may act only
4597
+ on Your own behalf and on Your sole responsibility, not on behalf
4598
+ of any other Contributor, and only if You agree to indemnify,
4599
+ defend, and hold each Contributor harmless for any liability
4600
+ incurred by, or claims asserted against, such Contributor by reason
4601
+ of your accepting any such warranty or additional liability.
4602
+
4603
+ END OF TERMS AND CONDITIONS
4604
+
4605
+ APPENDIX: How to apply the Apache License to your work.
4606
+
4607
+ To apply the Apache License to your work, attach the following
4608
+ boilerplate notice, with the fields enclosed by brackets "{}"
4609
+ replaced with your own identifying information. (Don't include
4610
+ the brackets!) The text should be enclosed in the appropriate
4611
+ comment syntax for the file format. We also recommend that a
4612
+ file or class name and description of purpose be included on the
4613
+ same "printed page" as the copyright notice for easier
4614
+ identification within third-party archives.
4615
+
4616
+ Copyright 2017 by Contributors
4617
+
4618
+ Licensed under the Apache License, Version 2.0 (the "License");
4619
+ you may not use this file except in compliance with the License.
4620
+ You may obtain a copy of the License at
4621
+
4622
+ http://www.apache.org/licenses/LICENSE-2.0
4623
+
4624
+ Unless required by applicable law or agreed to in writing, software
4625
+ distributed under the License is distributed on an "AS IS" BASIS,
4626
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4627
+ See the License for the specific language governing permissions and
4628
+ limitations under the License.
4629
+
4630
+ _____
4631
+
4632
+ emsdk
4633
+
4634
+ MIT/Expat license
4635
+
4636
+ https://github.com/emscripten-core/emsdk
4637
+
4638
+ Copyright (c) 2018 Emscripten authors (see AUTHORS in Emscripten)
4639
+
4640
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4641
+ of this software and associated documentation files (the "Software"), to deal
4642
+ in the Software without restriction, including without limitation the rights
4643
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
4644
+ copies of the Software, and to permit persons to whom the Software is
4645
+ furnished to do so, subject to the following conditions:
4646
+
4647
+ The above copyright notice and this permission notice shall be included in all
4648
+ copies or substantial portions of the Software.
4649
+
4650
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4651
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4652
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
4653
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4654
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4655
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4656
+ SOFTWARE.
4657
+
4658
+ ----------------------------------------------------------------------------
4659
+
4660
+ This is the MIT/Expat Licence. For more information see:
4661
+
4662
+ 1. http://www.opensource.org/licenses/mit-license.php
4663
+
4664
+ 2. http://en.wikipedia.org/wiki/MIT_License
4665
+
4666
+ _____
4667
+
4668
+ coremltools
4669
+
4670
+ BSD-3-Clause License
4671
+
4672
+ https://github.com/apple/coremltools
4673
+
4674
+ Copyright (c) 2020, Apple Inc. All rights reserved.
4675
+
4676
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4677
+
4678
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
4679
+
4680
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
4681
+
4682
+ 3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
4683
+
4684
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4685
+ © 2021 GitHub, Inc.
4686
+
4687
+ _____
4688
+
4689
+ react-native
4690
+
4691
+ MIT License
4692
+
4693
+ https://github.com/facebook/react-native
4694
+
4695
+ Copyright (c) Facebook, Inc. and its affiliates.
4696
+
4697
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4698
+ of this software and associated documentation files (the "Software"), to deal
4699
+ in the Software without restriction, including without limitation the rights
4700
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
4701
+ copies of the Software, and to permit persons to whom the Software is
4702
+ furnished to do so, subject to the following conditions:
4703
+
4704
+ The above copyright notice and this permission notice shall be included in all
4705
+ copies or substantial portions of the Software.
4706
+
4707
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4708
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4709
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
4710
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4711
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4712
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4713
+ SOFTWARE.
4714
+
4715
+ _____
4716
+
4717
+ pytorch/cpuinfo
4718
+
4719
+ BSD 2-Clause "Simplified" License
4720
+
4721
+ https://github.com/pytorch/cpuinfo
4722
+
4723
+ Copyright (c) 2019 Google LLC
4724
+ Copyright (c) 2017-2018 Facebook Inc.
4725
+ Copyright (C) 2012-2017 Georgia Institute of Technology
4726
+ Copyright (C) 2010-2012 Marat Dukhan
4727
+
4728
+ All rights reserved.
4729
+
4730
+ Redistribution and use in source and binary forms, with or without
4731
+ modification, are permitted provided that the following conditions are met:
4732
+
4733
+ * Redistributions of source code must retain the above copyright notice, this
4734
+ list of conditions and the following disclaimer.
4735
+
4736
+ * Redistributions in binary form must reproduce the above copyright notice,
4737
+ this list of conditions and the following disclaimer in the documentation
4738
+ and/or other materials provided with the distribution.
4739
+
4740
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
4741
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4742
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4743
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
4744
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4745
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
4746
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
4747
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
4748
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4749
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4750
+
4751
+ _____
4752
+
4753
+ SQLite Is Public Domain
4754
+
4755
+ All of the code and documentation in SQLite has been dedicated to the public
4756
+ domain by the authors. All code authors, and representatives of the companies
4757
+ they work for, have signed affidavits dedicating their contributions to the
4758
+ public domain and originals of those signed affidavits are stored in a firesafe
4759
+ at the main offices of Hwaci. Anyone is free to copy, modify, publish, use,
4760
+ compile, sell, or distribute the original SQLite code, either in source code
4761
+ form or as a compiled binary, for any purpose, commercial or non-commercial,
4762
+ and by any means.
4763
+
4764
+ The previous paragraph applies to the deliverable code and documentation in
4765
+ SQLite - those parts of the SQLite library that you actually bundle and ship
4766
+ with a larger application. Some scripts used as part of the build process (for
4767
+ example the "configure" scripts generated by autoconf) might fall under other
4768
+ open-source licenses. Nothing from these build scripts ever reaches the final
4769
+ deliverable SQLite library, however, and so the licenses associated with those
4770
+ scripts should not be a factor in assessing your rights to copy and use the
4771
+ SQLite library.
4772
+
4773
+ All of the deliverable code in SQLite has been written from scratch. No code
4774
+ has been taken from other projects or from the open internet. Every line of
4775
+ code can be traced back to its original author, and all of those authors have
4776
+ public domain dedications on file. So the SQLite code base is clean and is
4777
+ uncontaminated with licensed code from other projects.
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onnxruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -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: 3.2.3
67
+ rubygems_version: 3.2.22
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: High performance scoring engine for ML models