code: def testSampleAndPdfConsistency2d(self):
      uniform = spherical_uniform.SphericalUniform(
          dimension=2,
          batch_shape=[2],
          dtype=self.dtype,
          validate_args=True,
          allow_nan_stats=False,
      )
      self.VerifySampleAndPdfConsistency(uniform)
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import beta
  from tensorflow_probability.python.distributions import spherical_uniform
  from tensorflow_probability.python.distributions.internal import statistical_testing
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.stats import sample_stats
label_desc: Use image node_id 2 for calling the _SphericalUniformTest obj's underlying member method code with example usage: obj.testSampleAndPdfConsistency2d() without return types