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: added ifft2 #23588

Merged
merged 5 commits into from
Sep 16, 2023
Merged

feat: added ifft2 #23588

merged 5 commits into from
Sep 16, 2023

Conversation

roudik
Copy link
Contributor

@roudik roudik commented Sep 14, 2023

PR Description

Related Issue

Close #23585

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

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.

Protected Branch

In order to be considered for merging, the pull request changes must not be implemented on the "main" branch. This is described in our Contributing Guide. We are closing this pull request and we would suggest that you implement your changes as described in our Contributing Guide and open a new pull request.

@ivy-leaves ivy-leaves added the JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist label Sep 14, 2023
@roudik
Copy link
Contributor Author

roudik commented Sep 14, 2023

@hello-fri-end Hey! Please, note that the function implemented is dependent on a backend function that might not have been implemented yet. The code for ifft2 in Jax frontend should be correct, and any errors should be resulting from calling ivy.ifft2.

@a0m0rajab a0m0rajab modified the milestone: #10388 Sep 14, 2023
@roudik roudik changed the title ifft2 feat: added ifft2 Sep 15, 2023
Copy link
Contributor

@hello-fri-end hello-fri-end left a comment

Choose a reason for hiding this comment

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

Hey @roudik ! Thanks for working on this task, this is already a great PR. Just left a minor comments, please resolve it and I'll be happy to review the PR again. Thanks :)

@handle_frontend_test(
fn_tree="jax.numpy.fft.ifft2",
dtype_values=helpers.dtype_and_values(
available_dtypes=helpers.get_dtypes("complex"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
available_dtypes=helpers.get_dtypes("complex"),
available_dtypes=helpers.get_dtypes("valid"),

This should always be valid - if only complex data-type is supported by the function then that's what valid will return.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should always be valid - if only complex data-type is supported by the function then that's what valid will return.

Dear @hello-fri-end, just changed it to valid. Any other comments?

Copy link
Contributor

@hello-fri-end hello-fri-end left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the contribution @roudik 🚀

@hello-fri-end hello-fri-end merged commit 53ed4ff into ivy-llc:main Sep 16, 2023
132 of 135 checks passed
iababio pushed a commit to iababio/ivy that referenced this pull request Sep 27, 2023
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
JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ifft2
4 participants