PyTorch 1.7 adds a torch.fft module similar to NumPy’s fft module. Unfortunately, the module’s name conflicts with the existing torch.fft() function, so it is not imported by default like most PyTorch ...