-
Notifications
You must be signed in to change notification settings - Fork 30
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
ValueError when trying to access an array with zero value in one of shape values #870
Comments
Also similar error for |
oleksandr-pavlyk
changed the title
ValueError when trying to access an array with zero value one of shape values
ValueError when trying to access an array with zero value in one of shape values
Jul 28, 2022
oleksandr-pavlyk
added a commit
that referenced
this issue
Jul 28, 2022
oleksandr-pavlyk
added a commit
that referenced
this issue
Jul 28, 2022
npolina4
added a commit
that referenced
this issue
Jul 28, 2022
ndgrigorian
pushed a commit
to ndgrigorian/dpctl
that referenced
this issue
Sep 8, 2022
Offset should not be incremented if the array is found empty. ``` import dpctl.tensor as dpt X = dpt.empty((0,4), dtype='u1') X[:, 1] # no longer raises ValueError X[:, 1:3] # no longer raises ValueError ```
ndgrigorian
pushed a commit
to ndgrigorian/dpctl
that referenced
this issue
Sep 8, 2022
ndgrigorian
pushed a commit
to ndgrigorian/dpctl
that referenced
this issue
Sep 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproducer:
Output:
The text was updated successfully, but these errors were encountered: