[Numpy-discussion] Create a method to index N-dim tensors using 1D index #23992

2023-06-20 Thread Daniel Salles Civitarese
### Proposed new feature or change: I work with geospatial data that requires tensors with many dimensions. One challenge I used to have was when I had to implement a `__getitem__` to access those tensors using a 1D index. One use case is machine learning, when one needs to feed models sequenti

[Numpy-discussion] Create a method to index N-dim tensors using 1D index

2023-06-20 Thread Daniel Salles Civitarese
### Proposed new feature or change: I work with geospatial data that requires tensors with many dimensions. One challenge I used to have was when I had to implement a `__getitem__` to access those tensors using a 1D index. One use case is machine learning, when one needs to feed models sequenti