Commit Graph

269 Commits (a6beb96dd0235c236336f2db31df875b33db6635)

Author SHA1 Message Date
Chen Weihang a1c1b59d48
[Dy2Static] Support for iter & enumerate VarBase (#24856)
6 years ago
liym27 5ea82e8a45
[Dy2Static]Support return variable created in only one of If.body or If.orelse (#24841)
6 years ago
liym27 001c9fcca2
[Dy2Static]Convert while stmt and convert logical_XX (#24799)
6 years ago
Chen Weihang 1f032c53d5
remove duplicate function, test=develop (#24849)
6 years ago
Aurelius84 8bbb829a03
[Dy2stat]Support nested input and output (#24752)
6 years ago
liym27 080d37a501
fix bug in LogicalOpTransformer: Create logic node recursively (#24785)
6 years ago
Zhou Wei 98da8a295d
add new learing rate strategy to reduce lr when loss reach on plateau (#24322)
6 years ago
Aurelius84 40162227bb
Support save model in dygraph.guard test=develop (#24761)
6 years ago
Leo Chen 92e256a86a
Fix bug of different dtype in dygraph math_op_patch, test=develop (#24740)
6 years ago
liym27 a0846b627a
Remove target vars of gast.For from before_loop_vars or after_loop_vars (#24732)
6 years ago
Aurelius84 6db0e2b1a9
[Dy2stat] Support len syntax (#24638)
6 years ago
Leo Chen 9fd1aad6e7
Support NHWC in Pool2D, test=develop (#24240)
6 years ago
liym27 824572c144
[Dy2Stat]Support to transform sequence assignments and multi-target assignments to normal assignments (#24643)
6 years ago
Leo Chen 9c9e635c00
support tensor to varbase, test=develop (#24660)
6 years ago
Chen Weihang fa846da53e
Append scale for static runner outputs (#24627)
6 years ago
Aurelius84 736d3acc24
[Dy2stat] Support lambda and enhance transformation of IfExpr (#24530)
6 years ago
liym27 b3ac1470c5
Support create LoDTensorArray and return LoDTensorArray in control flow (#24609)
6 years ago
Chen Weihang d26f581c58
fix some detail problems, test=develop (#24614)
6 years ago
Chen Weihang 03ba5b748d
[Dy2static] Add for enumerate Variable support (#24398)
6 years ago
Huihuang Zheng 5ff4535781
[Dy2Stat] Fix ProgramTranslator.save_inference_model API Doc (#24584)
6 years ago
Chen Weihang 897cec811a
[Dy2static] fix some print transformer problems (#24516)
6 years ago
Aurelius84 db0c1ea851
[Dy2stat] Fix function lookup bug in convert_call (#24567)
6 years ago
Cindy Cai 86ca31ab58
English API Docs Optimization Part 1 (#24536)
6 years ago
Huihuang Zheng 2d0f849e75
[Dy2Stat] Add assert for ProgramTranslator (#24492)
6 years ago
Aurelius84 100914ddbe
Fix bug with `if Tensor` in is_control_flow (#24433)
6 years ago
liym27 f9a4f9f4c4
Remove redundant code. test=develop (#24397)
6 years ago
Aurelius84 9bf70ed752
[dy2stat]Support save_inference_model in program_translator (#24353)
6 years ago
liym27 03f4684d76
[Dy2Stat] Add test for bert pretraining. (#24350)
6 years ago
hong 6d8dcc7407
Fix np ndarray mul varbase (#24331)
6 years ago
hong 5f65d9d58c
Fix dygraph exit issue (#24347)
6 years ago
Aurelius84 1ed8baf9c8
[dy2static] Support for static graph training with @declarative decorator (#24259)
6 years ago
liym27 ac9a7eeea4
[Dy2Stat]Support list pop (#24250)
6 years ago
Xing Wu f79526c21c
Fix dygraph rnn doc (#24148)
6 years ago
liym27 e8869a907b
Fix bug in ProgramTranslator.get_output, convert all items into VarBase in nested list. (#24267)
6 years ago
Leo Chen 381492fca3
add try finally, test=develop (#24243)
6 years ago
zhongpu 61d19a8e1c
fix if logic in dygraph, test=develop (#24208)
6 years ago
Chen Weihang 9b851ba216
[dy2static] Add print transformer and unify print format (#24068)
6 years ago
Chen Weihang 9b3086cfb7
Fix some problems in StaticModelRunner (#24082)
6 years ago
qingqing01 b059fb955d
Add trainable_statistics in attr for batch_norm. (#24072)
6 years ago
liym27 2961a4f07d
[Dy2Stat] Optimize loop cond (#24049)
6 years ago
Xing Wu f6e8bf0d24
update cudnn rnn weights, test=develop (#23929)
6 years ago
Yibing Liu 720d18990c
Init complex number neural network (#24018)
6 years ago
wawltor 5c669ad1c2
Add the support dygraph out attribute for the op of mm in api2.0 (#23978)
6 years ago
liym27 1507f77a18
Fix bug in convert_call because difference exists between python3 and python2. test=develop (#23966)
6 years ago
liym27 0b0adbf9b6
[dy2static]Support recursive call (#23900)
6 years ago
Huihuang Zheng 45e48c3c32
[Dy2stat] Add Test and Example Code for Different Access to ProgramTranslator and Fix Related Bug (#23958)
6 years ago
Huihuang Zheng 81c4def96a
[Dy2stat] Rename Dygraph To Static Decorators (#23880)
6 years ago
liym27 37ef7c1351
[dy2static]Fix a bug of is_dygraph_api and move BasicApiTransformer to a separate file(#23923)
6 years ago
Chen Weihang fccbc485f5
remove redundant visit func, test=develop (#23877)
6 years ago
Chen Weihang 5b97b8556e
remove train eval set in static runner, test=develop (#23834)
6 years ago