get_metadata#

Checkpoint.get_metadata() → Dict[str, Any][source]#

Return the metadata dict stored with the checkpoint.

If no metadata is stored, an empty dict is returned.

Returns:

The metadata dict, or an empty dict if none is stored.

Return type:

Dict[str, Any]