daquexian / onnx-simplifier

Simplify your onnx model
Apache License 2.0
3.67k stars 377 forks source link

Comparison with onnx optimizer #306

Open ohjunee opened 10 months ago

ohjunee commented 10 months ago

We plan to apply the results of ONNX-Opimizer and Onnx-simplifier to Op Fusion in QNN. However, I asked because there seemed to be a lack of manuals for each package.

  1. What's the difference from ONNX-Simplier? I wonder if it's better to use it together.
  2. If you have a manual, please attach it. like.. onnx docs Python API Overview - ONNX 1.15.0 documentation
FelixSchwarz commented 9 months ago

Based on what I read in the README for optimizer, the optimizer library is written in C++. onnx-simplifier "just" provides a Python interface and some model checking.