Metadata-Version: 2.1
Name: onnx-hameln
Version: 0.0.1
Summary: an onnx rewrite tool
Home-page: UNKNOWN
Author: irasin
Author-email: edad811@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: networkx
Requires-Dist: numpy
Requires-Dist: onnx
Requires-Dist: onnxoptimizer

# ONNX model rewriter tool


a pure_python tool to rewrite and optimize subgraph in onnx model


## usage

```python
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")


```

