1. 23 Jun, 2020 2 commits
  2. 19 Jun, 2020 1 commit
    • moto's avatar
      Add TorchScript-able "info" func to sox_io backend (#728) · 88fccd14
      moto authored
      This is a part of PRs to add new "sox_io" backend #726, and depends on #718.
      
      This PR adds `info` function to "sox_io" backend, which allows users to fetch some metadata of an audio file. 
      At this moment, the information retrieved are;
      
       - Number of samples in the audio file
       - Sampling rate
       - Number of channels
      88fccd14
  3. 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
  4. 16 Jun, 2020 3 commits
  5. 11 Jun, 2020 3 commits
    • 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
    • moto's avatar
      Fix integer division (#714) · 50939b75
      moto authored
      50939b75
    • moto's avatar
      Change parameterized testing system to be compatible with unittest (#712) · d2724481
      moto authored
      
      
      * Change parameterized testing system to be compatible with unittest
      
      Summary: The previous implementation of parameterized testing worked by modifying test.common_utils inplace.  This doesn't work in general because unittest's contract with test modules is such that it must be able to load the module and run the test itself.  Because the previous implementation needed to load the module and modify it, it is incompatible.
      
      Reviewed By: mthrok
      
      Differential Revision: D21964676
      Co-authored-by: default avatarBen Mehne <bmehne@fb.com>
      d2724481
  6. 10 Jun, 2020 1 commit
  7. 08 Jun, 2020 3 commits
  8. 05 Jun, 2020 1 commit
  9. 04 Jun, 2020 3 commits
  10. 03 Jun, 2020 2 commits
  11. 02 Jun, 2020 3 commits
  12. 27 May, 2020 2 commits
  13. 21 May, 2020 2 commits
  14. 20 May, 2020 2 commits
  15. 15 May, 2020 4 commits
  16. 14 May, 2020 2 commits
  17. 13 May, 2020 1 commit
  18. 12 May, 2020 1 commit
  19. 08 May, 2020 1 commit
  20. 06 May, 2020 1 commit
  21. 04 May, 2020 1 commit