dpnp.random.random_sample

dpnp.random.random_sample(size)[source]

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

For full documentation refer to numpy.random.random_sample.

Limitations

Output array data type is dpnp.float64.

Examples

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