I\'d like to slice a tensor (multi-dimensional array) using Rust\'s ndarray library, but the catch is that the tensor is dynamically shaped and the slice is stored in a user