Commit Graph

153 Commits (1de32f823d634154daa818697f945b294c052d3d)

Author SHA1 Message Date
WeiXin 1476e1f998
save model after jit.load (#28748)
6 years ago
liym27 01bdea7c31
[Dy2Stat] Don't conver the function from third library logging (#29161)
6 years ago
liym27 a7433cc379
[Dy2Stat] Fix bug: the return statement should be transformed to an equivalent Paddle/Python if statement, which depends on if conditions of the return stmt. (#29165)
6 years ago
liym27 5fe44571f0
[Dynamic-to-Static] Support **kwargs as input of the function which is decorated by `jit.save.to_static` (#29098)
6 years ago
liym27 682cc17f53
[Dynamic-to-Static] Fix bug: support pop from a dict and polish code of convert_pop (#29023)
6 years ago
Huihuang Zheng 5b339262bc
[Dy2stat] Add Tuple as Assign Target for Tensor Shape (#28775)
6 years ago
liym27 85292e0b46
[Dynamic-to-Static] Fix bug of convert_logical_and/convert_logical_or: the operands are executed sequentially(#28993)
6 years ago
Huihuang Zheng 96126532cd
Fix Incorrect After Node Vars in IfElseTransformer, test=develop (#28992)
6 years ago
liym27 269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func (#28722)
6 years ago
liym27 e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node (#28735)
6 years ago
liym27 9881738e13
[Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message (#28713)
6 years ago
Huihuang Zheng 9ab335bbd9
Fix convert_call May be Called Multiple Times, test=develop (#28710)
6 years ago
Huihuang Zheng b6f86b8491
Fix Using "isinstance" in Loop, test=develop (#28641)
6 years ago
liym27 0ce933a9ee
[API2.0] Fix documents of 6 APIs to fit API2.0: (#28514)
6 years ago
Huihuang Zheng 3b0d31ab89
Modify ProgramTranslator and TracedLayer Doc for API 2.0 (#28509)
6 years ago
Huihuang Zheng 546b1c1dc4
Fix paddle.jit.dy2static.data_layer_not_check 2.0 API Doc (#28461)
6 years ago
Aurelius84 2500dca878
[Dy2Stat] Fix bug in convert_call (#28368)
6 years ago
liym27 b1eb28d74b
[Dy2Stat-log] Call warnings.warn() to display the warning-message only once when calling StaticFunc.__call__ or ProgramTranslator().get_output (#28260)
6 years ago
Aurelius84 a5c18204e9
[Dy2stat]Join break cond with while cond in some pattern (#28171)
6 years ago
Aurelius84 e730516090
[Dy2stat] Refine return mechanism in @to_static (#28116)
6 years ago
Aurelius84 135b62a4ec
[Dy2stat] Refine code of DygraphToStaticAst (#28103)
6 years ago
Aurelius84 3718b2e706
Fix test_lstm unittest failed and Add more unittest (#28029)
6 years ago
Guo Sheng fa9d3fa5bf
Incorporate cudnn_lstm into LSTM api (#27217)
6 years ago
Aurelius84 ffcc11758a
[Dy2Stat] Fix Error when generating train_program in eval mode (#27975)
6 years ago
chentianyu03 d05058d268
Remove and reorganize the alias of APIs (#27717)
6 years ago
Huihuang Zheng 914558049f
Refine ProgramTranslator API English Doc for 2.0rc (#27849)
6 years ago
liym27 3a8bef1d41
[Dynamic-to-Static] Refine 2.0rc assign: paddle.nn.functional.assign (#27650)
6 years ago
Huihuang Zheng cc2fc93804
[Dy2stat] Refine Dy2stat APIs to 2.0rc (#27430)
6 years ago
Huihuang Zheng abb32bbccd
[Dy2stat] Fix lstm bug (#27631)
6 years ago
Aurelius84 fc9d80bc9e
[Dy2Stat]rename StaticLayer into StaticFunction (#27487)
6 years ago
Aurelius84 7ba6279a25
[Dy2stat] Refine error msg of @to_static if not in imperative mode (#27371)
6 years ago
liym27 ac82baa80d
[Dy2Stat-log] Add feature also_to_stdout and optimize log messages (#27285)
6 years ago
Huihuang Zheng d4b4357bc0
[Dy2stat] Change the Global Switch Name of ProgramTranslator for API 2.0 (#27203)
6 years ago
liym27 3e20ddf73d
[Dy2Stat - Error Handling] Fix bug and optimize dy2stat error. (#27225)
6 years ago
liym27 a1b640bc66
Fix test_origin_info to be compatible with PY3.8, because ast module is different in PY3.8 (#27201)
6 years ago
Aurelius84 252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name (#26997)
6 years ago
Aurelius84 35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer (#26987)
6 years ago
liym27 435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. (#26750)
6 years ago
liym27 f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. (#26873)
6 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)
6 years ago
Aurelius84 b0111778b8
enhance error message (#26808)
6 years ago
Aurelius84 df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems (#26778)
6 years ago
liym27 b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457)
6 years ago
Aurelius84 f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative (#25960)
6 years ago
Aurelius84 67d03bed70
Fix jit.to_static usage (#26682)
6 years ago
Huihuang Zheng e1245f5c84
[Dy2stat] change deprecated imp dependency to importlib, test=develop (#26453)
6 years ago
liym27 db272ca5ef
rename file to according to reviews. (#26236)
6 years ago
liym27 f3ea615673
[Dy2Stat] Fix bug: unwrap func in dy2Stat. (#26279)
6 years ago
liym27 1d730ffbf5
[Dy2Stat] Removes temporary files created during the transformation of dygraph to static graph. (#26150)
6 years ago
liym27 168ea22351
[Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime. (#25970)
6 years ago