onnxsim/onnxsim
A tool that simplifies ONNX deep learning models by inferring computation graphs and replacing redundant operators with constant outputs.

Velocity · 7d
+1.7
★ / day
Trend
→steady
star history
ONNX Simplifier optimizes deep learning models by performing graph-level constant folding. It infers the entire computation graph, identifies redundant operators, and replaces them with their constant outputs. The tool supports both a web interface (running locally in-browser) and a command-line Python package, making model simplification accessible without installation.