ray.rllib.core.learner.learner.Learner.should_module_be_updated# Learner.should_module_be_updated(module_id, multi_agent_batch=None)[源代码]# 根据 self.config 返回模块是否应更新。 参数: module_id – 我们想要查询的 ModuleID,以确定是否需要更新此模块。 multi_agent_batch – 一个可选的 MultiAgentBatch,可能提供关于是否应该更新 RLModule 的决定的进一步信息。