code: def testBetaCdf(self, dt, rtol):
      shape = (30, 4, 5)
      a = 10.0 * np.random.random(shape).astype(dt)
      b = 10.0 * np.random.random(shape).astype(dt)
      x = np.random.random(shape).astype(dt)
      actual = self.evaluate(beta.Beta(a, b, validate_args=True).cdf(x))
      self.assertAllEqual(np.ones(shape, dtype=np.bool_), 0.0 <= x)
      self.assertAllEqual(np.ones(shape, dtype=np.bool_), 1.0 >= x)
      self.assertAllClose(
          sp_stats.beta.cdf(x, a, b), actual, rtol=rtol, atol=0
      )
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import special
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import beta
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 25 for calling the BetaTest obj's underlying member method code with example usage: obj.testBetaCdf(dt, rtol) without return types