[Dy2Stat] Fix Error when generating train_program in eval mode (#27975)
* Fix save in eval mode * remove assert statement * fix test_partial_program failed * add more test * modify back into _train_program
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* Fix save in eval mode * remove assert statement * fix test_partial_program failed * add more test * modify back into _train_program