Rate this Page

Function torch::fft::ifft#

Function Documentation#

inline Tensor torch::fft::ifft(const Tensor &self, std::optional<SymInt> n = std::nullopt, int64_t dim = -1, std::optional<std::string_view> norm = std::nullopt)#

Computes the 1 dimensional inverse Fourier transform over a given dimension.

See https://pytorch.org/docs/main/fft.html#torch.fft.ifft.

Example:

auto t = torch::randn(128, dtype=kComplexDouble);
torch::fft::ifft(t);