code: def testGammaGammaSample(self):
      alpha_v = 2.0
      alpha0_v = 3.0
      beta0_v = 5.0
      n = 100000
  
      gg = gamma_gamma.GammaGamma(
          concentration=alpha_v,
          mixing_concentration=alpha0_v,
          mixing_rate=beta0_v,
          validate_args=True,
      )
      samples = gg.sample(n, seed=test_util.test_seed())
      sample_values = self.evaluate(samples)
      self.assertEqual(samples.shape, (n,))
      self.assertEqual(sample_values.shape, (n,))
      self.assertAllClose(
          sample_values.mean(), self.evaluate(gg.mean()), rtol=0.02
      )
  
file_path: probability/tensorflow_probability/python/distributions/gamma_gamma_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import gamma_gamma
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 11 for calling the GammaGammaTest obj's underlying member method code with example usage: obj.testGammaGammaSample() without return types