ray.rllib.core.rl_module.multi_rl_module.MultiRLModule.get#

MultiRLModule.get(module_id: str, default: RLModule | None = None) RLModule | None[source]#

Returns the module with the given module ID or default if not found in self.

Parameters:

module_id – The module ID to get.

Returns:

The RLModule with the given module ID or default if module_id not found in self.