-
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
index_add_ #26761
index_add_ #26761
Conversation
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.
PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Conventional Commit PR Title
In order to be considered for merging, the pull request title must match the specification in conventional commits. You can edit the title in order for this check to pass.
Most often, our PR titles are something like one of these:
- docs: correct typo in README
- feat: implement dark mode"
- fix: correct remove button behavior
Linting Errors
- Found type "null", must be one of "feat","fix","docs","style","refactor","perf","test","build","ci","chore","revert"
- No subject found
Thank you for this PR, here is the CI results: This pull request does not result in any additional test failures. Congratulations! |
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.
Hey @imsoumya18 ! Thanks for taking the time to work on this. Actually, we have a policy for keeping the frontend implementations short and this implementation is 25 lines long and there are 3 nested while loops in the code. Ideally, the frontend implementations should only contain a few lines. Therefore, I would advice you to first create an issue in our repo for adding the index_add
function to ivy's functional API using this template guide. A memeber of our team will team review the request and add it to an open task. Then it's your choice, if you want to take it up yourself and wait for someelse else to pick it up. Otherwise, if you feel there's a way of making the frontend implementation short without adding this function to our functional API, I'd be happy to discuss the approach with you as well. Thanks !
@NiteshK84 can u please have a look at it? Same as #26394 but, in place version. |
Hi @imsoumya18, |
as per the policy, we will have to update your previous function implementation as well. |
I tried that. But, other devs didn't merge that saying a new functional API is unnecessary for such small reason and gave a green signal to go forward with this approach. That's why this is stuck for a long time. I'll try to pass the tests and let u know. |
If that is the case, then you can sure go forward and work on fixing the remaining failing test cases. |
@NiteshK84 all tests passed !! |
@NiteshK84 all tests are passing now. Have a look at it... |
PR Description
index_add_ method in Paddla FrontEnd
Related Issue
index_add_ #26393
Close #26393
Checklist
Socials
Twitter