ray.rllib.core.learner.learner.Learner.should_module_be_updated#

Learner.should_module_be_updated(module_id, multi_agent_batch=None)[source]#

Returns whether a module should be updated or not based on self.config.

Parameters:
  • module_id – The ModuleID that we want to query on whether this module should be updated or not.

  • multi_agent_batch – An optional MultiAgentBatch to possibly provide further information on the decision on whether the RLModule should be updated or not.