onnx-light#

Lists the available model, backend-test, and kernel utilities. Use onnx-light COMMAND --help or python -m onnx_light COMMAND --help for command-specific options.

python -m onnx_light --help

Command-line reference#

    usage: onnx-light [-h] COMMAND ...
    
    onnx-light command-line utilities.
    
    positional arguments:
      COMMAND
        optimize   Optimize a model while reusing its external weights.
        partition  Extract repeated layers or low-transfer operator groups as
                   local functions.
        fillshape  Fill a model with optimized shape-inference information.
        show       Print a human-readable, Mermaid, SVG or Python-code rendering
                   of a model.
        run        Generate random inputs and run a model.
        backend    Measure regex-selected backend test cases.
        kernel     List kernels, inspect tunable parameters, or tune one selected
                   kernel.
    
    options:
      -h, --help   show this help message and exit