Skip to main content

an onnx rewrite tool

Project description

ONNX model rewriter tool

a pure python tool to rewrite and optimize 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.3.tar.gz (9.6 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.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onnx_hameln-0.0.3.tar.gz
  • Upload date:
  • Size: 9.6 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.3.tar.gz
Algorithm Hash digest
SHA256 26b058b0ed67a95c7f5223da6fa50fd26aa19eb59730d15e21b232a70d456411
MD5 e4da03f1311ba573eaa4d86eb485a3a1
BLAKE2b-256 26666836cbf90092e234f7507bb84163a8417d8a8ad2f61ed286d175f5d1c5a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onnx_hameln-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b07c81889d118aecb787ecea283dad8f6049bbe7950a1516ab76d99139b7607
MD5 c11b562538dc0cf422b06e2525df40e4
BLAKE2b-256 7fffa46e55fab9c9227a1179cf68f00d32e0463393bea47d71260e085b79fe5d

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