Simpily demo, add paddle.default_main_program() and paddle.default_startup_program
- Removed all main_program and startup_program in the demo. - Using paddle.default_main_program() hides the implementation detail (e.g., using g_main_program) from the user, we can change the implementation in the future much easier.
Showing
想要评论请 注册 或 登录