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

feat(paddle): Add frontend index_sample to search.py #23562

Merged

Conversation

ILB-96
Copy link
Contributor

@ILB-96 ILB-96 commented Sep 13, 2023

PR Description

  • New Paddle frontend index_sample function was added to search.py.
  • Test for the new function in test_search.py

Related Issue

23165

Close #23165

Checklist

  • Did you add a function?
  • Did you add the tests?
  • Did you follow the steps we provided?

Socials:

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Compliance Checks Passed!

@ILB-96 ILB-96 changed the title Add Paddle frontend index_sample to search.py feat(paddle): Add frontend index_sample to search.py Sep 13, 2023
@ivy-leaves ivy-leaves added the Paddle Frontend Developing the Paddle Frontend, checklist triggered by commenting add_frontend_checklist label Sep 13, 2023
@a0m0rajab a0m0rajab changed the title feat(paddle): Add frontend index_sample to search.py feat(paddle): Add frontend index_sample to search.py Sep 13, 2023
@a0m0rajab
Copy link
Contributor

Hi @Hazannovich thank you for the PR, I just changed the title and removed a space at the beginning of it, which caused the semantic checks to fail.

Thank you for contributing to ivy though!

@a0m0rajab a0m0rajab modified the milestone: #10388 Sep 14, 2023
YushaArif99

This comment was marked as resolved.

Copy link
Contributor

@YushaArif99 YushaArif99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the previous comments. It turns out I was reviewing the wrong function here 😂. I thought this PR was implementing paddle.index_select which is slightly different from paddle.index_sample (which is what the PR is actually implementing).

With this out of the way, the changes look good to me. All relevant tests are also passing so I'll be going ahead with the merge 👍🏼

@YushaArif99 YushaArif99 merged commit 43c550a into ivy-llc:main Oct 3, 2023
254 of 274 checks passed
druvdub pushed a commit to druvdub/ivy that referenced this pull request Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Paddle Frontend Developing the Paddle Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

index_sample
4 participants