cupy.random.normal¶
- cupy.random.normal(loc=0.0, scale=1.0, size=None, dtype=<class 'float'>)[source]¶
Returns an array of normally distributed samples.
- Parameters
loc (float or array_like of floats) – Mean of the normal distribution.
scale (float or array_like of floats) – Standard deviation of the normal distribution.
size (int or tuple of ints) – The shape of the array. If
None
, a zero-dimensional array is generated.dtype – Data type specifier. Only
numpy.float32
andnumpy.float64
types are allowed.
- Returns
Normally distributed samples.
- Return type
See also