Skip to main content

Mojo function

slice_dim_as_view

slice_dim_as_view[dtype: DType, rank: Int, dim: Int](tensor: NDBuffer[dtype, rank, origin, shape, strides, alignment=alignment, address_space=address_space, exclusive=exclusive], start: Int, end: Int, step: Int) -> NDBuffer[dtype, rank, origin]

Was this page helpful?