onnx2torch

View on PyPIReverse Dependencies (16)

1.5.15 onnx2torch-1.5.15-py3-none-any.whl

Wheel Details

Project: onnx2torch
Version: 1.5.15
Filename: onnx2torch-1.5.15-py3-none-any.whl
Download: [link]
Size: 80965
MD5: 674b72ca316e4211ef6bf35c5aa427ce
SHA256: 123258e0f147e07b259cf845c8113c5634b8260e52c5fb26b7d507226732d9e5
Uploaded: 2024-08-07 14:04:09 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: onnx2torch
Version: 1.5.15
Summary: ONNX to PyTorch converter
Author-Email: ENOT LLC <enot[at]enot.ai>
Project-Url: homepage, https://enot.ai
Project-Url: repository, https://github.com/ENOT-AutoDL/onnx2torch
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,onnx2torch,converters
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6
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: pytest; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: pylint; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: onnxruntime; extra == "dev"
Requires-Dist: Pillow; extra == "dev"
Requires-Dist: requests; extra == "dev"
Requires-Dist: googledrivedownloader; extra == "dev"
Provides-Extra: dev
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 9366 characters]

WHEEL

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

RECORD

Path Digest Size
onnx2torch/__init__.py sha256=_nmlyvk5plCE9LWaa0BvquYgqncIXh3lyqfQO0yqtFY 41
onnx2torch/converter.py sha256=ozCd55f92DG60yA9ZySwdJd-e_myEAKh3rLIncC8HbA 6995
onnx2torch/onnx_graph.py sha256=qmUKynRqq13dnwI0rbB7znDt1OU86GRtZTqL7itGuIQ 4373
onnx2torch/onnx_node.py sha256=DNmCs7X9-GGx-CZiUa7Vv_79J5uiI2wK3SH3Fqcy9oM 2620
onnx2torch/onnx_tensor.py sha256=lDLbuQ9xaYn6FaZlD5aa3i7hXMQR5-tPp6KTCZoF9b8 1241
onnx2torch/node_converters/__init__.py sha256=vhSxEZG4T6XnuLHYoDkgH6nNuwrzf20GTsxe-vxtmCU 3053
onnx2torch/node_converters/activations.py sha256=2sYTIfaQcC4vJGvLrAF0gpC2ZVqsv_b8aJXfRJ9qGKA 9221
onnx2torch/node_converters/arg_extrema.py sha256=L6ZPl60eOMA7dv6xgANTo4CJFubqDwlwFY21kjdxszQ 3335
onnx2torch/node_converters/average_pool.py sha256=1y_SHsIhQ83CjvQeasJyrB6YglOj0crdFZWLEBoUuGs 2161
onnx2torch/node_converters/base_element_wise.py sha256=ciAXSFabxIhkel5d_iJEHwkFzcSF-4KKcKvoVTHkgY4 1256
onnx2torch/node_converters/batch_norm.py sha256=1OlhsiHLsqqqTyW_NTvA6QrtoDieHRrWbZQ309p_P2I 3728
onnx2torch/node_converters/binary_math_operations.py sha256=4dP3Y7Jy9hr_OEOEpkos-AnY8s5CTI_SbEx9F2bDt_w 2996
onnx2torch/node_converters/cast.py sha256=8L8fJAAFAfxw_pkXUzaouZcRjwVjYsUDAo8q4MBwua4 1980
onnx2torch/node_converters/clip.py sha256=AayQwEiKEC-OxAAjqcDc6hZs6LMrDhKlR8ZqJq1Wd04 2965
onnx2torch/node_converters/comparisons.py sha256=r0BT9RcpBK6dM_l1SwyJGAtQJkbuATuucV0u4Vg7lUg 1837
onnx2torch/node_converters/concat.py sha256=ef2yI4qEWALbzTnlTuk8LxxOAnBK96_brSTNJLpesME 1211
onnx2torch/node_converters/constant.py sha256=GB9PhuAl0-xqu20EBJB4yIxNYp0I-4fbe_IhUFU0Kl8 2019
onnx2torch/node_converters/constant_of_shape.py sha256=d6w7OJ8MsX9gdCkEHAIhb1yo7pHT12kJb5pzXrQp6zY 1735
onnx2torch/node_converters/conv.py sha256=E8gEyptNZD4NS0FsBPb-JfNxU78GIs3rS1y_No4-Fz8 3432
onnx2torch/node_converters/cumsum.py sha256=NUKnbhIUI7nRAZjoqEWzIVNBjVpfhcM9NZLGoFtkCxY 2821
onnx2torch/node_converters/depth_to_space.py sha256=zaJOjjgqHNPlKTooNCHgM0vBJsbwFGlIqUmDAHti_-Y 1381
onnx2torch/node_converters/dropout.py sha256=bSPyC-K5GPeQlKmuOU0OMRxESHcpCYVFCWf1ouBhGTU 1895
onnx2torch/node_converters/einsum.py sha256=tAgAQgQS5OD6aA1Wgw28z-nKUBCbZx_jLMu4g-pO6ik 1054
onnx2torch/node_converters/expand.py sha256=92nG4dXech2o2yOwv7tDE-lYuefsOdioCbMVIUsBzPk 1407
onnx2torch/node_converters/eye_like.py sha256=D1d-XP6td42W04ZQtWzoH-0PnsFqL3vx8DYWCbmf8jo 2492
onnx2torch/node_converters/flatten.py sha256=S-Ax8kKhFJAIyUhCf_txFaUBs2dTFLLl2PqN3xkUP7k 1471
onnx2torch/node_converters/functions.py sha256=KPI9bWAugq1PL_lqQJXesNO9zaoNQV2RmAA7qj-21-o 2203
onnx2torch/node_converters/gather.py sha256=Ropc6Xeo3dQqRipmleUSdtkEhwQtp4pdAxiyaRaq2fY 6352
onnx2torch/node_converters/gemm.py sha256=EcVVdUNmgqfs9nbh-dmIpRVL93ul1epwvhMSn-zGAmo 3282
onnx2torch/node_converters/global_average_pool.py sha256=EmyhoNS2NB0Bjp5VChDL-g93xDmmfjRMcV6HXj36wx8 2287
onnx2torch/node_converters/identity.py sha256=p4NApoJEzGJRfRYLlEeIs8bRJiuUQ4kabv1fx99e4Ac 1333
onnx2torch/node_converters/instance_norm.py sha256=Y2JvdxmS36sRfHf7UvFdeETkR52DqJHU_uLVODf-ZfY 3129
onnx2torch/node_converters/isinf.py sha256=T-Os_URmwO7Bw4AChO7ovLIQfweFhQFTy-V5nqKVtPc 946
onnx2torch/node_converters/isnan.py sha256=FQDnJ2J1MSHyVkqlfwT6AFHY5psF-GVo09Ezv0rpy0s 946
onnx2torch/node_converters/layer_norm.py sha256=93NsiZZ-j5slw5NxfneP85iviIA9WMxmtUZNW5pexYw 2802
onnx2torch/node_converters/logical.py sha256=3Nem4PtIGLBDqmHnTzBHANRVArKDHPPQlnLJ_aY1RAc 2743
onnx2torch/node_converters/lrn.py sha256=GgYSq1bzOEtHoFGSIUsPDcR4-1M1U_dPRcsX0qNoonA 894
onnx2torch/node_converters/matmul.py sha256=UdQ0SS3PEDRyhjpG4VOLEQLhVpwkPt_kAMcKtaQoryw 1030
onnx2torch/node_converters/max_pool.py sha256=bn222xsjCsqsUC5CLbg1Lu7uLcD4_Ts3iRnJbzHDlw8 2396
onnx2torch/node_converters/mean.py sha256=ODzoh8s6-8zr7jlrom10gztVJgdPt4ZMQuYT7N_eHjo 1294
onnx2torch/node_converters/min_max.py sha256=xiEr0JNLPWARCFOQBkQDHD2FyYvRJKVoJkemwyO5550 1621
onnx2torch/node_converters/mod.py sha256=IVx3uc80pjhkbVQvdaB-0FBVMZ2tRE9vOfMVNonOn1g 1298
onnx2torch/node_converters/neg.py sha256=qzyw888yau5Fh_luc71FztDbYraMpgoUxOOOMsk33AI 985
onnx2torch/node_converters/nms.py sha256=c_wyX5Tbq1ADlgEtvws5vvDxRW7nhsiKAeLbHkNsCrQ 4872
onnx2torch/node_converters/nonzero.py sha256=EIwGE-dcBGCe2MCvbNuyOK1O9Vyf_kHplzQjAZwBsRU 956
onnx2torch/node_converters/pad.py sha256=tZZxUp_dO5xaEaSgQ_Fsj78-KxH8Um_fvD6JTlO60E8 4875
onnx2torch/node_converters/pow.py sha256=R6FRU5VEbNTU_6h32MTO0q5Ll0z5SLlhZ5_hCj05eCQ 2338
onnx2torch/node_converters/range.py sha256=oADKlm3TIDuNmbg2Iseg5HTGBeHCK9TI-pFgiNHnZes 2040
onnx2torch/node_converters/reciprocal.py sha256=t2J6sBn6zJ3lXPpN5_wHBKho_GhE5HQUR_JS34fWDN0 1008
onnx2torch/node_converters/reduce.py sha256=Zfr-__P33T9ykhP3ilS9MTdDsGpuO-zi1Lyl1Wqmrzw 9635
onnx2torch/node_converters/registry.py sha256=y-XW6vxMhQ5LVL8rWBsg_DyZwYc8avX5aRkYksNa6Fc 1848
onnx2torch/node_converters/reshape.py sha256=RFFJL9xgM5IhPN7mxbqpRtvEmaZqs21n0G7T-1p84og 1860
onnx2torch/node_converters/resize.py sha256=Yf9NUPCltXWvqCJINCgjWfLoQEO6Wo9rM4pS6SOSeB0 6482
onnx2torch/node_converters/roialign.py sha256=61ZSvb0GHal2gcDSPvTfWfuzBq_y3Xvo8c-CUvOSdM4 5557
onnx2torch/node_converters/roundings.py sha256=u-Cz58xTse27P_minEBJrUp8s5agLj6YBmXzTz9k42I 1386
onnx2torch/node_converters/scatter_nd.py sha256=0t2x80fATj7ZB6uvCZbWwFUwt4gjCdsDuZHpE4AS4zI 3574
onnx2torch/node_converters/shape.py sha256=3MTi14zNKSEwGKhlwt15wbWkZVHMw5yRRKNbZ40cWpk 2460
onnx2torch/node_converters/slice.py sha256=dxs80oIau9PrsBAmOQ1bwp-52tjRasdxLtYLUc-BCHM 4338
onnx2torch/node_converters/split.py sha256=vblHHV0WufoSlRxxrszp6EtbqlSkjNwSUpv_6UrhnLw 2803
onnx2torch/node_converters/squeeze.py sha256=ioFbz-jyXiQ9ohQabc26TwiyjnuFXJINFA6GCfUnG1w 3518
onnx2torch/node_converters/sum.py sha256=odCuaFRfxxhRT4vOhY95--niWZNZZLIRFZvfZCUyrTw 1211
onnx2torch/node_converters/tile.py sha256=N4He7Y4pxHMXXBI4Qfjsf4_VztOUKeKpfd2B-hLFKvQ 1258
onnx2torch/node_converters/topk.py sha256=3Fek_tgiQX-afpKCU43EsnmiQZccnDIRauH2_XOxcDg 1813
onnx2torch/node_converters/transpose.py sha256=BCNpqPQKfL23xxhHPDzvr_TzpHmUwhi32goLoeLVyxI 1712
onnx2torch/node_converters/unsqueeze.py sha256=ROXNmkx_QzhZkcQTYMgNsGtsXAm5zBwDB8LUEMAnARI 2940
onnx2torch/node_converters/where.py sha256=RUqUuG2UEM-pYhtIzjVrpzNgzOrUjrxgb1VuE8G1NnQ 1048
onnx2torch/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
onnx2torch/utils/common.py sha256=ncZYHNIXRdjqC5TCt4Ha4yObkNt69z6XArDd0YXUoUY 2542
onnx2torch/utils/custom_export_to_onnx.py sha256=w3-D9EgsMSuhIPW3B_Ptu_6S6eOy82xI4VUnv2x0wHM 3211
onnx2torch/utils/dtype.py sha256=13Ooi7zBzap1qzwjBEvpMKe-BkJ2CEaDiMu-P87_eb0 2247
onnx2torch/utils/indices.py sha256=tUVAZvOTG6Ab8Me6zomQ8hImUEmdD9W0h8L1qpbO0EI 633
onnx2torch/utils/padding.py sha256=YlhJ8Y569xSA9s4ujxTmrmwANtZThOODdBHOq5xQVmw 1124
onnx2torch/utils/safe_shape_inference.py sha256=qkI6WJhX11b1vuRrTpIjR435XMawhCqr-bferGdNQUg 1620
onnx2torch-1.5.15.dist-info/LICENSE sha256=iWLEJUustLjDYQcmBAwQmj0-kh3XqQi2kHpvDIc8suA 11338
onnx2torch-1.5.15.dist-info/METADATA sha256=ZHsEVnxAnqN6HJeFl5xoaExk46_vrF2rjETJFBl1mdw 23396
onnx2torch-1.5.15.dist-info/WHEEL sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs 91
onnx2torch-1.5.15.dist-info/top_level.txt sha256=NrAZZAb_joLYPLzqxhVl6DZ5MHFN6zU4SGO7EpJ5hoo 11
onnx2torch-1.5.15.dist-info/RECORD

top_level.txt

onnx2torch