class_docstr: Tests correctness of the TransformDiagonal bijector.
class_docstr_tok: ["Tests","correctness","of","the","TransformDiagonal","bijector","."]
code: def testTheoreticalFldjNormalCDF(self):
      # b/137367959 test failure trigger case (resolved by using
      # experimental_use_pfor=False as fallback instead of primary in
      # bijector_test_util.get_fldj_theoretical)
      bijector = transform_diagonal.TransformDiagonal(
          diag_bijector=normal_cdf.NormalCDF()
      )
      x = np.zeros([0, 0])
      fldj = bijector.forward_log_det_jacobian(x, event_ndims=2)
      fldj_theoretical = bijector_test_util.get_fldj_theoretical(
          bijector, x, event_ndims=2, inverse_event_ndims=2
      )
      self.assertAllClose(
          self.evaluate(fldj_theoretical),
          self.evaluate(fldj),
          atol=1e-5,
          rtol=1e-5,
      )
  
file_path: probability/tensorflow_probability/python/bijectors/transform_diagonal_test.py
imports: from absl import logging
  import hypothesis
  import hypothesis.strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import hypothesis_testlib
  from tensorflow_probability.python.bijectors import normal_cdf
  from tensorflow_probability.python.bijectors import transform_diagonal
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the TransformDiagonalBijectorTest obj's underlying member method code with example usage: obj.testTheoreticalFldjNormalCDF() without return types