Imported from https://github.com/Alexander-H-Liu/End-to-end-ASR-Pytorch