class_docstr: Tests correctness of the Y = g(X) = sinh(X) transformation.
code: def testBijector(self):
      self.assertStartsWith(sinh.Sinh().name, "sinh")
      x = (
          np.linspace(-50.0, 50.0, 100)
          .reshape([2, 5, 10])
          .astype(np.float64)
      )
      y = np.sinh(x)
      ildj = -0.5 * np.log1p(np.square(y))
      bijector = sinh.Sinh()
      self.assertAllClose(
          y, self.evaluate(bijector.forward(x)), atol=0.0, rtol=1e-2
      )
      self.assertAllClose(
          x, self.evaluate(bijector.inverse(y)), atol=0.0, rtol=1e-4
      )
      self.assertAllClose(
          ildj,
          self.evaluate(
              bijector.inverse_log_det_jacobian(y, event_ndims=0)
          ),
          atol=0.0,
          rtol=1e-6,
      )
      self.assertAllClose(
          -ildj,
          self.evaluate(
              bijector.forward_log_det_jacobian(x, event_ndims=0)
          ),
          atol=0.0,
          rtol=1e-4,
      )
  
file_path: probability/tensorflow_probability/python/bijectors/sinh_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import sinh
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the SinhBijectorTest obj's underlying member method code with example usage: obj.testBijector() without return types