[dy2static] Support for static graph training with @declarative decorator (#24259)
* support to train in static * support to independent decorator * remove in_dygraph_mode condition in ProgramTranslator * fix import param_guard and add train/eval test=develop * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
Showing
想要评论请 注册 或 登录