Compute Examples#

Examples demonstrating how onnx-light computes and exposes the analyses consumed by the runtime and the optimizer: shapes, value/node tags, constant-value information, in-place reuse opportunities and release-after (last-use) hints.

Benchmark GraphBuilder against onnxscript GraphBuilder

Benchmark GraphBuilder against onnxscript GraphBuilder

ComputeContext memory expressions

ComputeContext memory expressions

Computing shape, tag, constant, release and in-place information

Computing shape, tag, constant, release and in-place information

Evaluating inferred shapes with concrete input dimensions

Evaluating inferred shapes with concrete input dimensions

Optimized Shape inference

Optimized Shape inference

Qwen3-like ComputeContext memory profile

Qwen3-like ComputeContext memory profile

Shape inference with a custom operator

Shape inference with a custom operator

Gallery generated by Sphinx-Gallery