Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support slicing with fewer axes than tensor input #1065

Open
rdragos opened this issue Apr 27, 2022 · 0 comments
Open

Support slicing with fewer axes than tensor input #1065

rdragos opened this issue Apr 27, 2022 · 0 comments

Comments

@rdragos
Copy link
Contributor

rdragos commented Apr 27, 2022

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 rdragos changed the title Support slicing with fewer axis than tensor input Support slicing with fewer axes than tensor input Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant