dpnp.random.RandomState.random_sample

method

RandomState.random_sample(size=None, dtype=None, *, usm_type='device')[source]

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

For full documentation refer to numpy.random.RandomState.random_sample.