1. 09 Apr, 2020 1 commit
  2. 06 Apr, 2020 1 commit
    • moto's avatar
      Use torch.testing.assert_allclose (#513) · 5f5df1d6
      moto authored
      * grep -l 'torch.allclose' -r test | xargs sed -i 's/assert torch.allclose/torch.testing.assert_allclose/g'
      
      * grep -l 'torch.allclose' -r test | xargs sed -i 's/self.assertTrue(torch.allclose(\(.*\)))/torch.testing.assert_allclose(\1)/g'
      
      * Fix missing atol/rtol, wrong shape, argument order. Remove redundant shape assertions
      5f5df1d6
  3. 03 Apr, 2020 2 commits
  4. 02 Apr, 2020 1 commit
  5. 31 Mar, 2020 1 commit
  6. 30 Mar, 2020 3 commits
  7. 25 Mar, 2020 1 commit
  8. 23 Mar, 2020 1 commit
  9. 13 Jan, 2020 1 commit
    • Vincent QB's avatar
      extend batch support (#391) · c4565245
      Vincent QB authored
      * extend batch support
      
      closes #383
      
      * function for batch test.
      
      * set seed.
      
      * adjust tolerance for griffinlim.
      c4565245
  10. 09 Jan, 2020 1 commit
  11. 02 Jan, 2020 1 commit
  12. 26 Dec, 2019 1 commit
  13. 03 Dec, 2019 1 commit
  14. 02 Dec, 2019 1 commit
  15. 20 Nov, 2019 1 commit
  16. 18 Nov, 2019 1 commit
  17. 31 Oct, 2019 1 commit
  18. 30 Oct, 2019 1 commit
  19. 25 Sep, 2019 1 commit
    • engineerchuan's avatar
      Fix mel filter bank (#294) · 02ce049c
      engineerchuan authored
      * Fixed create_fb_matrix filter bank behavior for fmin/fmax
      * add better test for f_min close to f_max
      * added one more test for f_min > f_max
      * adding one more test
      02ce049c
  20. 20 Sep, 2019 1 commit
  21. 19 Sep, 2019 1 commit
    • Vincent QB's avatar
      Compute deltas (#268) · 401e7aee
      Vincent QB authored
      * compute deltas.
      * multichannel, and random test.
      * documentation.
      * feedback. changing name of window to win_length.
      * passing padding mode.
      401e7aee
  22. 02 Aug, 2019 1 commit
    • Edward Z. Yang's avatar
      Make torchaudio work on Python 2. (#209) · a424509d
      Edward Z. Yang authored
      
      
      - Apply __future__ imports uniformly (future division is the biggy, but absolute
        imports mattered too)
      - Hotfix use of tempfile.TemporaryDirectory using a BC library (DO NOT
        add this library as a dependency to torchaudio; it's only for testing)
      - Replace math.gcd with fractions.gcd
      - Fix a weird pytest collection bug involving parametrized tests
      - Turn on Python 2 and Python 3.7 in Travis.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
      a424509d
  23. 30 Jul, 2019 1 commit
    • Edward Z. Yang's avatar
      Make test scripts runnable without being modules. (#186) · 07b9b9ba
      Edward Z. Yang authored
      
      
      This makes it easier to test against an installed wheel, as the
      torchaudio folder is no longer preferentially picked up when
      you run a test module.
      
      I had to move all tests in subfolders into the top level test
      directory to make this work, since you can't access .. modules
      without mucking around with sys.path (which I don't want to do.)
      
      NB: this BREAKS the syntax where you can run a test by
      saying `python -m test.test`.  Instead, do `python test/test.py`
      or use the pytest runner.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
      07b9b9ba
  24. 24 Jul, 2019 2 commits
  25. 10 Jul, 2019 1 commit