New Release: emmtrix ONNX-to-C Code Genertor v0.4.x
February 25, 2026
With v0.4.x, emx-onnx-cgen reaches an important consolidation milestone. This release combines a significant expansion in ONNX coverage with major improvements in numerical correctness, verification quality, and overall robustness of the toolchain.
What is emx-onnx-cgen?
The emmtrix ONNX-to-C Code Generator (emx-onnx-cgen) translates ONNX models into portable, standards-compliant C code. The generated code is designed as a clean and analyzable foundation for further compiler-based optimizations, making it well suited for embedded, safety-critical, and performance-sensitive environments.
What’s new in v0.4.x?
- Full support for all ONNX operators up to opset 9, with 1416 / 1802 official tests passing from ONNX v1.20.1
- Substantially improved numerical correctness and stability, including deterministic reference evaluation, well-defined accumulation order, and wider accumulators up to fp64
- A much stronger verification pipeline, with improved diff reporting, worst-ULP tracking, refreshed golden references, and more reproducible validation
- Cleaner CLI, build, and CI workflows, including more reproducible releases and improved packaging
- Updated documentation and support tables that accurately reflect current capabilities
Overall, this release is less about flashy features and more about making the generated code correct, predictable, and trustworthy – a crucial requirement for real-world deployment.
