Mojo function
slice_dim_as_view
slice_dim_as_view[type: DType, rank: Int, dim: Int](tensor: NDBuffer[type, rank, origin, shape, strides, alignment=alignment, address_space=address_space, exclusive=exclusive], start: Int, end: Int, step: Int) -> NDBuffer[type, rank, origin]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!