Core Examples#

Examples demonstrating the core features of onnx-light.

Benchmark streaming vs in-memory alignment of external data

Benchmark streaming vs in-memory alignment of external data

Load and save ONNX models with external data

Load and save ONNX models with external data

Measures loading and saving time for an ONNX model

Measures loading and saving time for an ONNX model

Number of threads used to load and save ONNX models

Number of threads used to load and save ONNX models

Profiles ONNX external-data save time

Profiles ONNX external-data save time

Save an ONNX model in the ORT flatbuffer format and compare sizes

Save an ONNX model in the ORT flatbuffer format and compare sizes

Track tensor weights while parsing with a raw_data callback

Track tensor weights while parsing with a raw_data callback

Gallery generated by Sphinx-Gallery