• Caroline Chen's avatar
    Allow token list as CTC decoder input (#2112) · 896ade04
    Caroline Chen authored
    Summary:
    Additionally accept list of tokens as CTC decoder input. This makes it possible to directly pass in something like `bundles.get_labels()` into the decoder factory function instead of requiring a separate tokens file.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2112
    
    Reviewed By: hwangjeff, nateanl, mthrok
    
    Differential Revision: D33352909
    
    Pulled By: carolineechen
    
    fbshipit-source-id: 6d22072e34f6cd7c6f931ce4eaf294ae4cf0c5cc
    896ade04
Dictionary.h 1.66 KB