dpnp.random.ranf
- dpnp.random.ranf(size)[source]
Return random floats in the half-open interval [0.0, 1.0). This is an alias of random_sample.
For full documentation refer to
numpy.random.ranf
.Limitations
Output array data type is
dpnp.float64
.Examples
>>> s = dpnp.random.ranf(1000)
See also