Commit Graph

173 Commits (8f2f977345da8bc8f12f32c8d64aa1a0b41fda66)

Author SHA1 Message Date
Huihuang Zheng e5af90aa28
Add Decorator 'dygraph_to_static_program' and ProgramTranslator.save_inference_model (#23227)
6 years ago
Aurelius84 a647bcd355
Add convert_function_with_cache in dygraph_to_static_func (#23190)
6 years ago
Aurelius84 d6f72c4fcc
Add parameter(learning_rate) in NoamDecay (#23156)
6 years ago
liym27 af92630666
fix bug of loop_vars in loop_transformer.test=develop (#23180)
6 years ago
liym27 ebe4eab985
fix bug of ListTransformer in dygraph_to_static. test=develop (#23153)
6 years ago
Huihuang Zheng e9b18c7402
Rename Decorator "dygraph_to_static_graph" to "dygraph_to_static_func" (#23150)
6 years ago
Huihuang Zheng 05c00af5f1
Add dygraph_to_static_code and get_code in ProgramTranslator (#23162)
6 years ago
songyouwei 2787041246
bug fix (#23193)
6 years ago
liym27 11f94cdce9
Improve function is_control_flow_to_transform. test=develop (#23109)
6 years ago
liym27 573d2faacd
fix bug in function `is_to_variable`. test=develop (#23147)
6 years ago
Huihuang Zheng 6fc6bb3e78
Refactoring Program Cache Related Code (#23118)
6 years ago
Zeng Jinle a31d7328b7
Add dygraph double grad implementation (#22939)
6 years ago
Huihuang Zheng d066d6f994
[Dy2Stat] Change layers.data to fluid.data and Test Var Created In Loop (#23103)
6 years ago
songyouwei 2e2da7124b
high-performance dygraph slice (#22879)
6 years ago
Aurelius84 26bc953b3f
Fix returned arguments in IfElse_fn test=develop (#23102)
6 years ago
Aurelius84 31fc3ab79a
Support to use external function (#23057)
6 years ago
Huihuang Zheng fb7b008acc
Add Support for Break and Continue in Dygraph to Static (#23067)
6 years ago
liym27 5a202af90b
Support slice write in dygraph_to_static. test=develop (#23055)
6 years ago
Aurelius84 2403362d06
BugFix for parsing Arguments and inserting funcs in IfElseTransormer (#23035)
6 years ago
liym27 4af491c2bb
Tensor.shape support control flow if/for/while and bugfix (#22866)
6 years ago
Aurelius84 ab473357a2
Support and/or in dygraph_to_static control_flow_if (#22967)
6 years ago
Chen Weihang 3dfaf44adc
Rename dygraph parallel env & add doc (#22925)
6 years ago
liym27 08e80d170b
Support list in control flow for dygraph_to_static (#22902)
6 years ago
Huihuang Zheng d7a7c5f0bf
Support Simple For Range Loop in Dygraph to Static (#22867)
6 years ago
Aurelius84 4ff2915d1f
Refine code of IfElseTransformer and rename unittest files (#22930)
6 years ago
Aurelius84 ba65e4ebef
support Tensor.shape in control_flow_if test=develop (#22916)
6 years ago
Zeng Jinle d33c4343e1
Imperative tracer refactoring (#22457)
6 years ago
liym27 b290420fc4
fix bug in the transformation from to_variable to assign. test=develop (#22885)
6 years ago
liym27 4ea95b6fe5
Support Tensor.shape in dygraph_to_static (#22830)
6 years ago
Huihuang Zheng 0d463d3bf7
Fix NameVisitor bugs (#22847)
6 years ago
Huihuang Zheng aca3f5311d
Support "while" in Dygraph to Static (#22841)
6 years ago
Aurelius84 1217a52155
Modify the way of inserting newly defined func_nodes (#22837)
6 years ago
Aurelius84 a5036775a9
Add program_cache in dygrapht_to_static (#22766)
6 years ago
songyouwei df87e79f54
Add functional dygraph mode api (#22745)
6 years ago
liym27 68a92e4674
fix dygraph_to_static_ouput and add a new decorator. (#22785)
6 years ago
liym27 8c381cd957
support fetch feed in dygraph to static graph (#22767)
6 years ago
Huihuang Zheng 66991218ec
Add Basic Function Return Type Analysis (#22747)
6 years ago
Aurelius84 dab5e5d8bc
Add IsControlFlowIfVisitor in ast_transformer (#22709)
6 years ago
liym27 68c76793ca
support dygraph basic api transformed to static api (#22678)
6 years ago
tianshuo78520a d2ba91aad1
fix typo words (#22653)
6 years ago
Leo Chen d39d8bee4e
unexpose tracer, test=develop (#22661)
7 years ago
Aurelius84 08b09f6447
Support if/else in dygraph_to_static (#22540)
7 years ago
Huihuang Zheng 14672a6364
Add Basic Node Var Type Analysis (#22603)
7 years ago
songyouwei 0aee43005a
Linear use mul op (#22662)
7 years ago
Aurelius84 8b41e2b3d1
add gast to replace ast test=develop (#22630)
7 years ago
songyouwei d9f0c9f51c
support set param with None value (#22418)
7 years ago
songyouwei b768708e5d
fix pickle load encoding between python 2 and 3 (#22621)
7 years ago
songyouwei cb4560b79d
python 2 and 3 compatible pickle (#22555)
7 years ago
Huihuang Zheng a8dd425aa3
Add Static Analysis to Construct AstNodeWrapper (#22569)
7 years ago
Zeng Jinle 08033c8634
fix traced layer with non persistable vars, test=develop (#22552)
7 years ago