code: def testBetaCdf(self):
      shape = (30, 40, 50)
      for dt in (np.float32, np.float64):
          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_lib.Beta(a, b).cdf(x))
          self.assertAllEqual(np.ones(shape, dtype=np.bool_), 0.0 <= x)
          self.assertAllEqual(np.ones(shape, dtype=np.bool_), 1.0 >= x)
          if not stats:
              return
          self.assertAllClose(
              stats.beta.cdf(x, a, b), actual, rtol=9e-3, atol=5e-6
          )
  
imports: import importlib
  import numpy
  from tensorflow.python.eager import backprop
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops.distributions import beta
  from tensorflow.python.ops.distributions import kullback_leibler
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 25 for calling the BetaTest obj's underlying member method code with example usage: obj.testBetaCdf() without return types