Sample from the standard Gumbel distribution.
The values are sampled from a standard Gumbel distribution
which CDF exp(-exp(-x))
.
- Parameters:
shape (list(int)) – The shape of the output.
dtype (Dtype, optional) – The data type of the output.
Default: float32
.
key (array, optional) – A PRNG key. Default: None
.
- Returns:
The array
with shape shape
and distributed according
to the Gumbel distribution.
- Return type:
array