code: def testIncompatibleArgShapesGraph(self):
      power = tf.Variable(
          tf.ones([2, 3], dtype=self.dtype),
          shape=tf.TensorShape(None),
          name="pow",
      )
      self.evaluate(power.initializer)
      with self.assertRaisesRegexp(Exception, r"compatible shapes"):
          d = generalized_normal.GeneralizedNormal(
              loc=tf.zeros([4, 1], dtype=self.dtype),
              scale=tf.ones([4, 1], dtype=self.dtype),
              power=power,
              validate_args=True,
          )
          self.evaluate(d.mean())
  
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 23 for calling the _GeneralizedNormalTest obj's underlying member method code with example usage: obj.testIncompatibleArgShapesGraph() without return types