-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
FFT for convolution #43
Comments
Not currently, I went for a simpler implementation to start with. Also, I'm not sure how well FFT implementations perform for different sized inputs and whether it will really lead to gains for common use cases i.e. the default filters implemented in this crate 🤔. I've got a lot on my plate right now so probably won't have time to work on this. However, I'm always open to PRs and can offer reviews and guidance. Any PR would also need benchmarks included as well to help measure the performance change. Alternatively, maybe someone on the cv discord would be willing to help. I'll post a link to this issue there https://discord.gg/N82kexYM |
A comment on the discord:
So the original implementation should stay but maybe be called something like |
Hey, I've made a crate provides N-Dimension FFT acceleration convolution for ndarray. |
And ndarray-conv also provides normal convolution and a lot of padding and convolution mode. |
@TYPEmber I've got no issues with depending on your crate, would you be willing to help out with a PR? 👀 |
Of course, but would you like to expose ndarray-conv's interface directly? |
I've had a brief look and yeah I'm happy to expose the interface directly - it'll be a minor bump when it's released but that's fine |
OK, I will try to make a PR recently. |
I wanted to use this library for a CNN. After a quick look at the source, it doesn't look like you use the the FFT algorithm for fast convolution. It is probably worth implementing.
The text was updated successfully, but these errors were encountered: