ray.rllib.utils.checkpoints.Checkpointable.get_metadata#
- Checkpointable.get_metadata() Dict [source]#
Returns JSON writable metadata further describing the implementing class.
Note that this metadata is NOT part of any state and is thus NOT needed to restore the state of a Checkpointable instance from a directory. Rather, the metadata will be written into
self.METADATA_FILE_NAME
when callingself.save_to_path()
for the user’s convenience.- Returns:
A JSON-encodable dict of metadata information.