code: def testExponentialEntropy(self):
      lam_v = np.array([1.0, 4.0, 2.5])
      dist = exponential.Exponential(rate=lam_v, validate_args=True)
      self.assertEqual(dist.entropy().shape, (3,))
      expected_entropy = sp_stats.expon.entropy(scale=1 / lam_v)
      self.assertAllClose(
          self.evaluate(dist.entropy()), expected_entropy
      )
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import exponential
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 7 for calling the ExponentialTest obj's underlying member method code with example usage: obj.testExponentialEntropy() without return types