cupy.random.sample#
- cupy.random.sample(size=None, dtype=<class 'float'>)[source]#
Returns an array of random values over the interval
[0, 1)
.This is a variant of
cupy.random.rand()
.- Parameters:
- Returns:
An array of uniformly distributed random values.
- Return type:
See also
numpy.random.random_sample()