code: def VerifyEntropy(self, dim):
      uniform = spherical_uniform.SphericalUniform(
          dimension=dim,
          batch_shape=tuple(),
          dtype=self.dtype,
          validate_args=True,
          allow_nan_stats=False,
      )
      samples = uniform.sample(int(1e3), seed=test_util.test_seed())
      entropy_samples = -uniform.log_prob(samples)
      true_entropy, entropy_samples = self.evaluate(
          [uniform.entropy(), entropy_samples]
      )
      self.assertAllMeansClose(
          entropy_samples, true_entropy, axis=0, rtol=1e-5
      )
  
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 15 for calling the _SphericalUniformTest obj's underlying member method code with example usage: obj.VerifyEntropy(dim) without return types