code: def testGeneralizedNormalEntropyWithScalarInputs(self):
      loc_v = 2.34
      scale_v = 4.56
      power_v = 7.89
  
      gnormal = generalized_normal.GeneralizedNormal(
          loc=self.make_input(loc_v),
          scale=self.make_input(scale_v),
          power=self.make_input(power_v),
          validate_args=True,
      )
      entropy = gnormal.entropy()
      self.assertAllEqual(
          self.evaluate(gnormal.batch_shape_tensor()), entropy.shape
      )
      self.assertAllEqual(
          self.evaluate(gnormal.batch_shape_tensor()),
          self.evaluate(entropy).shape,
      )
      self.assertAllEqual(gnormal.batch_shape, entropy.shape)
      self.assertAllEqual(
          gnormal.batch_shape, self.evaluate(entropy).shape
      )
      expected_entropy = sp_stats.gennorm(
          power_v, loc=loc_v, scale=scale_v
      ).entropy()
      self.assertAllClose(expected_entropy, self.evaluate(entropy))
  
imports: import math
  import numpy
  from scipy import stats
  from scipy.special import gamma
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import generalized_normal
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 12 for calling the _GeneralizedNormalTest obj's underlying member method code with example usage: obj.testGeneralizedNormalEntropyWithScalarInputs() without return types