ray.rllib.core.learner.learner.Learner._make_module#

Learner._make_module() MultiAgentRLModule[source]#

Construct the multi-agent RL module for the learner.

This method uses self._module_specs or self._module_obj to construct the module. If the module_class is a single agent RL module it will be wrapped to a multi-agent RL module. Override this method if there are other things that need to happen for instantiation of the module.

Returns:

A constructed MultiAgentRLModule.