//clika-runtime/io.clika.runtime/Ops/arange
arange
[common]
fun arange(start: Tensor, end: Tensor, step: Tensor? = null, dtype: DType = DType.INT64, device: Placement? = null): Tensor
arange(start: Tensor, end: Tensor, step: Tensor? = null, dtype: DType = DType.INT64, device: Placement? = null): the arange operator. Evenly stepped 1-D range over the half-open interval [start, end). out[i] = start + i * step, for ceil((end - start) / step) elements; end itself is never included. Each bound is an int/float literal OR a 0-D Tensor (a tensor bound traces symbolically, never syncing to the host).
[common]
fun arange(start: Double, end: Double, step: Double = 1.0, dtype: DType = DType.INT64, device: Placement? = null): Tensor
arange(start: Double, end: Double, step: Double = 1.0, dtype: DType = DType.INT64, device: Placement? = null): the number form of arange, start, end, step as scalars.