Commit Graph

245 Commits (a9520db24ef8b101514b0bcaff39dd359f72dcb7)

Author SHA1 Message Date
songyouwei b11340a437
support Layer level train/eval mode (#22463)
6 years ago
Aurelius84 d37cd74033
Polish set_optimizer Interface (#23588)
6 years ago
Chen Weihang f301eb7f34
api dygraph layer norm input check, test=develop (#23534)
6 years ago
Feiyu Chan 078dd05b73
add Conv2D/Conv2DTranspose/Conv3D/Conv3DTranspose in paddle.nn.layer (#23488)
6 years ago
songyouwei c435110a3f
support no_grad inplace operating (#22522)
6 years ago
Chen Weihang d349a622f0
api dygraph batch norm type check, test=develop (#23525)
6 years ago
zhongpu 8d95a10906
fix if logic in dygraph, test=develop (#23512)
6 years ago
zhongpu ea6a251c0b
fix sample code, test=develop (#23448)
6 years ago
Chen Weihang 75bd350710
Implement StaticModelRunner to support dygraph fine-tune static graph pre-training model (#23171)
6 years ago
Huihuang Zheng 036121b731
[Dy2stat] Make loop_transformer supports class variable (#23478)
6 years ago
Aurelius84 4955c97ee8
Add unitTest for `Tensor==constant` for ifElse in dygraph2static (#23407)
6 years ago
zhongpu 7ca836d3da
support if logic for Variable in dygraph (#22892)
6 years ago
zhongpu 166a1ae902
support forward hook for dygraph (#22443)
6 years ago
Huihuang Zheng 1d4d89baf8
[Dy2stat] Add data_layer_not_check (#23351)
6 years ago
Huihuang Zheng 8814853d82
Remove Read-Only Basic Type Variable in loop_vars (#23299)
6 years ago
hong 420944e514
enhance load dygraph; test=develop (#23167)
6 years ago
Leo Chen 488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators (#23181)
6 years ago
Aurelius84 9474d140de
Support Parameter type determination in StaticAnalysis (#23302)
6 years ago
zhongpu dc24f38a9f
support math operator for variable (#23063)
6 years ago
Aurelius84 f8205ffa82
fix conflict var bug in loop_transformer test=develop (#23287)
6 years ago
Aurelius84 16e74f1185
fix is_controw_flow bug with `if Tensor.numpy()` (#23251)
6 years ago
Zeng Jinle 8bfd62ffb7
Expose dygraph.grad api (#23124)
6 years ago
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)
6 years ago
Aurelius84 08b09f6447
Support if/else in dygraph_to_static (#22540)
6 years ago
Huihuang Zheng 14672a6364
Add Basic Node Var Type Analysis (#22603)
6 years ago
songyouwei 0aee43005a
Linear use mul op (#22662)
6 years ago
Aurelius84 8b41e2b3d1
add gast to replace ast test=develop (#22630)
6 years ago
songyouwei d9f0c9f51c
support set param with None value (#22418)
6 years ago
songyouwei b768708e5d
fix pickle load encoding between python 2 and 3 (#22621)
6 years ago
songyouwei cb4560b79d
python 2 and 3 compatible pickle (#22555)
6 years ago
Huihuang Zheng a8dd425aa3
Add Static Analysis to Construct AstNodeWrapper (#22569)
6 years ago
Zeng Jinle 08033c8634
fix traced layer with non persistable vars, test=develop (#22552)
6 years ago
Huihuang Zheng 903039a3c6 Add Simple Framework for Transforming Dygraph to Static Graph (#22491)
6 years ago
songyouwei 39bdefd875 open depthwise_conv2d in dygraph (#22373)
6 years ago
songyouwei 99f5907e02 Fix layer & dygraph circular dependent (#22334)
6 years ago
songyouwei 4dec15999f Allow Layer attr shadow (#22333)
6 years ago
hong 737334989b
State dict do not count data parallel layers (#22169)
6 years ago
songyouwei 4bf2ccaa52 fix save_dygraph & save with nonexistent dir (#22266)
6 years ago
songyouwei 83037e55ca named_sublayers and named_parameters (#21868)
6 years ago
zhongpu 7d10edc5ee add clear_gradients for Optimizer and add clear_gradients api description (#21948)
6 years ago
Leo Chen 51cb918a05 update layers used in transformer dygraph model, test=develop (#22051)
6 years ago
songyouwei 1ae3f47f59 update PRelu arg (#21946)
6 years ago
zhongpu cf475f95df Remove FC in dygraph, modify FC to Linear in sample code (#22082)
6 years ago
songyouwei d0406193e3 LayerList add sublayer none check (#22135)
6 years ago
hong 2f49cf70f7
Support dygraph structuerd name (#21930)
6 years ago
songyouwei 2a47cc5fc4 dygraph LayerList container (#21734)
6 years ago
songyouwei 56414c7daf move private weight fields to public ones (#21982)
6 years ago
Zeng Jinle 86c40e207d
Expose fluid.dygraph.TracedLayer API (#21518)
6 years ago
Leo Chen 33f1306753
update layers used in mnist dygraph model, test=develop (#21947)
6 years ago
Leo Chen ba51043f7e
remove parameter block in to_variable, test=develop (#21933)
6 years ago
zhongpu dca075839b remove params in Tracer object (in dygraph) (#20815)
6 years ago
songyouwei cff7a49856 Add ParameterList (#21056)
6 years ago
Leo Chen 310edc0d0c
Update layers used in ptb model to use auto-generated op functions in dygraph mode (#21724)
6 years ago
songyouwei 63a5fb4cac tmp fix depthwise_conv2d in dygraph (#21840)
6 years ago
songyouwei 1395828408 Add dygraph Linear layer (#21265)
6 years ago
Zeng Jinle 04909137f5
fix lr assert, test=develop (#21780)
6 years ago
Leo Chen c96f06f2f6
add unary operator __neg__, test=develop (#21787)
6 years ago
Youwei Song f6144d8463 remove build_once & name_scope (#21131)
6 years ago
Leo Chen 9c481e12ba
Patch math method for VarBase using auto-generated op functions (#21656)
6 years ago
zhongpu 8777e8c1e9 fix Conv2DTranspose API, test=develop (#21403)
6 years ago