onnx2torch2

View on PyPIReverse Dependencies (0)

2.2.0 onnx2torch2-2.2.0-py3-none-any.whl

Wheel Details

Project: onnx2torch2
Version: 2.2.0
Filename: onnx2torch2-2.2.0-py3-none-any.whl
Download: [link]
Size: 83327
MD5: 5ac3e36023d5e34d5364bbf434e87307
SHA256: 29fdff66fbd8888a27381971f8ebaebbc1efad0d7d86bedec42290759bad269d
Uploaded: 2024-11-08 19:33:09 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: onnx2torch2
Version: 2.2.0
Summary: ONNX to PyTorch converter
Author-Email: untetherai <info[at]untether.ai>
Project-Url: Repository, https://github.com/untetherai/onnx2torch2
Project-Url: Issues, https://github.com/untetherai/onnx2torch2/issues
License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2023 ENOT LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Keywords: AI,onnx,torch,onnx2torch2,converters
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
Requires-Dist: numpy (>=1.16.4)
Requires-Dist: onnx (>=1.9.0)
Requires-Dist: torch (>=1.8.0)
Requires-Dist: torchvision (>=0.9.0)
Requires-Dist: Pillow; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: googledrivedownloader; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: onnxruntime; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: pylint; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: requests; extra == "dev"
Requires-Dist: tqdm; extra == "dev"
Provides-Extra: dev
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 9122 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.3.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
onnx2torch2/__init__.py sha256=w7j8GUEZNX-sBkuEHKwP1AL_Xc6JN6gS5qWjC-38mag 42
onnx2torch2/converter.py sha256=EToah9fOKadfkYcwDhOGq6aDpN1qpLnpU5fkxgqtbKQ 7001
onnx2torch2/onnx_graph.py sha256=Mbp_x5o7WuhiCHR0inzjymYlC-zOMIFl2AqZAiUjjJM 4375
onnx2torch2/onnx_node.py sha256=j2mwC-RdZ01MlXNMGpoddsOLbr-ntnrjy7CHjXRz5ow 2621
onnx2torch2/onnx_tensor.py sha256=lDLbuQ9xaYn6FaZlD5aa3i7hXMQR5-tPp6KTCZoF9b8 1241
onnx2torch2/node_converters/__init__.py sha256=oVVw1lcl_OhE8FuQJUSW8M3i8lcaDjFb87H-nGIDibU 3021
onnx2torch2/node_converters/activations.py sha256=3AUC9peROfACvhb2JPFalF0xGiwJ6SIJ35PhPBRHj74 9229
onnx2torch2/node_converters/arg_extrema.py sha256=vrzhK7X45f30F9vslvCBx3e59Iq9MJqhcxTV39hxrZU 3341
onnx2torch2/node_converters/average_pool.py sha256=h0N0xuKmzRU8ZDBZ6AWAzr83HSH2LUyanEmIvlBet3M 2168
onnx2torch2/node_converters/base_element_wise.py sha256=Ms9UHks7K--HQpM4M2RvB6yAkIS4IETN1rGqVtzJdGQ 1258
onnx2torch2/node_converters/batch_norm.py sha256=TX4QYJJcpdxCeGrQ1CA2gMypj1kMffNPP0NAahYgTvE 3736
onnx2torch2/node_converters/binary_math_operations.py sha256=5qWxrsyGVEFJF4j2P35ILFNtRsysYApudfEXnetgyvI 3003
onnx2torch2/node_converters/cast.py sha256=AYxEmYKT5PMogxdFhTyqgXNMgqkZ-q74qhqTYeva_z0 1986
onnx2torch2/node_converters/clip.py sha256=23BWEzqVLadw_abHOH1zIADAj1Ejm_UR6XxzqUBq8aY 3011
onnx2torch2/node_converters/comparisons.py sha256=LwD7gHhH_1gNZbNlrPOehoGk3svnZ9T8AS9a16eMqs4 1843
onnx2torch2/node_converters/concat.py sha256=tw0ootUQ29EY7EyqogBPNHO7t9v5Rg6ybPR_PLqUOyk 1217
onnx2torch2/node_converters/constant.py sha256=x98p0Fq24XZPv_evOWk8TtbEsRCnw1cUSo82g7LoFuI 2025
onnx2torch2/node_converters/constant_of_shape.py sha256=w4JVFNwoEUcQcUM3VEqY9laGpsOjYNFaXR32d-XHLyA 1741
onnx2torch2/node_converters/conv.py sha256=GsxT_YNKEKy589hyUhMzWOWtouF2ykTcV_IJM-7oK4A 3438
onnx2torch2/node_converters/cumsum.py sha256=M-n2psqWSKeDrvTlt42VYbTOjfcJWNhwK30MnBu07jE 2827
onnx2torch2/node_converters/depth_to_space.py sha256=uw5USy3-HZ40Hnf1d6Zh2VvI1hhRhBaPKioo93lZY9Q 1662
onnx2torch2/node_converters/dropout.py sha256=NlMHLsF6drnFm96gNKONe8B76-4l_mhQDw9f7GZ9KyE 1901
onnx2torch2/node_converters/einsum.py sha256=9vWf_4ngb64yoLgQC-7mnOVHMeIQcy1ZL4p18q560AE 1060
onnx2torch2/node_converters/expand.py sha256=d79j_XERBueVJOzocYudk1pXUIOAmrjotVExUAUMKqA 1512
onnx2torch2/node_converters/eye_like.py sha256=aHDlu5hj3xI5SM916-DcenCYQTDz8QP4hejv9aQ3W7o 2499
onnx2torch2/node_converters/flatten.py sha256=GlxM0todUFRa5LxKNBfKG62w8gqhxOPIYYdHUCKcH5E 1477
onnx2torch2/node_converters/functions.py sha256=8yMb6K7kMEC60bzTAWADxpS5PWEkUtcElZWqSUXLh0Y 2209
onnx2torch2/node_converters/gather.py sha256=4WWdbdSZ8-PdmnTqnUdDQZ7Jit_nMo5nuzNOREGOROM 6544
onnx2torch2/node_converters/gemm.py sha256=OzuNQHd_bxbQQ2xX8FMmwV1eh298mcEZQYEYj5g1phA 3289
onnx2torch2/node_converters/global_average_pool.py sha256=qYzgaPgI7IjW5GgKW_T1Z9Vmm28mkjGnsK_CWvFZoRU 2295
onnx2torch2/node_converters/gridsample.py sha256=A1nz0wpztQrvMjFLD42W6z54iZXKygJaHVrX2NxLplo 2475
onnx2torch2/node_converters/identity.py sha256=b6bBZcFz3mMjtwvHL071-LPbf5ZcygK4h_Wve9kCT0M 1339
onnx2torch2/node_converters/instance_norm.py sha256=RVg-17-LLCrZrFDrm5-KewFhcChD7-cQjnAXlXtzI2Y 3137
onnx2torch2/node_converters/isinf.py sha256=cBl9gJT_MfNi70i9Sd_pWVL5-JXLIL4HBVIlDyJjXHU 952
onnx2torch2/node_converters/isnan.py sha256=GXe_ZnaotMXd4tKrPmHQUk_RcAagRC7a6GZqAMEcLmw 952
onnx2torch2/node_converters/layer_norm.py sha256=0U4A3lFjlh5vOoc-PTzU5JfXfUJFiJxYuUvBCJue_go 2810
onnx2torch2/node_converters/logical.py sha256=cFdGafIUFZ4dHNgaEyOEqoDlHETk_YrUqHXn_7Q_9pE 2752
onnx2torch2/node_converters/lrn.py sha256=42SXxoXfLvhX5ImN4yeMxsMqG4Ilok7sPqfZrehBb-I 899
onnx2torch2/node_converters/matmul.py sha256=O1-UYEIX8irkiEEqPVfCtXq0CZOPBuMyGeHMpN4HWDM 1433
onnx2torch2/node_converters/max_pool.py sha256=KnFZZIFvjMzKfCzfZhjwnlifzUtUQZ6FhyHeBOioK0s 2403
onnx2torch2/node_converters/mean.py sha256=GfWi1wcY-lMe16LZYFaGsDx8gPeIPXl94AJkuZGnb_A 1300
onnx2torch2/node_converters/min_max.py sha256=I8_7QbsCk2sH8D2PyGze8-SQG53si9upOLFegL2zFYo 1627
onnx2torch2/node_converters/mod.py sha256=h1UHF5VWderj8Dd-z-sGc2Y2d1Am-YwfqmbrAmXB_l0 1304
onnx2torch2/node_converters/neg.py sha256=ncDx7qfMdcO0ej9YFEB6lcHsaYAr5v4eYdNAatcbMvk 991
onnx2torch2/node_converters/nms.py sha256=O7jbGr9r8JRjZm1if5EHA-EqHDHDpFMKM1xGEaGlx14 4880
onnx2torch2/node_converters/nonzero.py sha256=NFDDeu7MxR9pbyhZxcjwKY26946J_cuYyUcV3pwDqsM 962
onnx2torch2/node_converters/pad.py sha256=BmUeKn90XEmLVT3bD_eGVQKr6PBFGlJZnkf42yLud34 5526
onnx2torch2/node_converters/pow.py sha256=aG8yJbetZP4T6YHtSrwb1MaeiTB_Xoc4hPqqGa7aSiY 2345
onnx2torch2/node_converters/range.py sha256=473PzjxjG_xpgMFJBKAo2j1ftNDG7xpAPtuLJD-M0sE 2047
onnx2torch2/node_converters/reciprocal.py sha256=zmEjOrTTCLbUVYjuELn5WX4p4N4bktQEjFJI8j8zeWc 1014
onnx2torch2/node_converters/reduce.py sha256=Vmsiev19K_xd-cLBZKKnCAwuQKbkf9Q4RqH_wUGOL6M 9652
onnx2torch2/node_converters/registry.py sha256=T4ilIuFdoZJkLkK3NQjRSeXrGhJ5RuSWRKT-dWuwayg 1914
onnx2torch2/node_converters/reshape.py sha256=8QGl6Y3Ij6rXItXpey9SXUNHFWn7PnG8igrjdEt6qgA 1867
onnx2torch2/node_converters/resize.py sha256=Ra7uTSvKP1ivzUZwlNv4UTo_5cSXEyN1hex-22K435c 6488
onnx2torch2/node_converters/roialign.py sha256=hWrkC1_LhOPdCMf6w0HjUQ8k8NuErkjhWXSiKJcSzQ8 5565
onnx2torch2/node_converters/roundings.py sha256=SAiJAUqJOMAbNCDDW4Q0JHFzn6vtQX_2o3NKiuZyVkk 1392
onnx2torch2/node_converters/scatter_nd.py sha256=jgQ7YcWfXqp1E9cmhoflZZNrky3TwmkAju2-MucIDvM 3680
onnx2torch2/node_converters/shape.py sha256=uOy14k4QqyQRvbe9xR9a2Cy9_rfVQ0pZC7RX7MDyclQ 2468
onnx2torch2/node_converters/slice.py sha256=VBnJIL6rmiSx_wwmDoowbLI6qcfngDCcBQc0_Ha_Egw 4346
onnx2torch2/node_converters/split.py sha256=vSRjwV5zGLoN7GZkGVTzxMB3Q-R4_dF3xvKvS1f1_qk 2809
onnx2torch2/node_converters/squeeze.py sha256=gSgbxa_uxM1nNrzJAMI1dPdheh2Kg9u1hm7d690wzq8 3526
onnx2torch2/node_converters/sum.py sha256=M9W2rSLx-litupO86yBPzZvU-ovpUkhrFw0xQ3TCLcU 1217
onnx2torch2/node_converters/tile.py sha256=MxIkugc6uylSzdFPVdp9zBlpeSvKf2ZCqXF32uWaWms 1748
onnx2torch2/node_converters/topk.py sha256=fasNQcmkdM5eduBxMlUTFPd3i_9rMGV9yj7qCXwgUa0 1819
onnx2torch2/node_converters/transpose.py sha256=orZWqy0xOLP50fZyTccAqvVtWIZsV5cp-MQj0vD4LEY 1718
onnx2torch2/node_converters/unsqueeze.py sha256=1ORqRiobx6RsgbicDLRcNErnIAPvmAHNiKNtIqCPTjw 2950
onnx2torch2/node_converters/where.py sha256=KqrGPOWVVQcXjx16UQOVw7qPA_ONUsphY962YgMILHU 1054
onnx2torch2/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
onnx2torch2/utils/common.py sha256=vLM-tvupxBV6_9ivYHR5MMNbnKC6ADZbcvHZ3Zmqalc 2544
onnx2torch2/utils/custom_export_to_onnx.py sha256=i727q-svrmxVCH8NqmRWVzSippHSN68Ro84es87xfg8 3212
onnx2torch2/utils/dtype.py sha256=13Ooi7zBzap1qzwjBEvpMKe-BkJ2CEaDiMu-P87_eb0 2247
onnx2torch2/utils/indices.py sha256=W3TcJhZixYSrQg5oXpbraKCa1DA6EMR5hmw-yzP8_GE 631
onnx2torch2/utils/padding.py sha256=dC9ZORzbJ3aablca9ItUjuuTR7R02nWDQatjHKIS7Rk 1125
onnx2torch2/utils/safe_shape_inference.py sha256=qkI6WJhX11b1vuRrTpIjR435XMawhCqr-bferGdNQUg 1620
onnx2torch2-2.2.0.dist-info/LICENSE sha256=iWLEJUustLjDYQcmBAwQmj0-kh3XqQi2kHpvDIc8suA 11338
onnx2torch2-2.2.0.dist-info/METADATA sha256=tO0D4xII40elh0DfDGOzOhZRyGRNLTHSd8FcB8prURs 23651
onnx2torch2-2.2.0.dist-info/WHEEL sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc 91
onnx2torch2-2.2.0.dist-info/top_level.txt sha256=MflAwknK3rYQGgJub8SlTC0XKTZkP9ZqRc7sqrZrYSw 12
onnx2torch2-2.2.0.dist-info/RECORD

top_level.txt

onnx2torch2