Skip to main content

slice

Function slice 

Source
pub fn slice(a: &Array, args: &[SliceArg]) -> Result<Array>
Expand description

Selects start:stop:step in every dimension, with Python semantics (negative indices count from the end, bounds are clamped, steps may be negative). Shares the data.