dpnp.random.sample
- dpnp.random.sample(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.sample
.Limitations
Output array data type is
dpnp.float64
.Examples
>>> s = dpnp.random.sample(1000)
See also