• moto's avatar
    Move backend initialization to toplevel (#3548) · 6fb21ab1
    moto authored
    Summary:
    The backend dispatcher is implemented in `torchaudio._backend`, while the legacy backend is implemented in `torchaudio.backend`.
    
    The initialization happen in `torchaudio._backend`.
    This commit moves it to `torchaudio.__init__`, so that `backend` and `_backend` is more independent.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/3548
    
    Reviewed By: huangruizhe
    
    Differential Revision: D48219244
    
    Pulled By: mthrok
    
    fbshipit-source-id: e694cb232794f90902a60ee51c7bf11b7f0548a0
    6fb21ab1
utils_test.py 1.19 KB