Skip to main content

onnx_std/text/
mod.rs

1//! Textual representation of ONNX models (ONNX_RS ยง5).
2//!
3//! Implements both directions of the readable format: [`to_text`] renders an
4//! owned model and [`from_text`] reconstructs one. Weight and tensor payloads
5//! are intentionally represented by typed references/placeholders rather than
6//! embedding binary data.
7
8mod de;
9mod extensions;
10mod ser;
11
12pub use de::from_text;
13pub use ser::{PrintOptions, to_text, to_text_with};