-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
Description
Add adjoint-Jacobian specialization for reverse mode for the fast Fourier transform (FFT) and its inverse.
Example
FFT case
If y = fft(x), then the adjoint-Jacobian is just the inverse FFT applied to the adjoint of the result,
adjoint(x) += ifft(adjoint(y))
Inverse FFT case
If y = ifft(x), then the adjoint-Jacobian update rule is inverted,
adjoint(x) += fft(adjoint(y))
Expected Output
Still passes tests, but is faster and uses less memory.
Current Version:
v4.3.2