cupy.random.uniform#
- cupy.random.uniform(low=0.0, high=1.0, size=None, dtype=<class 'float'>)[source]#
Returns an array of uniformly-distributed samples over an interval.
Samples are drawn from a uniform distribution over the half-open interval
[low, high)
. The samples may contain thehigh
limit due to floating-point rounding.- Parameters:
- Returns:
Samples drawn from the uniform distribution.
- Return type:
See also