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

LearnerGroup.add_module(*, module_id: str, module_spec: 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.