-
Notifications
You must be signed in to change notification settings - Fork 661
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 and FFT2 inverse #2845
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2845 +/- ##
============================================
+ Coverage 72.08% 72.28% +0.19%
- Complexity 5126 7160 +2034
============================================
Files 473 708 +235
Lines 21970 31908 +9938
Branches 2351 3313 +962
============================================
+ Hits 15838 23066 +7228
- Misses 4925 7263 +2338
- Partials 1207 1579 +372
☔ View full report in Codecov by Sentry. |
* @return The truncated or zero-padded input, transformed along the dimensions indicated by | ||
* dims | ||
*/ | ||
NDArray fft2(long[] sizes, long[] dims); |
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.
Can you use axes
instead of dims
to be more consistent with the other operations in NDArray? Otherwise, your contribution looks good
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.
Done
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.
LGTM!
* Added 2D FFT * Format java * Add default fft2 * Convert array to vectors * Add inverse fft2 * Add better assersion in ifft2 test * Add really better assersion in ifft2 test * Move cast bellow ifft2 for unsupported exception * Format java * changed dims to axes * changed dims to axes
Description
Brief description of what this PR is about