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.2.tar.gz (9.5 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.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onnx_hameln-0.0.2.tar.gz
  • Upload date:
  • Size: 9.5 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.2.tar.gz
Algorithm Hash digest
SHA256 817668a9aaaf7f5da7b124b2116cd60115f059e6947ba40582696d8179b19ce2
MD5 5db867133383cb3c565e274ae1f16be7
BLAKE2b-256 5ceaf6681dc8b095a8676b944fb426812f31327a86d74e1d1ec728fbb995a38e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onnx_hameln-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad178e05fbc7c30e8836676a8d87af3a89172c19ed49447e07558fb546b5aba
MD5 dbae13989161fead81c4826b28ffebd1
BLAKE2b-256 4e496f964b540215a7b72eb7b0d2cdd21165c7f9e5812e4695aa8e8b51021914

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