Shortcuts

Function torch::fft::ifft2

Function Documentation

inline Tensor torch::fft::ifft2(const Tensor &self, at::OptionalIntArrayRef s = std::nullopt, IntArrayRef dim = {-2, -1}, std::optional<std::string_view> norm = std::nullopt)

Computes the inverse of torch.fft.fft2 See https://pytorch.org/docs/main/fft.html#torch.fft.ifft2.

Example:

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

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources