megengine.random¶
|
Generates a random permutation of integers from \(0\) to \(n - 1\). |
分布(Distribution)¶
服从高斯分布的随机变量 \(N(\mu, \sigma)\) |
|
服从均匀分布 $U(0, 1)$ 的随机变量 |
|
Random variable with Beta distribution \(\operatorname{Beta}(\alpha, \beta)\). |
|
Random variable with Gamma distribution \(\Gamma(k, \theta)\). |
|
Random variable with poisson distribution \(\operatorname{Poisson}(\lambda)\). |