vkML 0.1.0

Checkpoint

What load returns: the arrays, the metadata and the format version.

class Checkpointpython/vkml/serialize.py:80

Kept as separate fields rather than one merged mapping, so a metadata key can never collide with a tensor name.

version is the checkpoint's FORMAT_VERSION, which increments when the layout changes in a way an older reader would misread. Loading a newer checkpoint fails with a message naming both versions instead of misinterpreting the bytes.

Fields

tensors

tensors: dict[str, _np.ndarray]python/vkml/serialize.py:87

metadata

metadata: dict[str, Any]python/vkml/serialize.py:88

version

Internals

__repr__

def __repr__self -> strpython/vkml/serialize.py:91

See also load, save, load_module

vkML — Vulkan-first machine learning in C++20. Apache-2.0. Signatures on this page are generated from the installed module.