class_docstr: Tests the correctness of the Y = Invert(bij) transformation.
code: def testShapeGetters(self):
      bijector = invert.Invert(
          softmax_centered.SoftmaxCentered(validate_args=True)
      )
      x = tf.TensorShape([2])
      y = tf.TensorShape([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)
              )
          ),
      )
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import identity
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.bijectors import scale_matvec_diag
  from tensorflow_probability.python.bijectors import shift
  from tensorflow_probability.python.bijectors import softmax_centered
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.distributions import gamma
  from tensorflow_probability.python.distributions import transformed_distribution
  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 InvertBijectorTest obj's underlying member method code with example usage: obj.testShapeGetters() without return types