Skip to main content

an onnx rewrite tool

Project description

ONNX model rewriter tool

a pure_python tool to rewrite and optimize subgraph in onnx model

usage

from onnx_hameln import HamelnModel, HPM


m = HamelnModel("yolov5l_v3.onnx")

HPM.rewrite(m)

m.set_batch_size(32).set_nhwc_input_format().export("rewrite.onnx")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onnx_hameln-0.0.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onnx_hameln-0.0.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file onnx_hameln-0.0.1.tar.gz.

File metadata

  • Download URL: onnx_hameln-0.0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for onnx_hameln-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cfbb1a51d13ee41fb7bfd8592b059c18dae95d94dadefc1854ab2492de86365a
MD5 86b2bbd4bab63968f5def242e8fb2674
BLAKE2b-256 8605ea12f529485142dd1081c82380219c15482bd0f28c54439299db3e0e3d32

See more details on using hashes here.

File details

Details for the file onnx_hameln-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: onnx_hameln-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for onnx_hameln-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b74535f017a90397fd8cdfc6066c9dd3d6d93aa91b5e9b31b5eed000f5d95be1
MD5 cd690eac603c0b8c2325a6ffa73bd6ae
BLAKE2b-256 96b86a9d9bd80a10526c92c5f6f165da092e20c6ba10c71f55d2596527dbd5fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page