ray.rllib.core.rl_module.rl_module.RLModule.get_checkpointable_components#

RLModule.get_checkpointable_components() List[Tuple[str, Checkpointable]]#

Returns the implementing class’s own Checkpointable subcomponents.

Returns:

A list of 2-tuples (name, subcomponent) describing the implementing class’ subcomponents, all of which have to be Checkpointable themselves and whose state is therefore written into subdirectories (rather than the main state file (self.STATE_FILE_NAME) when calling self.save_to_path()).