code: def testShapeInferenceDynamic(self, sequence_length, batch_size):
      self._setUp_td_loss(
          sequence_length=sequence_length,
          batch_size=batch_size,
          gae_lambda=1.0,
      )
      t, b = sequence_length, batch_size
  
      self.assertEqual(
          self._discounted_returns.get_shape().as_list(), [t, b]
      )
      self.assertEqual(
          self._temporal_differences.get_shape().as_list(), [t, b]
      )
      self.assertEqual(self._loss.get_shape().as_list(), [b])
  
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 TDLambdaTest obj's underlying member method code with example usage: obj.testShapeInferenceDynamic(sequence_length, batch_size) without return types