moose icon indicating copy to clipboard operation
moose copied to clipboard

Support slicing with fewer axes than tensor input

Open rdragos opened this issue 2 years ago • 0 comments

Currently we need to specify for all axes how we do slicing. In numpy, and other higher level languages one can simply do x[:1].

We'd like add the numpy slicing convention in the runtime, see for more details: https://numpy.org/doc/stable/user/basics.indexing.html

rdragos avatar Apr 27 '22 15:04 rdragos