Commit Graph

72 Commits (55b664a1310c3148809688a7fbdd94073aa26a7d)

Author SHA1 Message Date
liym27 62222bf461
Fix test_bert on GPU (#24692)
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
Aurelius84 85ff797494
[Dy2stat] Add GPU unittest of test_se_resnet (#24582)
5 years ago
Chen Weihang 03ba5b748d
[Dy2static] Add for enumerate Variable support (#24398)
5 years ago
Chen Weihang 897cec811a
[Dy2static] fix some print transformer problems (#24516)
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
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 803559499d
[Dy2Stat]Support LoDTensorArray for slice op (#23091)
5 years ago
Chen Weihang 9b851ba216
[dy2static] Add print transformer and unify print format (#24068)
5 years ago
liym27 c2bc92de91
[Dy2Stat] Add test for ptb model. (#24076)
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 b3520b14fc
Get answer code from function instead of str. test=develop (#23904)
5 years ago
liym27 0bbad002df
[dy2static] Revert to usage of 'assign' in test_transformer (#23777)
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 d7dd4e1d36
Add unittest for se_resnet in dygraph_to_static. test=develop (#23566)
5 years ago
liym27 f9c9d50e7e
Return VarBase of ProgramTranslator.get_output instead of numpy.ndarray. test=develop (#23663)
5 years ago
Zhen Wang 84cd45f674
Solve the conflict of ops with the same name, test for CI. (#23573)
5 years ago
Aurelius84 d37cd74033
Polish set_optimizer Interface (#23588)
5 years ago
liym27 316ea5499f
Revert to usage of 'fill_constant' in test_transformer. test=develop (#23529)
5 years ago
liym27 660489acac
Add log and check predicted scores. test=develop (#23506)
5 years ago
Tao Luo 0b583235f5
Revert "Solve the conflict of ops with the same name. (#23199)" (#23494)
5 years ago
Huihuang Zheng 036121b731
[Dy2stat] Make loop_transformer supports class variable (#23478)
5 years ago
Zhen Wang abe3e6906d
Solve the conflict of ops with the same name. (#23199)
5 years ago
Aurelius84 4955c97ee8
Add unitTest for `Tensor==constant` for ifElse in dygraph2static (#23407)
5 years ago
zhongpu 7ca836d3da
support if logic for Variable in dygraph (#22892)
5 years ago
liym27 b7b0b3595b
Add unittest for transformer prediction in dygraph_to_static (#23207)
5 years ago
Huihuang Zheng 1d4d89baf8
[Dy2stat] Add data_layer_not_check (#23351)
5 years ago
Huihuang Zheng 8814853d82
Remove Read-Only Basic Type Variable in loop_vars (#23299)
5 years ago
Aurelius84 8473854547
Add dygraph_to_static training unitTest of transformer model (#23316)
5 years ago
Aurelius84 9474d140de
Support Parameter type determination in StaticAnalysis (#23302)
5 years ago
Aurelius84 f8205ffa82
fix conflict var bug in loop_transformer test=develop (#23287)
5 years ago
Aurelius84 16e74f1185
fix is_controw_flow bug with `if Tensor.numpy()` (#23251)
5 years ago
Huihuang Zheng e5af90aa28
Add Decorator 'dygraph_to_static_program' and ProgramTranslator.save_inference_model (#23227)
5 years ago
Aurelius84 a647bcd355
Add convert_function_with_cache in dygraph_to_static_func (#23190)
5 years ago
liym27 af92630666
fix bug of loop_vars in loop_transformer.test=develop (#23180)
5 years ago
liym27 ebe4eab985
fix bug of ListTransformer in dygraph_to_static. test=develop (#23153)
5 years ago
Huihuang Zheng e9b18c7402
Rename Decorator "dygraph_to_static_graph" to "dygraph_to_static_func" (#23150)
5 years ago
Huihuang Zheng 05c00af5f1
Add dygraph_to_static_code and get_code in ProgramTranslator (#23162)
5 years ago
liym27 11f94cdce9
Improve function is_control_flow_to_transform. test=develop (#23109)
5 years ago
liym27 573d2faacd
fix bug in function `is_to_variable`. test=develop (#23147)
5 years ago