class_docstr: Tests correctness of the inline constructed bijector.
code: def testShapeGetters(self):
      bijector = inline.Inline(
          forward_event_shape_tensor_fn=lambda x: tf.concat(
              (x, [1]), 0
          ),
          forward_event_shape_fn=lambda x: tensorshape_util.as_list(x)
          + [1],
          inverse_event_shape_tensor_fn=lambda x: x[:-1],
          inverse_event_shape_fn=lambda x: x[:-1],
          forward_min_event_ndims=0,
          name="shape_only",
      )
      x = tf.TensorShape([1, 2, 3])
      y = tf.TensorShape([1, 2, 3, 1])
      self.assertAllEqual(y, bijector.forward_event_shape(x))
      self.assertAllEqual(
          tensorshape_util.as_list(y),
          self.evaluate(
              bijector.forward_event_shape_tensor(
                  tensorshape_util.as_list(x)
              )
          ),
      )
      self.assertAllEqual(x, bijector.inverse_event_shape(y))
      self.assertAllEqual(
          tensorshape_util.as_list(x),
          self.evaluate(
              bijector.inverse_event_shape_tensor(
                  tensorshape_util.as_list(y)
              )
          ),
      )
  
file_path: probability/tensorflow_probability/python/bijectors/inline_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import inline
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the InlineBijectorTest obj's underlying member method code with example usage: obj.testShapeGetters() without return types