dpnp.random.randn

dpnp.random.randn(*args, dtype=None, device=None, usm_type=None, sycl_queue=None)[source]

Return a sample (or samples) from the standard normal distribution.

For full documentation refer to numpy.random.randn.

Parameters:
%(dtype)s
%(queue)s
%(usm)s

Examples

Samples of the normal distribution of mean 3 and variance 6.25:

>>> import dpnp as np
>>> x = 3 + 2.5 * np.random.randn(2, 4)
>>> x.shape
(2, 4)