torch_fft_ifft {torch} | R Documentation |
Ifft
Description
Computes the one dimensional inverse discrete Fourier transform of input.
Usage
torch_fft_ifft(self, n = NULL, dim = -1L, norm = NULL)
Arguments
self |
(Tensor) the input tensor |
n |
(int, optional) – Signal length. If given, the input will either be zero-padded or trimmed to this length before computing the IFFT. |
dim |
(int, optional) – The dimension along which to take the one dimensional IFFT. |
norm |
(str, optional) – Normalization mode. For the backward transform, these correspond to:
|
Examples
if (torch_is_installed()) {
t <- torch_arange(start = 0, end = 3)
t
x <- torch_fft_fft(t, norm = "backward")
torch_fft_ifft(x)
}
[Package torch version 0.13.0 Index]