code: def sync_target(self, decay=None, share_vars_parallel_executor=None):
      if decay is None:
          decay = 1.0 - self.tau
      self.model.sync_weights_to(
          self.target_model,
          decay=decay,
          share_vars_parallel_executor=share_vars_parallel_executor,
      )
  
file_path: PARL/parl/algorithms/fluid/ddpg.py
imports: import warnings
  from parl.core.fluid import layers
  from copy import deepcopy
  from paddle import fluid
  from parl.core.fluid.algorithm import Algorithm
label_desc: Use image node_id 6 for calling the DDPG obj's underlying member method code with example usage: obj.sync_target(decay, share_vars_parallel_executor) without return types