dpnp.random.Generator.random

method

Generator.random(size=None, dtype=None, out=None, *, usm_type='device')[source]

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

For full documentation refer to numpy.random.Generator.random.

Limitations

dtype defaults to the default floating-point type of the device. usm_type sets the type of USM allocation of the output.