tf.random_gamma(shape, alpha, beta=None, dtype=tf.float32, seed=None, name=None)
Draws shape samples from each of the given Gamma distribution(s).
alpha is the shape parameter describing the distribution(s), and beta is the inverse scale parameter(s).
Example:
samples = tf.random_gamma([10], [0.5, 1.5]) # samples has shape [10, 2], where each slice [:, 0] and [:, 1] represents # the samples drawn from each distribution
samples = tf.random_gamma([7, 5], [0.5, 1.5]) # samples has shape [7, 5, 2]