class_docstr: Tests correctness of the Kumaraswamy bijector.
class_docstr_tok: ["Tests","correctness","of","the","Kumaraswamy","bijector","."]
code: def testGradient(self):
      x = tf.Variable(1.0)
      y = tf.Variable(2.0)
      b = kumaraswamy_cdf.KumaraswamyCDF(
          concentration0=x, concentration1=y, validate_args=True
      )
      with tf.GradientTape() as tape:
          loss = b.forward(1.0)
      g = tape.gradient(loss, b.trainable_variables)
      self.assertLen(g, 2)
      self.assertAllNotNone(g)
  
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 8 for calling the KumaraswamyTest obj's underlying member method code with example usage: obj.testGradient() without return types