-
Notifications
You must be signed in to change notification settings - Fork 27.7k
torch.fft tracking issue #42175
Copy link
Copy link
Closed
Labels
featureA request for a proper, new feature.A request for a proper, new feature.high prioritymodule: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchmodule: fftmodule: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
featureA request for a proper, new feature.A request for a proper, new feature.high prioritymodule: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchmodule: fftmodule: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Tracking issue for tasks related to the torch.fft namespace, analogous to NumPy's numpy.fft namespace and SciPy's scipy.fft namespace.
PyTorch already has fft functions (fft, ifft, rfft , irfft, stft, istft), but they're inconsistent with NumPy and don't accept complex tensor inputs. The torch.fft namespace should be consistent with NumPy and SciPy where possible, plus provide a path towards removing PyTorch's existing fft functions in the 1.8 release (deprecating them in 1.7).
While adding the torch.fft namespace infrastructure and deprecating PyTorch's current fft-related functions are the top priorities, PyTorch is also missing many helpful functions, listed below, which should (eventually) be added to the new namespace, too.
Tasks:
Completed:
_fft_with_sizeto handle transforming arbitrary dimensions without transposing/cloning (Improve torch.fft n-dimensional transforms #46911 still requires cloning, but this is required for best performance)gradgradcheckpassescc @ezyang @gchanan @zou3519 @anjali411 @dylanbespalko @mruberry @rgommers @peterbell10