dpnp.random.MRG32k3a.random_raw

method

MRG32k3a.random_raw(size=None, output=True, *, usm_type='device')

Return raw 64-bit outputs of the bit generator.

Parameters:
size{None, int, tuple of ints}, optional

Output shape. With None, a zero-dimensional array is returned.

Default: None.

outputbool, optional

If False, the state is advanced as if the values had been drawn, and None is returned.

Default: True.

usm_type{"device", "shared", "host"}, optional

The type of SYCL USM allocation for the output array.

Default: "device".

Returns:
out{None, dpnp.ndarray}

An array of uint64 values.

Limitations

Unlike NumPy, a zero-dimensional array is returned rather than a Python integer when size is None.