class_docstr: Tests correctness of the NormalCDF bijector.
class_docstr_tok: ["Tests","correctness","of","the","NormalCDF","bijector","."]
code: def testValidateArgs(self):
      bijector = normal_cdf.NormalCDF(validate_args=True)
      with self.assertRaisesOpError("must be greater than 0"):
          self.evaluate(bijector.inverse(-1.0))
  
      with self.assertRaisesOpError("must be greater than 0"):
          self.evaluate(
              bijector.inverse_log_det_jacobian(-1.0, event_ndims=0)
          )
  
      with self.assertRaisesOpError("must be less than or equal to 1"):
          self.evaluate(bijector.inverse(2.0))
  
      with self.assertRaisesOpError("must be less than or equal to 1"):
          self.evaluate(
              bijector.inverse_log_det_jacobian(2.0, event_ndims=0)
          )
  
file_path: probability/tensorflow_probability/python/bijectors/normal_cdf_test.py
imports: import numpy
  from scipy import stats
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import normal_cdf
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 2 for calling the NormalCDFBijectorTest obj's underlying member method code with example usage: obj.testValidateArgs() without return types