1. 10 May, 2022 1 commit
  2. 26 Feb, 2022 1 commit
    • Zhaoheng Ni's avatar
      Add apply_beamforming to torchaudio.functional (#2232) · 9c56ffb4
      Zhaoheng Ni authored
      Summary:
      This PR adds ``apply_beamforming`` method to ``torchaudio.functional``.
      The method employs the beamforming weight to the multi-channel noisy spectrum to obtain the single-channel enhanced spectrum.
      The input arguments are the complex-valued beamforming weight Tensor and the multi-channel noisy spectrum.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2232
      
      Reviewed By: mthrok
      
      Differential Revision: D34474561
      
      Pulled By: nateanl
      
      fbshipit-source-id: 2910251a8f111e65375dfb50495b6a415113f06d
      9c56ffb4
  3. 25 Feb, 2022 5 commits
  4. 29 Dec, 2021 1 commit
  5. 23 Dec, 2021 1 commit
  6. 04 Nov, 2021 1 commit
  7. 03 Nov, 2021 1 commit
  8. 28 Oct, 2021 1 commit
  9. 13 Oct, 2021 1 commit
  10. 20 Aug, 2021 1 commit
  11. 19 Aug, 2021 1 commit
  12. 10 Aug, 2021 1 commit
  13. 02 Aug, 2021 1 commit
  14. 21 Jul, 2021 1 commit
  15. 16 Jul, 2021 1 commit
  16. 25 Jun, 2021 1 commit
  17. 04 Jun, 2021 1 commit
  18. 01 Jun, 2021 1 commit
  19. 22 May, 2021 1 commit
    • parmeet's avatar
      fbsync (#1524) · ae9560da
      parmeet authored
      * Remove `class FunctionalComplex` header accidentally re-introduced in #1490 
      ae9560da
  20. 11 May, 2021 1 commit
  21. 06 May, 2021 1 commit
  22. 03 May, 2021 1 commit
  23. 26 Apr, 2021 1 commit
  24. 19 Apr, 2021 1 commit
  25. 06 Apr, 2021 1 commit
    • steveplazafb's avatar
      Refactors functional test (#1435) · e9726f08
      steveplazafb authored
      Merges lfilter and spectrogram classes together in the common implementation and modifies the cpu and gpu test definitions accordingly
      e9726f08
  26. 02 Apr, 2021 1 commit
    • 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
  27. 15 Mar, 2021 1 commit
  28. 05 Mar, 2021 1 commit
  29. 06 Jan, 2021 1 commit
  30. 05 Aug, 2020 1 commit
    • moto's avatar
      [CI] Run unit test with non-editable installation (#845) · 9ba02d5b
      moto authored
      We have been running unit test with editable installation. (i.e. `python setup.py develop`), with which we missed issues like #842. 
      
      This CC makes installation in CI non-editable, and change test directory structure so that the source code will not shadow the installed version of `torchaudio`. With simple `pytest test`, `pytest` modifies `sys.path` and prepend checked out repository, which shadows the installed version.
      
      To remedy this, the whole test suites has been moved from `./test` to `./test/torchaudio_unittest`. This adds nice module structure to our test code and we can do absolute import in each test module, which makes it possible again to run test with `python -m unittest torchaudio_unittest/XXX.py`
      
      This change does not affect the regular development process (`python setup.py develop` && `pytest test`)
      9ba02d5b
  31. 11 Jun, 2020 1 commit
    • moto's avatar
      Get rid of dynamic test suite generation (#716) · 08217121
      moto authored
      `type` used in `common_utils` generates test class definition in `common_utils` and
      this modifies the module state after it's imported. This is anti-pattern.
      This PR get rid of the related utility functions and define test suite manually.
      08217121