ray.rllib.core.learner.learner_group.LearnerGroup.get_weights#

LearnerGroup.get_weights() Dict[str, Any][source]#

Convenience method instead of self.get_state(components=…).

Returns:

The results of self.get_state(components='learner/rl_module')['learner']['rl_module'].