code: def test_gamma(self):
      seed = np.random.randint(123)
      size = 2
      sh = 0.3
      sc = 1.0
      x_gamma = gamma(sh, sc, size, seed)
      np.random.seed(seed)
      npt.assert_array_equal(
          x_gamma, np.random.gamma(sh, sc, size).astype(np.float32)
      )
  
file_path: cornac/tests/cornac/utils/test_init_utils.py
imports: import unittest
  import numpy.testing
  from cornac.utils.init_utils import *
label_desc: Use image node_id 5 for calling the TestInitUtils obj's underlying member method code with example usage: obj.test_gamma() without return types