A library for parsing, editing, optimizing, and profiling ONNX models. Current version 1.0.1, no defined release cadence. Primarily used for model analysis and shape inference.
pip install onnx-toolNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Load an ONNX model and print graph information.
Use onnx.load(model_path) to load the model.
Iterate over keys with .items() and check for presence.
Use from onnx_tool.shape_inference import infer_shapes if available.
Update subclass to match new API; see changelog.