code: def testMoyalShape(self):
      loc = np.array([3.0] * 5, dtype=self.dtype)
      scale = np.array([3.0] * 5, dtype=self.dtype)
      dist = moyal.Moyal(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 kullback_leibler
  from tensorflow_probability.python.distributions import moyal
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the _MoyalTest obj's underlying member method code with example usage: obj.testMoyalShape() without return types