chainer.functions.fft¶
-
chainer.functions.
fft
(x)[source]¶ Fast Fourier transform.
Parameters: x (tuple) – (real, imag)
wherereal
is aVariable
or an N-dimensional array storing the real part andimag
is aVariable
or an N-dimensional array storing the imaginary part.Returns: Returns (ry, iy)
wherery
is the real part of the result andiy
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.