Recipe 03 — Quantize For Edge
- Export a baseline artifact with
export_onnxorexport_tflite. - Run
quantize_int8with a representative calibration set. - Compare size and accuracy with
quantize_report. - Benchmark the winning artifact with
benchmark_latency.
Use this when the deployment question is not “can I quantize?” but “should I ship this quantized build?”