code: def testSimpleShapes(self):
      alpha = np.random.rand(3)
      dist = dm.DirichletMultinomial(1.0, alpha, validate_args=True)
      self.assertEqual(3, self.evaluate(dist.event_shape_tensor()))
      self.assertAllEqual([], self.evaluate(dist.batch_shape_tensor()))
      self.assertEqual(tf.TensorShape([3]), dist.event_shape)
      self.assertEqual(tf.TensorShape([]), dist.batch_shape)
  
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import dirichlet_multinomial
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 2 for calling the DirichletMultinomialTest obj's underlying member method code with example usage: obj.testSimpleShapes() without return types