code: def testMoyalLogPdfMultidimensional(self):
      batch_size = 6
      loc = np.array([[2.0, 4.0, 5.0]] * batch_size, dtype=self.dtype)
      scale = np.array([1.0], dtype=self.dtype)
      x = np.array([[2.0, 3.0, 4.0, 5.0, 6.0, 7.0]], dtype=self.dtype).T
  
      dist = moyal.Moyal(
          loc=self.make_tensor(loc),
          scale=self.make_tensor(scale),
          validate_args=True,
      )
      log_pdf = dist.log_prob(self.make_tensor(x))
      self.assertAllClose(
          self.evaluate(log_pdf),
          stats.moyal.logpdf(x, loc=loc, scale=scale),
      )
  
      pdf = dist.prob(self.make_tensor(x))
      self.assertAllClose(
          self.evaluate(pdf), stats.moyal.pdf(x, loc=loc, scale=scale)
      )
  
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 5 for calling the _MoyalTest obj's underlying member method code with example usage: obj.testMoyalLogPdfMultidimensional() without return types