ray.rllib.core.learner.learner_group.LearnerGroup.add_module
ray.rllib.core.learner.learner_group.LearnerGroup.add_module#
- LearnerGroup.add_module(*, module_id: str, module_spec: ray.rllib.core.rl_module.rl_module.SingleAgentRLModuleSpec) None[source]#
Add a module to the Learners maintained by this LearnerGroup.
- Parameters
module_id – The id of the module to add.
module_spec – #TODO (Kourosh) fill in here.