cupy.fft.fft2#
- cupy.fft.fft2(a, s=None, axes=(-2, -1), norm=None)[source]#
Compute the two-dimensional FFT.
- Parameters:
a (cupy.ndarray) – Array to be transform.
s (None or tuple of ints) – Shape of the transformed axes of the output. If
s
is not given, the lengths of the input along the axes specified byaxes
are used.axes (tuple of ints) – Axes over which to compute the FFT.
norm (
"backward"
,"ortho"
, or"forward"
) – Optional keyword to specify the normalization mode. Default isNone
, which is an alias of"backward"
.
- Returns:
The transformed array which shape is specified by
s
and type will convert to complex if the input is other.- Return type:
See also