# tensorplay.fft.fftshift

Source: https://www.tensorplay.cn/docs/generated/tensorplay.fft.fftshift.html

# tensorplay.fft.fftshift

tensorplay.fft.fftshift(input, dim=None)[[source]](../_modules/tensorplay/fft.html#fftshift)

Re-orders an N-D FFT output so the zero-frequency term is centered.

Shifts by +n // 2 along each (or the given) dimension(s).
