Move image to frequency domain and calculate the gradient wrt to input image

Hi,

i want to move image to frequency domain by fft, how can i implemnt fft in Pytorch?

torch.fft

1 Like