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

add fft2 function to paddlepaddle frontend! #19058

Closed
wants to merge 7 commits into from

Conversation

ArsalanAli915
Copy link
Contributor

No description provided.

@ArsalanAli915
Copy link
Contributor Author

ArsalanAli915 commented Jul 9, 2023

Close #19052

@ivy-leaves ivy-leaves added the Paddle Frontend Developing the Paddle Frontend, checklist triggered by commenting add_frontend_checklist label Jul 9, 2023
@ivy-leaves
Copy link

If you are working on an open task, please edit the PR description to link to the issue you've created.

For more information, please check ToDo List Issues Guide.

Thank you 🤗

@ArsalanAli915
Copy link
Contributor Author

I am working on to-do list. I have created the pr. please do review it and let me know if any changes are required.

@bipinKrishnan
Copy link
Contributor

Hey @ArsalanAli915 , I couldn't see any todo list task that is linked to the issue mentioned, may be you forgot to comment in the todo list issue. Also, it works best when you add "Close " in the first comment of the PR, I'll just manually link the issue for now. Thanks 🙂

@bipinKrishnan bipinKrishnan linked an issue Jul 11, 2023 that may be closed by this pull request
@ArsalanAli915
Copy link
Contributor Author

ArsalanAli915 commented Jul 11, 2023

hey @bipinKrishnan could you please tell me how long you would take to review it before we can merge the pr.

@ArsalanAli915
Copy link
Contributor Author

hey @bipinKrishnan could you please give me feedback so that we can merge it.

@bipinKrishnan
Copy link
Contributor

bipinKrishnan commented Jul 13, 2023

This might be the to-do list you got the task from - #15047 .Please link it as I mentioned earlier.

@ArsalanAli915
Copy link
Contributor Author

ArsalanAli915 commented Jul 13, 2023

@bipinKrishnan I have linked the issue and also add the "Closed #issue_number" in pr. please check it out.

)
@to_ivy_arrays_and_back
def fft2(x, n=None, axes=(- 2, - 1), norm='backward', name=None):
ret = ivy.fft2(ivy.astype(x, "complex128"), axes, norm=norm, n=n)
Copy link
Contributor

Choose a reason for hiding this comment

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

If you have any specific reason for converting to complex128, let me know. Also ivy.fft2 doesn't take n as an argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bipinKrishnan I have updated the function there is no specific reason for implementing the complex128. please do let me know if other changes are required.

Copy link
Contributor

@bipinKrishnan bipinKrishnan Jul 24, 2023

Choose a reason for hiding this comment

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

In that case, can you remove these type casting to avoid overheads? Also please make the other change about n argument that I mentioned in the comment above.

@ivy-seed ivy-seed added the Stale label Aug 6, 2023
@ivy-seed
Copy link

ivy-seed commented Aug 6, 2023

This PR has been labelled as stale because it has been inactive for more than 7 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 7 days.

@ArsalanAli915 ArsalanAli915 deleted the issue_19052 branch August 9, 2023 10:07
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 Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fft2
4 participants