Skip to main content

Module nested

Module nested 

Source
Expand description

Serde-based deserialization of nested values, which is how PytorchReader::load_config turns the non-tensor part of a checkpoint into a typed value.

Modulesยง

adapter
The adapter trait that is used to convert the nested value to the module type.
data
The main data structure used for deserialization.
de
The deserializer that converts a nested value into a typed item.
error
Error types.