code: def testGeometricShape(self):
      probs = tf.constant([0.1] * 5)
      geom = geometric.Geometric(probs=probs, validate_args=True)
  
      self.assertEqual(
          [
              5,
          ],
          self.evaluate(geom.batch_shape_tensor()),
      )
      self.assertAllEqual([], self.evaluate(geom.event_shape_tensor()))
      self.assertEqual(tf.TensorShape([5]), geom.batch_shape)
      self.assertEqual(tf.TensorShape([]), geom.event_shape)
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import geometric
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the GeometricTest obj's underlying member method code with example usage: obj.testGeometricShape() without return types