1. 19 May, 2021 2 commits
    • Caroline Chen's avatar
      [BC-Breaking] Avoid moving resampling kernel device and dtype moves (#1514) · 079b3f5d
      Caroline Chen authored
      Precomputing and caching the resampling kernel in transforms provides speed improvements for resample, but no longer handles the automatic device and dtype recognition and construction based on input waveform. This is BC-breaking if users do not manually move the transforms object to the correct device and dtype, in which case calls to resample will fail if the input waveform is on gpu, or not of float32 dtype. Precomputing the kernel additionally results in very minor precision differences from previous implementation.
      079b3f5d
    • Caroline Chen's avatar
      7078fcd3
  2. 14 May, 2021 1 commit
  3. 11 May, 2021 1 commit
  4. 10 May, 2021 1 commit
  5. 06 May, 2021 1 commit
  6. 03 May, 2021 1 commit
  7. 23 Apr, 2021 1 commit
  8. 13 Apr, 2021 1 commit
  9. 09 Apr, 2021 1 commit
  10. 06 Apr, 2021 2 commits
  11. 05 Apr, 2021 1 commit
  12. 02 Apr, 2021 2 commits
    • moto's avatar
      Add `return_complex` to F.spectrogram and T.Spectrogram (#1366) · 6a677ac8
      moto authored
      * Update spectrogram to use complex
      * Update autograd test
      * Update TS test
      * Update librosa test
      6a677ac8
    • moto's avatar
      Make `F.phase_vocoder` and `T.TimeStretch` handle complex dtype (#1410) · 0433b7aa
      moto authored
      1. `F.phase_vocoder` accepts Tensor with complex dtype.
          * The implementation path has been updated from #758 so that they share the same code path by internally converting the input Tensor to complex dtype and performing all the operation on top of it.
          * Adopted `torch.polar` for simpler Tensor generation from magnitude and angle.
      2. Updated tests
          * librosa compatibility test for complex dtype and pseudo complex dtype
              * Extracted the output shape check test and moved it to functional so that it will be tested on all the combination of `{CPU | CUDA} x {complex64 | complex128}`
          * TorchScript compatibility test for `F.phase_vocoder` and `T.TimeStretch`.
          * batch consistency test for `T.TimeStretch`.
      0433b7aa
  13. 22 Mar, 2021 1 commit
  14. 10 Mar, 2021 1 commit
  15. 09 Mar, 2021 1 commit
    • Jcaw's avatar
      [BC-Breaking] Rename `sliding_window_cmn` arg for correctness (#1347) · ea857940
      Jcaw authored
      * Change the name of the specgram named `waveform`
      
      `F.sliding_window_cmn` takes a spectrogram as input (of shape
      `(..., freq, time)`). However, this spectrogram is named `waveform`.
      This appears to be an error, so rename this (and the output tensor) to
      reflect that both are spectrograms.
      
      * Correct tensor description in docstring
      
      The output tensor of `F.sliding_window_cmn` is also a spectrogram.
      Update the description to reflect this.
      ea857940
  16. 08 Mar, 2021 1 commit
  17. 03 Mar, 2021 1 commit
  18. 02 Mar, 2021 2 commits
  19. 26 Feb, 2021 1 commit
  20. 15 Feb, 2021 1 commit
  21. 12 Feb, 2021 1 commit
  22. 09 Feb, 2021 1 commit
  23. 04 Feb, 2021 1 commit
  24. 26 Jan, 2021 1 commit
  25. 25 Jan, 2021 1 commit
  26. 06 Jan, 2021 1 commit
  27. 17 Dec, 2020 1 commit
  28. 14 Dec, 2020 1 commit
  29. 04 Dec, 2020 1 commit
  30. 20 Nov, 2020 1 commit
  31. 18 Nov, 2020 1 commit
  32. 06 Nov, 2020 2 commits
  33. 05 Nov, 2020 1 commit
  34. 29 Sep, 2020 1 commit
  35. 21 Sep, 2020 1 commit