a Jax convolv2d for real 2D arrays #15204
Unanswered
jecampagne
asked this question in
Q&A
Replies: 1 comment 13 replies
-
Thanks for the question and the demo code! As written, I don't think this would be compatible with JAX transforms like The best way to test it is to try it out: put I think we'd be open to adding this to the |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Well,
I was quite surprise to not find an equivalent of scipy
fftconvolve
in the current JAX version. I probably miss something.So I have setup a personal crude implementation nb in Colab
I was wandering is my
convolve2r
function is compliant with jax.vmap & jax.jacrev. Of course any suggestion to speed up and make better implementation is welcome. One thing for instance is that the scipy fftnext_fast_len
function is not implemented in JAX. This function compute the size in power of small numbers (2,3,..) greater to the original size, to get FFT working well.Thanks
Beta Was this translation helpful? Give feedback.
All reactions