dpnp.random.random

dpnp.random.random(size)[source]

Return random floats in the half-open interval [0.0, 1.0). Alias for random_sample.

For full documentation refer to numpy.random.random.

Limitations

Output array data type is dpnp.float64.

Examples

>>> s = dpnp.random.random(1000)