//! ONNX protobuf decoding (ยง19.1).
//!
//! The `onnx` submodule contains the `prost`-generated types compiled from the
//! vendored `proto/onnx.proto3` (see `build.rs`). [`decode_model`] parses a
//! serialized `ModelProto` from bytes.
use Message;
use crateLoaderError;
/// The `prost`-generated ONNX protobuf types (package `onnx`).
pub use ModelProto;
/// Encoded `FileDescriptorSet` for the exact vendored ONNX schema used to
/// generate [`onnx`]. Textual codecs use this descriptor so every present and
/// future field in the bound proto is handled from one source of truth.
pub const FILE_DESCRIPTOR_SET: & =
include_bytes!;
/// Decode a [`ModelProto`] from serialized protobuf bytes.