class_docstr: Adds KL coeff updates via `additional_update_for_module()` to Impala logic.
  
  Framework-specific sub-classes must override `_update_module_target_networks()`
  and `_update_module_kl_coeff()`
class_docstr_tok: ["Adds","KL","coeff","updates","via","`","additional_update_for_module","(",")","`","to","Impala","logic",".","Framework-specific","sub-classes","must","override","`","_update_module_target_networks","(",")","`","and","`","_update_module_kl_coeff","(",")","`"]
docstr: Update the target policy of each module with the current policy.
  
  Do that update via polyak averaging.
  
  Args:
      module_id: The module ID, whose target network(s) need to be updated.
      config: The AlgorithmConfig specific to the given `module_id`.
docstr_tok: ["Update","the","target","policy","of","each","module","with","the","current","policy",".","Do","that","update","via","polyak","averaging",".","Args",":","module_id",":","The","module","ID",",","whose","target","network","(","s",")","need","to","be","updated",".","config",":","The","AlgorithmConfig","specific","to","the","given","`","module_id","`","."]
code: def _update_module_target_networks(
      self, module_id: ModuleID, config: APPOConfig
  ) -> None:
      """Update the target policy of each module with the current policy.
  
      Do that update via polyak averaging.
  
      Args:
          module_id: The module ID, whose target network(s) need to be updated.
          config: The AlgorithmConfig specific to the given `module_id`.
      """
  
file_path: ray/python/ray/rllib/algorithms/appo/appo_learner.py
imports: import abc
  from typing import Any, Dict
  from ray.rllib.algorithms.appo.appo import APPOConfig
  from ray.rllib.algorithms.impala.impala_learner import ImpalaLearner
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.lambda_defaultdict import LambdaDefaultDict
  from ray.rllib.utils.metrics import LAST_TARGET_UPDATE_TS, NUM_TARGET_UPDATES
  from ray.rllib.utils.schedules.scheduler import Scheduler
  from ray.rllib.utils.typing import ModuleID
label_desc: Use image node_id 4 for calling the AppoLearner obj's underlying member method code with example usage: obj._update_module_target_networks(module_id, config) without return types