code: def testShapeInference(self, gae_lambda):
      sequence_length = 4
      batch_size = 2
      self._setUp_td_loss(
          gae_lambda,
          sequence_length=sequence_length,
          batch_size=batch_size,
      )
      sequence_batch_shape = tf.TensorShape(
          [sequence_length, batch_size]
      )
      batch_shape = tf.TensorShape(batch_size)
      self.assertEqual(
          self._discounted_returns.get_shape(), sequence_batch_shape
      )
      self.assertEqual(
          self._temporal_differences.get_shape(), sequence_batch_shape
      )
      self.assertEqual(self._loss.get_shape(), batch_shape)
  
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 2 for calling the TDLambdaTest obj's underlying member method code with example usage: obj.testShapeInference(gae_lambda) without return types