rfft2¶
- paddle.fft. rfft2 ( x, s=None, axes=(- 2, - 1), norm='backward', name=None ) [source]
-
The two dimensional FFT with real tensor input.
This is really just rfftn with different default behavior. For more details see rfftn.
- Parameters
-
x (Tensor) – Input tensor, taken to be real.
s (Sequence[int]) – Shape of the FFT.
axes (Sequence[int], optional) – Axes over which to compute the FFT.
norm (str, optional) – {“backward”, “ortho”, “forward”}, default is “backward”. Indicates which direction of the forward/backward pair of transforms is scaled and with what normalization factor.
name (str, optional) – The default value is None. Normally there is no need for user to set this property. For more information, please refer to Name .
- Returns
-
The result of the real 2-D FFT.
- Return type
-
out(Tensor)
Raises:
Examples: