# megengine.random¶

 RNG RNG exposes a number of methods for generating random numbers.
 seed permutation Generates a random permutation of integers from $$0$$ to $$n - 1$$.

## 分布（Distribution）¶

 normal 服从高斯分布的随机变量 $$N(\mu, \sigma)$$ uniform 服从均匀分布 $U(0, 1)$ 的随机变量 beta Random variable with Beta distribution $$\operatorname{Beta}(\alpha, \beta)$$. gamma Random variable with Gamma distribution $$\Gamma(k, \theta)$$. poisson Random variable with poisson distribution $$\operatorname{Poisson}(\lambda)$$.