Checkpoint
What load returns: the arrays, the metadata and the format version.
class Checkpoint— python/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¶
metadata¶
version¶
version: int— python/vkml/serialize.py:89
Internals¶
__repr__¶
See also load, save, load_module