code: def testEntropy(self, dist):
      loc, scale, conc = self.evaluate(
          [dist.loc, dist.scale, dist.concentration]
      )
      self.assertEqual(dist.batch_shape, dist.entropy().shape)
      expected = sp_stats.genpareto.entropy(conc, loc=loc, scale=scale)
      actual = self.evaluate(dist.entropy())
      self.assertAllClose(expected, actual)
  
imports: import hypothesis
  import hypothesis.strategies
  import numpy
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import generalized_pareto
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 9 for calling the GeneralizedParetoTest obj's underlying member method code with example usage: obj.testEntropy(dist) without return types