class_docstr: Tests correctness of the Moyal bijector.
code: def testBijector(self):
      loc = 0.3
      scale = 5.0
      bijector = moyal_cdf.MoyalCDF(
          loc=loc, scale=scale, validate_args=True
      )
      self.assertStartsWith(bijector.name, "moyal")
      x = np.array(
          [[[-3.0], [0.0], [0.5], [4.2], [12.0]]], dtype=np.float32
      )
      # Moyal distribution
      moyal_dist = stats.moyal(loc=loc, scale=scale)
      y = moyal_dist.cdf(x).astype(np.float32)
      self.assertAllClose(y, self.evaluate(bijector.forward(x)))
      self.assertAllClose(
          x, self.evaluate(bijector.inverse(y)), atol=1e-5, rtol=1e-5
      )
      self.assertAllClose(
          np.squeeze(moyal_dist.logpdf(x), axis=-1),
          self.evaluate(
              bijector.forward_log_det_jacobian(x, event_ndims=1)
          ),
      )
      self.assertAllClose(
          self.evaluate(
              -bijector.inverse_log_det_jacobian(y, event_ndims=1)
          ),
          self.evaluate(
              bijector.forward_log_det_jacobian(x, event_ndims=1)
          ),
          rtol=1e-4,
          atol=0.0,
      )
  
file_path: probability/tensorflow_probability/python/bijectors/moyal_cdf_test.py
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import moyal_cdf
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the MoyalCDFTest obj's underlying member method code with example usage: obj.testBijector() without return types