pytorch-reader 0.22.1

Reader for PyTorch checkpoint files (.pt/.pth) that depends on neither PyTorch nor Burn
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Serde-based deserialization of nested values, which is how
//! [`PytorchReader::load_config`](crate::PytorchReader::load_config) turns the non-tensor
//! part of a checkpoint into a typed value.

/// The adapter trait that is used to convert the nested value to the module type.
pub mod adapter;

/// The main data structure used for deserialization.
pub mod data;

/// The deserializer that converts a nested value into a typed item.
pub mod de;

/// Error types.
pub mod error;