code: def testSampleWithSameSeed(self):
      if tf.executing_eagerly():
          return
      scale = make_pd(1.0, 2)
      df = 4
      seed = test_util.test_seed()
  
      chol_w = wishart.WishartTriL(
          df,
          scale_tril=chol(scale),
          input_output_cholesky=False,
          validate_args=True,
      )
  
      x = self.evaluate(chol_w.sample(1, seed=seed))
      chol_x = [chol(x[0])]
  
      chol_w_chol = wishart.WishartTriL(
          df,
          scale_tril=chol(scale),
          input_output_cholesky=True,
          validate_args=True,
      )
      self.assertAllClose(
          chol_x, self.evaluate(chol_w_chol.sample(1, seed=seed))
      )
      eigen_values = tf.linalg.diag_part(
          chol_w_chol.sample(1000, seed=seed)
      )
      np.testing.assert_array_less(0.0, self.evaluate(eigen_values))
  
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 12 for calling the WishartTest obj's underlying member method code with example usage: obj.testSampleWithSameSeed() without return types