code: def test_exp(self):
      b = exp.Exp()
      x = self.evaluate(
          tf.random.normal([2, 4], seed=test_util.test_seed())
      )
      y = self.evaluate(
          tf.random.normal([2, 4], seed=test_util.test_seed())
      )
      self.assertAllClose(
          (x - y).sum(-1),
          ldj_ratio.forward_log_det_jacobian_ratio(
              b, x, b, y, event_ndims=1
          ),
      )
      self.assertAllClose(
          (y - x).sum(-1),
          ldj_ratio.inverse_log_det_jacobian_ratio(
              b, b(x), b, b(y), event_ndims=1
          ),
      )
  
file_path: probability/tensorflow_probability/python/bijectors/ldj_ratio_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import ldj_ratio
  from tensorflow_probability.python.bijectors import reciprocal
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import scale_matvec_diag
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 4 for calling the LdjRatioTest obj's underlying member method code with example usage: obj.test_exp() without return types