code: def testPdfTwoBatchesNontrivialX(self):
      a = [1.0, 2]
      b = [1.0, 2]
      x = [0.3, 0.7]
      dist = beta_lib.Beta(a, b)
      pdf = dist.prob(x)
      self.assertAllClose(
          [1, 63.0 / 50], self.evaluate(pdf), rtol=1e-5, atol=1e-5
      )
      self.assertEqual((2,), pdf.get_shape())
  
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 8 for calling the BetaTest obj's underlying member method code with example usage: obj.testPdfTwoBatchesNontrivialX() without return types