Skip to main content

Mojo function

slice_as_copy

slice_as_copy[dtype: DType, index_type: DType, in_rank: Int](output: NDBuffer[dtype, in_rank, origin], tensor: NDBuffer[dtype, in_rank, origin], start: NDBuffer[index_type, 1, origin], end: NDBuffer[index_type, 1, origin], step: NDBuffer[index_type, 1, origin])

Was this page helpful?