docstr: Tests that the inverse of the heavy tail transform is Normal.
docstr_tok: ["Tests","that","the","inverse","of","the","heavy","tail","transform","is","Normal","."]
code: def testLambertWGaussianizationDeltaNonZero(self):
      """Tests that the inverse of the heavy tail transform is Normal."""
      vals = np.random.normal(
          loc=self.loc, scale=self.scale, size=100
      ).astype(np.float64)
      lsht = lambertw_transform.LambertWTail(
          shift=self.loc, scale=self.scale, tailweight=self.tailweight
      )
      heavy_tailed_vals = lsht.forward(vals)
      _, p = stats.normaltest(self.evaluate(heavy_tailed_vals))
      self.assertLess(p, 1e-2)
      gaussianized_vals = lsht.inverse(heavy_tailed_vals)
      _, p = stats.normaltest(self.evaluate(gaussianized_vals))
      self.assertGreater(p, 0.05)
      self.assertAllClose(vals, gaussianized_vals)
  
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 LambertWGaussianizationTest obj's underlying member method code with example usage: obj.testLambertWGaussianizationDeltaNonZero() without return types