copapy.arange#
- copapy.arange(start, stop=None, step=1)#
Create a tensor with evenly spaced values.
- Overloads:
- Parameters:
start (
int|float) – Start value (or stop if stop is None).stop (
int|float|None) – Stop value (exclusive).step (
int|float) – Step between values.
- Returns:
A 1D tensor, of floats if any argument is a float.