Skip to content

Updated fourier.py for latest PyTorch API - #12

Open
djorna wants to merge 1 commit into
jensenzhoujh:masterfrom
djorna:update-fourier
Open

djorna wants to merge 1 commit into
jensenzhoujh:masterfrom
djorna:update-fourier

Conversation

@djorna

@djorna djorna commented Jan 7, 2022

Copy link
Copy Markdown

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