ray.rllib.core.learner.learner.Learner.add_module#

Learner.add_module(*, module_id: str, module_spec: SingleAgentRLModuleSpec) None[source]#

Add a module to the underlying MultiAgentRLModule and the Learner.

Parameters:
  • module_id – The id of the module to add.

  • module_spec – The module spec of the module to add.