class_docstr: Tests for ValueLearning.
code: def testCompatibilityCheck(self):
      pcont_t = tf.placeholder(tf.float32, [8])
      with self.assertRaisesRegexp(
          ValueError,
          "TDLearning: Error in rank and/or compatibility check",
      ):
          self.value_learning = value_ops.td_learning(
              self.v_tm1, self.r_t, 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 3 for calling the TDLearningTest obj's underlying member method code with example usage: obj.testCompatibilityCheck() without return types