"vscode:/vscode.git/clone" did not exist on "7b127ccb679667456014f3d9bfdbeb8666440c45"
  1. 10 Jun, 2020 1 commit
    • moto's avatar
      Add sox_effects submodule and delegate sox_effects init/shutdown (#708) · c82a7f9c
      moto authored
      There are couple of aspects of this PR that overall improves the maintainability of the code base, based on "decoupling" and "separation of concerns".
      
      First, `sox_effects` functionalities can be either available or unavailable. From the viewpoint of `torchaudio` main module, the looser the connection between the `torchaudio` module and `torchaudio.sox_effects`, the more manageable the code base become because you can change the two modules independently. This is mostly accomplished when the definitions of `initialize_sox` and `shutdown_sox` were moved from `torchaudio.__init__` to `torchaudio.sox_effects`, but the initialization of sox effects are still happening in `torchaudio.__init__`. If we move the initialization to `sox_effects` module, the responsibility of sox initialization is moved to `sox_effects` module, along with the required module availability check etc. The main `torchaudio` module can be carefree about how the `sox_effects` module should work.
      
      In addition to that, I found that `initialize_sox` and `shutdown_sox` are confusing because it sound like they are required for `libsox` based I/O. To make it clear, I renamed them to include `sox_effect` in function name.
      
      Also moving functions from the original places are BC breaking itself, therefore, these functions are re-imported in `torchaudio.__init__` and renamed to match the original names. Therefore the PR is not BC breaking.
      c82a7f9c
  2. 09 Jun, 2020 2 commits
  3. 08 Jun, 2020 4 commits
  4. 05 Jun, 2020 5 commits
  5. 04 Jun, 2020 6 commits
  6. 03 Jun, 2020 3 commits
  7. 02 Jun, 2020 3 commits
  8. 01 Jun, 2020 2 commits
  9. 29 May, 2020 1 commit
  10. 28 May, 2020 1 commit
    • moto's avatar
      Separate style check from unit test (#664) · 6c3cc16d
      moto authored
      * Separate style check from unit test
      
      * TEST flake8 fail
      
      * TEST clang-format fail
      
      * Revert "TEST flake8 fail"
      
      This reverts commit 88d90185cefe294b9a662129a05c2e26a9844fe4.
      
      * Revert "TEST clang-format fail"
      
      This reverts commit 93517d1ccba650a6ccd813268fd73a4fd63b252c.
      6c3cc16d
  11. 27 May, 2020 3 commits
  12. 26 May, 2020 1 commit
  13. 21 May, 2020 2 commits
  14. 20 May, 2020 2 commits
  15. 18 May, 2020 1 commit
  16. 16 May, 2020 1 commit
  17. 15 May, 2020 2 commits