Command lines#
The onnx-light executable and python -m onnx_light provide the same
commands. Each page below describes one command, with its arguments and examples.
Command line |
Summary |
|---|---|
Lists available commands and displays command-specific help. |
|
Adds inferred shapes and optional memory and shape-tag metadata to a model. |
|
Optimizes a model using default patterns, named groups, or explicit patterns. |
|
Extracts repeated layers or low-transfer operator groups as local functions. |
|
Renders a model as text, a diagram, or code that rebuilds it. |
|
Generates random inputs and executes a model with the reference evaluator. |
|
Measures selected backend test cases and optionally writes a report. |
|
Lists registered kernels, inspects tunable parameters, or calibrates a kernel. |
|
Collects kernel measurements and verifies persisted tuning profiles. |