Imported from https://github.com/cvqluu/Factorized-TDNN
