qimpy.io

I/O functionality including checkpoints and logging.

Functions

log_config

Configure logging globally for the qimpy library.

fmt

Standardized conversion of torch tensors and numpy arrays for logging.

Classes

Checkpoint

Helper for checkpoint load/save from HDF5 files.

CheckpointPath

Combination of optional checkpoint and path within it.

CheckpointContext

Identify from where/when a checkpoint is being written.

Unit

Represent value and unit combination.

Modules

qimpy.io.dict

Utilities to manipulate dictionaries used as input to constructors.

qimpy.io.yaml

YAML wrappers handling includes and environment substitution.