Expand description
ONNX export for inference-only canonical machine-learning models.
The crate deliberately separates source-library adapters from canonical
representations and ONNX graph generation. Values are narrowed to f32
when exported for maximum runtime compatibility.
Re-exports§
pub use error::Error;pub use error::Result;pub use graph_builder::save_to_file;pub use graph_builder::to_bytes;
Modules§
- adapters
- Adapters from fitted models in supported training libraries.
- canonical
- Source-library-independent inference representations.
- error
- Error types.
- exporters
- Canonical model to ONNX exporters.
- graph_
builder - Low-level ONNX graph construction and serialization.
- proto
- Minimal public ONNX protobuf bindings needed by the exporters.
Constants§
- IR_
VERSION - ONNX intermediate-representation version emitted by this crate.
- ML_
OPSET_ VERSION - ONNX-ML operator-set version used by tree exporters.
- OPSET_
VERSION - Default ONNX operator-set version emitted by this crate.