code: def __init__(
      self,
      model,
      max_action,
      gamma=None,
      tau=None,
      actor_lr=None,
      critic_lr=None,
      policy_noise=0.2,  # Noise added to target policy during critic update
      noise_clip=0.5,  # Range to clip target policy noise
      policy_freq=2,
  ):  # Frequency of delayed policy updates
      assert isinstance(gamma, float)
      assert isinstance(tau, float)
      assert isinstance(actor_lr, float)
      assert isinstance(critic_lr, float)
      self.max_action = max_action
      self.gamma = gamma
      self.tau = tau
      self.actor_lr = actor_lr
      self.critic_lr = critic_lr
      self.policy_noise = policy_noise
      self.noise_clip = noise_clip
      self.policy_freq = policy_freq
  
      self.model = model
      self.target_model = deepcopy(model)
  
file_path: PARL/parl/algorithms/fluid/td3.py
imports: 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 1 to create a new TD3 object from inherited base classes: Algorithm with example: obj = TD3(model, max_action, gamma, tau, actor_lr, critic_lr, policy_noise, noise_clip, policy_freq)