Imported from https://github.com/liyaguang/DCRNN