-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
fix: tf backend get_item and add set_item #28823
Conversation
except IndexError: | ||
raise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remove this so the backend implementation can be called, which handles an IndexError when the query is a multi-dimensional tensor
@hmahmood24 does this look ok? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sam-Armstrong Looks good! get_item
is a critical function used everywhere so might be good to keep this on a separate branch and rerunning the integration tests from this branch to see this change doesn't break any other case and then merge into main
. What do you think?
d5e3461
to
2ee38cf
Compare
Co-authored-by: ivy-dev-bot <[email protected]>
Fixes ivy.get_item with a tensorflow backend in the case that the query passed is a multi-dimensional tensor.