code: def testLogProbBroadcastOverDfInsideMixture(self):
      dims = 2
      scale = np.float32([[0.5, 0.25], [0.25, 0.75]])  #
      df = np.arange(3.0, 8.0, dtype=np.float32)
      dist = mixture_same_family.MixtureSameFamily(
          components_distribution=wishart.WishartTriL(
              df=df, scale_tril=chol(scale), validate_args=True
          ),
          mixture_distribution=categorical.Categorical(
              logits=tf.zeros(df.shape)
          ),
      )
      x = np.random.randn(dims, dims)
      x = np.matmul(x, x.T)
      lp = dist.log_prob(x)
      lp_ = self.evaluate(lp)
      self.assertAllEqual([], dist.batch_shape)
      self.assertAllEqual([], lp.shape)
      self.assertAllEqual([], lp_.shape)
  
imports: import numpy
  from scipy import linalg
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import categorical
  from tensorflow_probability.python.distributions import mixture_same_family
  from tensorflow_probability.python.distributions import wishart
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 22 for calling the WishartTest obj's underlying member method code with example usage: obj.testLogProbBroadcastOverDfInsideMixture() without return types