
norm (str, optional) --Normalization mode. For the backward transform ("irfft()"),
these correspond to:

* ""forward"" - no normalization

* ""backward"" - normalize by "1/n"

* ""ortho"" - normalize by "1/sqrt(n)" (making the real IFFT
  orthonormal)

Calling the forward transform ("rfft()") with the same
normalization mode will apply an overall normalization of
"1/n" between the two transforms. This is required to make
"irfft()" the exact inverse.

Default is ""backward"" (normalize by "1/n").



Keyword Arguments:
      out (Tensor, optional) -- the output tensor.
-[ Example ]-



t = torch.linspace(0, 1, 5)
t
   tensor([0.0000, 0.2500, 0.5000, 0.7500, 1.0000])
T = torch.fft.rfft(t)
T
   tensor([ 2.5000+0.0000j, -0.6250+0.8602j, -0.6250+0.2031j])



Without specifying the output length to "irfft()", the output will