ray.rllib.core.rl_module.marl_module.MultiAgentRLModule.remove_module
ray.rllib.core.rl_module.marl_module.MultiAgentRLModule.remove_module#
- MultiAgentRLModule.remove_module(module_id: str, *, raise_err_if_not_found: bool = True) None [source]#
Removes a module at run time from the multi-agent module.
- Parameters
module_id – The module ID to remove.
raise_err_if_not_found – Whether to raise an error if the module ID is not found.
- Raises
ValueError – If the module ID does not exist and raise_err_if_not_found is True.