code: def testGumbelShape(self):
      loc = np.array([3.0] * 5, dtype=self._dtype)
      scale = np.array([3.0] * 5, dtype=self._dtype)
      dist = gumbel.Gumbel(loc=loc, scale=scale, validate_args=True)
  
      self.assertEqual((5,), self.evaluate(dist.batch_shape_tensor()))
      self.assertEqual(tf.TensorShape([5]), dist.batch_shape)
      self.assertAllEqual([], self.evaluate(dist.event_shape_tensor()))
      self.assertEqual(tf.TensorShape([]), dist.event_shape)
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import gumbel
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the _GumbelTest obj's underlying member method code with example usage: obj.testGumbelShape() without return types