Mojo function
slice_dim_as_view
slice_dim_as_view[dtype: DType, dim: Int](tensor: LayoutTensor[dtype, layout, origin, address_space=address_space, element_layout=element_layout, layout_int_type=layout_int_type, linear_idx_type=linear_idx_type, masked=masked, alignment=alignment], start: Int, end: Int, step: Int) -> LayoutTensor[dtype, row_major[::Int](), origin, address_space=address_space]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!