Commit Graph

178 Commits (649868ffb262bdba89741eca93e7c7cb8632b9e2)

Author SHA1 Message Date
Huihuang Zheng 649868ffb2
[Dy2stat] Fix the bug that loop_body_func may return single element (#31806)
4 years ago
Aurelius84 def27bc801
[Dy2stat]Fix bug with static_convert_var_shape in locals scope (#31556)
4 years ago
liym27 522c91ec67
[Dy2Stat] Remove gast.Index for compatibility of gast 0.4.0 (#31358)
4 years ago
Huihuang Zheng c40b98e068
Fix comment (#31424)
4 years ago
Huihuang Zheng 6bf02a1261
[Dy2stat] Fix Read-Only Attribute as while_loop Output (#31415)
4 years ago
Aurelius84 1dd40870fc
[Dy2Stat] Fix eval_if_exist_else_none bug (#31261)
4 years ago
Huihuang Zheng cf43a321a8
[Dy2stat] Refactoring tensor_shape_transformer.py to Fix Change after Assign Bug (#31082)
4 years ago
Huihuang Zheng ef627ac5b9
Fix that convert_var_shape doesn't support slice like [0:], test=develop (#31051)
4 years ago
Huihuang Zheng c137578341
Add Support for Tuple in for Loop (#30998)
4 years ago
liym27 13ef444fa6
[Dy2Stat] Fix error message when the message has more than one lines. (#30714)
4 years ago
Aurelius84 621bc4f771
[Dy2static]Fix paddle prefix in is_paddle_api (#30569)
4 years ago
Chen Weihang ae1f32091a
fix prune input bug (#30384)
4 years ago
Huihuang Zheng c372a76303
Add Static Variable Clone (#30208)
4 years ago
XiaoguangHu 6bfdef727e
clean redundant API alias in 2.0 - part 2 (#30013)
4 years ago
Aurelius84 03e072736e
Skip convert tensor shape while using Paddle.shape (#30223)
4 years ago
liym27 31ed9a5ed3
[Dy2Stat] Use Paddle2.0 api paddle.tensor.array_* (#30156)
4 years ago
liym27 ad55f609d5
[Dy2Stat] Don't convert to paddle.shape if var_x.shape is not negetive (#29965)
4 years ago
liym27 41a7b07159
[Dy2Stat] Fix bug for loop: a variable is used and created in loop, but used before created (#29769)
5 years ago
Huihuang Zheng dfffee8a5d
[Dy2stat] Enable jit.save to Save Without Running (#29579)
5 years ago
liym27 a0b60716f1
[Dy2Stat] Support grammar: for ele in var[idx] (#29541)
5 years ago
liym27 0cad1152f4
[Dy2Stat] 1. Fix bug of for-range stmts. 2. Support that step value is negative in for-range stmts (#29519)
5 years ago
Huihuang Zheng 8f7627907c
[Dy2stat] Reduce Exception Type for Better Error Message (#29268)
5 years ago
liym27 61a8f2874f
[Dy2Stat] Fix bug: Do not use gast.Subscript to replace gast.Name in when transforming for_enumerate_loop (#29310)
5 years ago
liym27 b9a8ebd50f
[Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253)
5 years ago
Huihuang Zheng aec05d811c
[Dy2stat] Fix PaddleGan Deoldify Model Dy2stat Problems (#29226)
5 years ago
WeiXin 1476e1f998
save model after jit.load (#28748)
5 years ago
liym27 01bdea7c31
[Dy2Stat] Don't conver the function from third library logging (#29161)
5 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)
5 years ago
liym27 5fe44571f0
[Dynamic-to-Static] Support **kwargs as input of the function which is decorated by `jit.save.to_static` (#29098)
5 years ago
liym27 682cc17f53
[Dynamic-to-Static] Fix bug: support pop from a dict and polish code of convert_pop (#29023)
5 years ago
Huihuang Zheng 5b339262bc
[Dy2stat] Add Tuple as Assign Target for Tensor Shape (#28775)
5 years ago
liym27 85292e0b46
[Dynamic-to-Static] Fix bug of convert_logical_and/convert_logical_or: the operands are executed sequentially(#28993)
5 years ago
Huihuang Zheng 96126532cd
Fix Incorrect After Node Vars in IfElseTransformer, test=develop (#28992)
5 years ago
liym27 269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func (#28722)
5 years ago
liym27 e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node (#28735)
5 years ago
liym27 9881738e13
[Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message (#28713)
5 years ago
Huihuang Zheng 9ab335bbd9
Fix convert_call May be Called Multiple Times, test=develop (#28710)
5 years ago
Huihuang Zheng b6f86b8491
Fix Using "isinstance" in Loop, test=develop (#28641)
5 years ago
liym27 0ce933a9ee
[API2.0] Fix documents of 6 APIs to fit API2.0: (#28514)
5 years ago
Huihuang Zheng 3b0d31ab89
Modify ProgramTranslator and TracedLayer Doc for API 2.0 (#28509)
5 years ago
Huihuang Zheng 546b1c1dc4
Fix paddle.jit.dy2static.data_layer_not_check 2.0 API Doc (#28461)
5 years ago
Aurelius84 2500dca878
[Dy2Stat] Fix bug in convert_call (#28368)
5 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)
5 years ago
Aurelius84 a5c18204e9
[Dy2stat]Join break cond with while cond in some pattern (#28171)
5 years ago
Aurelius84 e730516090
[Dy2stat] Refine return mechanism in @to_static (#28116)
5 years ago
Aurelius84 135b62a4ec
[Dy2stat] Refine code of DygraphToStaticAst (#28103)
5 years ago
Aurelius84 3718b2e706
Fix test_lstm unittest failed and Add more unittest (#28029)
5 years ago
Guo Sheng fa9d3fa5bf
Incorporate cudnn_lstm into LSTM api (#27217)
5 years ago
Aurelius84 ffcc11758a
[Dy2Stat] Fix Error when generating train_program in eval mode (#27975)
5 years ago
chentianyu03 d05058d268
Remove and reorganize the alias of APIs (#27717)
5 years ago