Add Decorator 'dygraph_to_static_program' and ProgramTranslator.save_inference_model (#23227)
1. Add Decorator 'dygraph_to_static_program' 2. Add corresponding ProgramTranslator.get_program 3. Add ProgramTranslator.save_inference_model 4. Modified some warning information of dy2stat 5. Change program cache to contain startup_program because for users who gets program to run, they may like to initialize startup program
Showing
想要评论请 注册 或 登录