[transformer] Update `build_model` function to support encoder&decoder model (#1307)
* update build_model to support enc&dec model * fix typo: cur_sargs -> cur_args * enc&dec path: correctly update pre/post process
Showing
Please register or sign in to comment