docstr: Tests that the output of the inverse delta transformation is correct.
docstr_tok: ["Tests","that","the","output","of","the","inverse","delta","transformation","is","correct","."]
code: def testTailBijectorRandomInputNonZeroDelta(self, delta):
      """Tests that the output of the inverse delta transformation is correct."""
      vals = np.linspace(-1, 1, num=10)
      ht = lambertw_transform.LambertWTail(
          shift=0.0,
          scale=1.0,
          tailweight=tf.constant(delta, tf.float64),
      )
      # Gaussianizing makes the values be further away from zero, i.e., their
      # ratio > 1 (for vals != 0).
      self.assertTrue(
          np.all(self.evaluate(ht.forward(vals)) / vals > 1.0)
      )
      self.assertAllClose(ht.inverse(ht.forward(vals)), vals)
      self.assertAllClose(
          ht.forward(vals), _xexp_delta_squared_numpy(vals, delta)
      )
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import special
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import lambertw_transform
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 4 for calling the HeavyTailOnlyBijectorTest obj's underlying member method code with example usage: obj.testTailBijectorRandomInputNonZeroDelta(delta) without return types