cupy.random.random_integers¶
-
cupy.random.random_integers(low, high=None, size=None)[source]¶ Return a scalar or an array of integer values over
[low, high]Each element of returned values are independently sampled from uniform distribution over closed interval
[low, high].- Parameters
- Returns
If size is
None, it is single integer sampled. If size is integer, it is the 1D-array of lengthsizeelement. Otherwise, it is the array whose shape specified bysize.- Return type
int or cupy.ndarray of ints