Rate this Page

Function torch::fft::ifftn#

Function Documentation#

inline Tensor torch::fft::ifftn(const Tensor &self, at::OptionalIntArrayRef s = std::nullopt, at::OptionalIntArrayRef dim = std::nullopt, std::optional<std::string_view> norm = std::nullopt)#

Computes the N dimensional fast Fourier transform over given dimensions.

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

Example:

auto t = torch::randn({128, 128}, dtype=kComplexDouble);
torch::fft::ifftn(t);