Skip to main content
Log in

Mojo function

arange

arange(tensor: LayoutTensor[dtype, layout, rank, address_space=address_space, element_layout=element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment], start: SIMD[dtype, 1] = SIMD(0), step: SIMD[dtype, 1] = SIMD(1), end: SIMD[dtype, 1] = max_finite[::DType]())