- cupy.arange(start, stop=None, step=1, dtype=None)#
Returns an array with evenly spaced values within a given interval.
Values are generated within the half-open interval [start, stop). The first three arguments are mapped like the
rangebuilt-in function, i.e. start and step are optional.
start – Start of the interval.
stop – End of the interval.
step – Step width between each pair of consecutive values.
dtype – Data type specifier. It is inferred from other arguments by default.
The 1-D array of range values.
- Return type: