ray.rllib.core.rl_module.rl_module.RLModule.get_metadata#

RLModule.get_metadata() Dict#

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 calling self.save_to_path() for the user’s convenience.

Returns:

A JSON-encodable dict of metadata information.