ray.rllib.core.learner.learner.Learner._make_module
ray.rllib.core.learner.learner.Learner._make_module#
- Learner._make_module() ray.rllib.core.rl_module.marl_module.MultiAgentRLModule[source]#
Construct the multi-agent RL module for the learner.
This method uses
self._module_specsorself._module_objto 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.