Skip to main content

pytorch_reader/nested/
mod.rs

1//! Serde-based deserialization of nested values, which is how
2//! [`PytorchReader::load_config`](crate::PytorchReader::load_config) turns the non-tensor
3//! part of a checkpoint into a typed value.
4
5/// The adapter trait that is used to convert the nested value to the module type.
6pub mod adapter;
7
8/// The main data structure used for deserialization.
9pub mod data;
10
11/// The deserializer that converts a nested value into a typed item.
12pub mod de;
13
14/// Error types.
15pub mod error;