load

Contents

load#

seli.load(path: str | Path) None | bool | int | float | str | type | Array | ShapeDtypeStruct | list | dict | Module | Any[source]#

Load a nested structure of modules and arrays and other containers from a file. Inverse of save.

Parameters:

path (str | Path) – The path to load the serialized object from.

Returns:

The deserialized nested structure.

Return type:

NodeType