chainer.functions.fft

chainer.functions.fft(x)[source]

Fast Fourier transform.

Parameters

x (tuple) – (real, imag) where real is a Variable or an N-dimensional array storing the real part and imag is a Variable or an N-dimensional array storing the imaginary part.

Returns

Returns (ry, iy) where ry is the real part of the result and iy is the imaginary part of the result.

Return type

tuple

Note

Currently this function supports a tuple as input. It will support a complex numbers directly in the future.