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

Changed pytorch & pytorch_vectorized to adapt to Torch1.9 (updates in fft functions) #5

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

Conversation

maggie-jiayizhang
Copy link

Torch1.9 supports complex matrices and thus changed (their ways of interpretation of) input/output to fft functions (in the fft module, see torch doc for more details). Used torch.view_as_complex and torch.view_as_real to resolve such issue. Also changed parameters of fft functions according to current torch implementation. Did not change the implementation of the original (spectrogram) functions.

Aside: complex matrix method implementation may be changed (to torch native functions) for higher efficiency?

… to adapt to torch 1.9 implementation of fft
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