Update calls to torch.stft to have return_complex=True#1096
Update calls to torch.stft to have return_complex=True#1096mthrok merged 3 commits intopytorch:masterfrom
Conversation
|
Since the plan is to deprecate |
|
That's a good future proofing idea, @peterbell10, but I suggest we just go with the simpler and smaller change for the moment and revisit how torchaudio wants to handle complex numbers for the 1.9 release. Maybe torchaudio will want to switch to using complex tensors. |
|
Not sure I understand. |
|
Oh you're right, thank you. I forgot we're also putting a warning on this. It's been a long day... Sorry @mthrok, I was mistaken. We should take @peterbell10's recommendation to use |
|
@peterbell10 @mruberry Update the PR to use |
mruberry
left a comment
There was a problem hiding this comment.
This looks great. Thank you again @mthrok and @peterbell10!
Resolves #1095