dpnp.random.Generator.integers

method

Generator.integers(low, high=None, size=None, dtype=<class 'numpy.int64'>, endpoint=False, *, usm_type='device')[source]

Return random integers from low (inclusive) to high (exclusive), or if endpoint=True, low (inclusive) to high (inclusive).

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

Limitations

usm_type is not in NumPy's signature. The values drawn differ from NumPy's for the same range, as there is no buffering of 32-bit draws for the narrow types.