cupy.random.gumbel¶
-
cupy.random.gumbel(loc=0.0, scale=1.0, size=None, dtype=<class 'float'>)[source]¶ Returns an array of samples drawn from a Gumbel distribution.
The samples are drawn from a Gumbel distribution with location
locand scalescale. Its probability density function is defined as\[f(x) = \frac{1}{\eta} \exp\left\{ - \frac{x - \mu}{\eta} \right\} \exp\left[-\exp\left\{-\frac{x - \mu}{\eta} \right\}\right],\]where \(\mu\) is
locand \(\eta\) isscale.- Parameters
- Returns
Samples drawn from the Gumbel distribution.
- Return type
See also