code: def testCDF(self):
      batch_size = 6
      concentration = tf.constant([2.0] * batch_size)
      rate = tf.constant([3.0] * batch_size)
      x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
  
      d = exp_gamma_lib.ExpGamma(
          concentration=concentration, rate=rate, validate_args=True
      )
      d_lr = exp_gamma_lib.ExpGamma(
          concentration=concentration,
          log_rate=tf.math.log(rate),
          validate_args=True,
      )
      cdf = d.cdf(x)
      self.assertEqual(cdf.shape, (6,))
      expected_cdf = tfb.Log()(
          gamma.Gamma(concentration=concentration, rate=rate)
      ).cdf(x)
      self.assertAllClose(cdf, expected_cdf)
      self.assertAllClose(d_lr.cdf(x), expected_cdf)
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import misc
  from scipy import special
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.distributions import exp_gamma
  from tensorflow_probability.python.distributions import gamma
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions.internal import statistical_testing
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 6 for calling the ExpGammaTest obj's underlying member method code with example usage: obj.testCDF() without return types