Commit Graph

91 Commits (02adf68dcc6b1a0d47717b4d386db55d7c74e2e0)

Author SHA1 Message Date
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
liym27 b3ac1470c5
Support create LoDTensorArray and return LoDTensorArray in control flow (#24609)
5 years ago
Chen Weihang d26f581c58
fix some detail problems, test=develop (#24614)
5 years ago
Chen Weihang 03ba5b748d
[Dy2static] Add for enumerate Variable support (#24398)
5 years ago
Huihuang Zheng 5ff4535781
[Dy2Stat] Fix ProgramTranslator.save_inference_model API Doc (#24584)
5 years ago
Chen Weihang 897cec811a
[Dy2static] fix some print transformer problems (#24516)
5 years ago
Aurelius84 db0c1ea851
[Dy2stat] Fix function lookup bug in convert_call (#24567)
5 years ago
Huihuang Zheng 2d0f849e75
[Dy2Stat] Add assert for ProgramTranslator (#24492)
5 years ago
Aurelius84 100914ddbe
Fix bug with `if Tensor` in is_control_flow (#24433)
5 years ago
liym27 f9a4f9f4c4
Remove redundant code. test=develop (#24397)
5 years ago
Aurelius84 9bf70ed752
[dy2stat]Support save_inference_model in program_translator (#24353)
5 years ago
liym27 03f4684d76
[Dy2Stat] Add test for bert pretraining. (#24350)
5 years ago
Aurelius84 1ed8baf9c8
[dy2static] Support for static graph training with @declarative decorator (#24259)
5 years ago
liym27 ac9a7eeea4
[Dy2Stat]Support list pop (#24250)
5 years ago
liym27 e8869a907b
Fix bug in ProgramTranslator.get_output, convert all items into VarBase in nested list. (#24267)
5 years ago
Chen Weihang 9b851ba216
[dy2static] Add print transformer and unify print format (#24068)
5 years ago
liym27 2961a4f07d
[Dy2Stat] Optimize loop cond (#24049)
5 years ago
liym27 1507f77a18
Fix bug in convert_call because difference exists between python3 and python2. test=develop (#23966)
5 years ago
liym27 0b0adbf9b6
[dy2static]Support recursive call (#23900)
5 years ago
Huihuang Zheng 45e48c3c32
[Dy2stat] Add Test and Example Code for Different Access to ProgramTranslator and Fix Related Bug (#23958)
5 years ago
Huihuang Zheng 81c4def96a
[Dy2stat] Rename Dygraph To Static Decorators (#23880)
5 years ago
liym27 37ef7c1351
[dy2static]Fix a bug of is_dygraph_api and move BasicApiTransformer to a separate file(#23923)
5 years ago
Chen Weihang fccbc485f5
remove redundant visit func, test=develop (#23877)
5 years ago
Aurelius84 d265b16aed
Support transform two independent functions in dygraph_to_static_output (#23652)
5 years ago
Aurelius84 d1f9a26c95
Refine mechanism of calling outer function in dy2static (#23688)
5 years ago
liym27 f9c9d50e7e
Return VarBase of ProgramTranslator.get_output instead of numpy.ndarray. test=develop (#23663)
5 years ago
Aurelius84 d37cd74033
Polish set_optimizer Interface (#23588)
5 years ago
Huihuang Zheng 036121b731
[Dy2stat] Make loop_transformer supports class variable (#23478)
5 years ago
Aurelius84 4955c97ee8
Add unitTest for `Tensor==constant` for ifElse in dygraph2static (#23407)
5 years ago
Huihuang Zheng 1d4d89baf8
[Dy2stat] Add data_layer_not_check (#23351)
5 years ago