class_docstr: Tests for ValueLearning.
code: def setUp(self):
      super(TDLearningTest, self).setUp()
      self.v_tm1 = tf.constant(
          [1, 1, 1, 1, 1, 1, 1, 1, 1], dtype=tf.float32
      )
      self.v_t = tf.constant(
          [0, 0, 0, 1, 1, 1, 2, 2, 2], dtype=tf.float32
      )
      self.pcont_t = tf.constant(
          [0, 0.5, 1, 0, 0.5, 1, 0, 0.5, 1], dtype=tf.float32
      )
      self.r_t = tf.constant(
          [-1, -1, -1, -1, -1, -1, -1, -1, -1], dtype=tf.float32
      )
      self.value_learning = value_ops.td_learning(
          self.v_tm1, self.r_t, self.pcont_t, self.v_t
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow.compat.v1
  import tree
  from trfl import value_ops
label_desc: Use image node_id 1 for calling the TDLearningTest obj's underlying member method code with example usage: obj.setUp() without return types