dpnp.random.weibull

dpnp.random.weibull(a, size=None)[source]

Draw samples from a Weibull distribution.

For full documentation refer to numpy.random.weibull.

Limitations

Parameter a is supported as a scalar. Otherwise, numpy.random.weibull(a, size) samples are drawn. Output array data type is dpnp.float64.

Examples

>>> a = 5. # shape
>>> s = np.random.weibull(a, 1000)