Skip to main content
Ctrl+K
onnx-light-cpu  documentation - Home onnx-light-cpu  documentation - Home
  • Getting Started
  • Design
  • ByOp
  • API reference
  • Examples
  • Next Steps
  • GitHub
  • Getting Started
  • Design
  • ByOp
  • API reference
  • Examples
  • Next Steps
  • GitHub

Section Navigation

  • Standalone C++ inference
  • Kernel examples
    • Runtime SIMD detection
    • Run com.microsoft custom operators
  • Benchmarks
    • Benchmark custom operators against ONNX Runtime
    • Benchmark Exp and Log parallel scheduling
    • Benchmark TreeEnsemble scheduling scenarios
    • Benchmark Gemm: numpy vs onnxruntime vs onnx-light vs onnx-light-cpu
    • Benchmark Abs: onnxruntime vs onnx-light + onnx-light-cpu
    • Benchmark Gemm: float32 vs float16 vs bfloat16 across kernel code paths
    • Benchmark backend test cases against ONNX Runtime
  • Processor performance
    • Processor performance profile: memory, compute, and Roofline
  • Examples
  • Kernel examples

Kernel examples#

A gallery of runnable examples showing how to use the SIMD-accelerated CPU kernels provided by onnx-light-cpu from Python.

Runtime SIMD detection

Runtime SIMD detection

Run com.microsoft custom operators

Run com.microsoft custom operators

Download all examples in Python source code: kernels_python.zip

Download all examples in Jupyter notebooks: kernels_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

Standalone C++ inference

next

Runtime SIMD detection

Show Source

Last updated on Sep 07, 2026.