"git@developer.sourcefind.cn:sunzhq2/bytemlperf-dcu.git" did not exist on "24b257f1b6d88020fb863029fcd83ce29662a995"
  • 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
utils.py 839 Bytes