Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated fourier.py for latest PyTorch API #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djorna
Copy link

@djorna djorna commented Jan 7, 2022

torch.rfft and torch.irfft are deprecated in the latest version of PyTorch. There were replaced with torch.fft.rfftn and torch.fft.irfftn respectively. The PyTorch wiki and this thread were useful resources for doing the conversion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant