1. 18 Jun, 2020 1 commit
    • moto's avatar
      Make TestCases backend-aware (#719) · b17da7a4
      moto authored
      * Make tests backend aware by introducing TorchaudioTestCase and reset backend for each TestCase.
      
      * Set backends for the test cases that require specific backend.
      b17da7a4
  2. 16 Jun, 2020 1 commit
    • moto's avatar
      Refactor backend and not rely on global variables on switching (#698) · e9f19c35
      moto authored
      * Refactor backend switching
      
      1. Do not rely on global variables for backend switch
         So that load/save/info/load_wav functions will be torchscript-able
      2. Add no_backend module to for the case there is no backend module available
         [bonus] This allows the whole codebase importable on systems that do not have torchaudio C++ extension nor soundfile.
      e9f19c35