code: def testComputeTDTargets(self):
      next_q_values = tf.constant([10, 20], dtype=tf.float32)
      rewards = tf.constant([10, 20], dtype=tf.float32)
      discounts = tf.constant([0.9, 0.9], dtype=tf.float32)
  
      expected_td_targets = [19.0, 38.0]
      td_targets = dqn_agent.compute_td_targets(
          next_q_values, rewards, discounts
      )
      self.assertAllClose(
          self.evaluate(td_targets), expected_td_targets
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow
  from tf_agents.agents.dqn import dqn_agent
  from tf_agents.networks import network
  from tf_agents.networks import q_network
  from tf_agents.networks import sequential
  from tf_agents.networks import test_utils
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import test_utils
  from tf_agents.trajectories import time_step
  from tf_agents.trajectories import trajectory
  from tf_agents.utils import common
  from tf_agents.utils import test_utils
label_desc: Use image node_id 1 for calling the ComputeTDTargetsTest obj's underlying member method code with example usage: obj.testComputeTDTargets() without return types