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
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
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