Applying Fourier transform

Applying FFT and IFFT over CIFAR by this approach is correct?

x = torch.rfft(x, 1)
.
.
.
x = torch.irfft(x, 1)