code: def testPmfAndCdfPStretchedInBroadcastWhenLowerRank(self):
      p = [0.1, 0.4]
      counts = [[1.0], [0.0]]
      binom = binomial_lib.Binomial(
          total_count=1.0, probs=p, validate_args=True
      )
      pmf = binom.prob(counts)
      cdf = binom.cdf(counts)
      self.assertAllClose([[0.1, 0.4], [0.9, 0.6]], self.evaluate(pmf))
      self.assertAllClose([[1.0, 1.0], [0.9, 0.6]], self.evaluate(cdf))
      self.assertEqual((2, 2), pmf.shape)
      self.assertEqual((2, 2), cdf.shape)
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import binomial
  from tensorflow_probability.python.internal import implementation_selection
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 15 for calling the BinomialTest obj's underlying member method code with example usage: obj.testPmfAndCdfPStretchedInBroadcastWhenLowerRank() without return types