Commit Graph

120 Commits (33ff833af25849eb6f5d31bdb2742ccdbe337e02)

Author SHA1 Message Date
liym27 3e20ddf73d
[Dy2Stat - Error Handling] Fix bug and optimize dy2stat error. (#27225)
5 years ago
liym27 a1b640bc66
Fix test_origin_info to be compatible with PY3.8, because ast module is different in PY3.8 (#27201)
5 years ago
Aurelius84 252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name (#26997)
5 years ago
Aurelius84 35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer (#26987)
5 years ago
liym27 435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. (#26750)
5 years ago
liym27 f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. (#26873)
5 years ago
liym27 61107aa6f1
[Dy2Stat-debugging] Fix bug: Returns True if the verbosity level set by the user is greater than or equal to the log level (#26858)
5 years ago
Aurelius84 b0111778b8
enhance error message (#26808)
5 years ago
Aurelius84 df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems (#26778)
5 years ago
liym27 b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457)
5 years ago
Aurelius84 f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative (#25960)
5 years ago
Aurelius84 67d03bed70
Fix jit.to_static usage (#26682)
5 years ago
Huihuang Zheng e1245f5c84
[Dy2stat] change deprecated imp dependency to importlib, test=develop (#26453)
5 years ago
liym27 db272ca5ef
rename file to according to reviews. (#26236)
5 years ago
liym27 f3ea615673
[Dy2Stat] Fix bug: unwrap func in dy2Stat. (#26279)
5 years ago
liym27 1d730ffbf5
[Dy2Stat] Removes temporary files created during the transformation of dygraph to static graph. (#26150)
5 years ago
liym27 168ea22351
[Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime. (#25970)
5 years ago
liym27 12bf9d7168
[Dy2Stat-ErrorMessage]Enhance original error and create new exception (#25798)
5 years ago
Shibo Tao c8d0d1419b
add paddle.utils.deprecated. (#25912)
5 years ago
Aurelius84 8ec4af278d
【Dy2stat】Fix is_test switch incorrectly in PartialProgram (#25809)
5 years ago
liym27 452be8950a
[Dy2Stat-ErrorMessage] Add interface:create_origin_info_map and attach_origin_info for AST node (#25627)
5 years ago
Chen Weihang 23d1228c4d
remove ProgramTranslator.save_inference_model (#25740)
5 years ago
Huihuang Zheng 60da88540f
[Dy2stat] Modify print for dynamic type (#25612)
5 years ago
liym27 0f8dc611c8
[Dy2Static] Convert assert stmt with new function `convert_assert`. (#25551)
5 years ago
Aurelius84 cf3c51a6ad
[Dy2Stat] Remove op call stack in PartialProgram (#25420)
5 years ago
Chen Weihang 41d2247275
[Dy2static] Refactor ProgramTranslator save_inference_model API (#24989)
5 years ago
Zhen Wang 2989c012f2
[DygraphToStatic]Add cast transform for dygraph_to_static. (#25325)
5 years ago
Zhen Wang dc17ac9199
fix import fluid error in dygraph_to_static. test=develop (#25195)
5 years ago
Huihuang Zheng 5e8e6dad72
[Dy2stat] Support Various-Length Return Grammar in Dy2stat (#25249)
5 years ago
Aurelius84 02adf68dcc
[Dy2stat]Support buffers and register_buffer in Layer (#24888)
5 years ago
Huihuang Zheng 6f631a27c7
[Dy2stat] Add Basic Support for Grammar 'return' (#25176)
5 years ago
Aurelius84 38d2d13d8b
[Dy2stat] Add CycleGAN model for unitttest (#25072)
5 years ago
Aurelius84 e8134e873a
[Dy2stat]Refine caches of converting function (#25085)
5 years ago
Aurelius84 8d6de44012
Refine check_type Error Message for @declarative (#25098)
5 years ago
liym27 eb1c0901a6
[Dy2Stat]Remove unnecessary vars from gast.comprehension in LoopTransformer. (#25094)
5 years ago
liym27 db601f70cc
[Dy2Stat] Add test for dygraph seq2seq model. (#25054)
5 years ago
liym27 f16e277859
[Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not (#24911)
5 years ago
liym27 2e238c6eed
[[Dy2Static]]convert for stmt and support variable loaded and created in loop(#24901)
5 years ago
liym27 a9dca5805a
[Dy2Static] Add convert_ifelse to run the transformed code dynamically (#24866)
5 years ago
Chen Weihang a1c1b59d48
[Dy2Static] Support for iter & enumerate VarBase (#24856)
5 years ago
liym27 5ea82e8a45
[Dy2Static]Support return variable created in only one of If.body or If.orelse (#24841)
5 years ago
liym27 001c9fcca2
[Dy2Static]Convert while stmt and convert logical_XX (#24799)
5 years ago
Chen Weihang 1f032c53d5
remove duplicate function, test=develop (#24849)
5 years ago
Aurelius84 8bbb829a03
[Dy2stat]Support nested input and output (#24752)
5 years ago
liym27 080d37a501
fix bug in LogicalOpTransformer: Create logic node recursively (#24785)
5 years ago
Aurelius84 40162227bb
Support save model in dygraph.guard test=develop (#24761)
5 years ago
liym27 a0846b627a
Remove target vars of gast.For from before_loop_vars or after_loop_vars (#24732)
5 years ago
Aurelius84 6db0e2b1a9
[Dy2stat] Support len syntax (#24638)
5 years ago
liym27 824572c144
[Dy2Stat]Support to transform sequence assignments and multi-target assignments to normal assignments (#24643)
5 years ago
Aurelius84 736d3acc24
[Dy2stat] Support lambda and enhance transformation of IfExpr (#24530)
5 years ago