jangada.serialization.load#

jangada.serialization.load(path: Path | str) Persistable#

Module-level convenience function for loading Persistable objects.

Equivalent to Persistable.load(path).

Parameters:
pathPath | str

File path to load from.

Returns:
Persistable

Loaded object.

Examples

>>> from jangada.serialization import load
>>> exp = load('experiment.hdf5')