class_docstr: Tests correctness of the Kumaraswamy bijector.
class_docstr_tok: ["Tests","correctness","of","the","Kumaraswamy","bijector","."]
code: def testShapeGetterRaisesException(self):
      x = tf.Variable(-1.0)
      self.evaluate(x.initializer)
      with self.assertRaisesOpError(
          "Argument `concentration1` must be positive."
      ):
          b = kumaraswamy_cdf.KumaraswamyCDF(
              concentration0=1.0, concentration1=x, validate_args=True
          )
          self.evaluate(b.forward_event_shape_tensor([1, 2, 3]))
      with self.assertRaisesOpError(
          "Argument `concentration0` must be positive."
      ):
          b = kumaraswamy_cdf.KumaraswamyCDF(
              concentration0=x, concentration1=1.0, validate_args=True
          )
          self.evaluate(
              b.forward_event_shape_tensor(tf.constant([1, 2, 3]))
          )
  
file_path: probability/tensorflow_probability/python/bijectors/kumaraswamy_cdf_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import kumaraswamy_cdf
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 7 for calling the KumaraswamyTest obj's underlying member method code with example usage: obj.testShapeGetterRaisesException() without return types