ray.rllib.utils.checkpoints.Checkpointable.get_checkpointable_components#
- Checkpointable.get_checkpointable_components() List[Tuple[str, Checkpointable]] [source]#
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 callingself.save_to_path()
).