Commit Graph

379 Commits (b38e4f2840ebc4ee0195ab8de789bf5b8d54ef37)

Author SHA1 Message Date
Leo Chen 488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators (#23181)
5 years ago
Aurelius84 9474d140de
Support Parameter type determination in StaticAnalysis (#23302)
5 years ago
zhongpu dc24f38a9f
support math operator for variable (#23063)
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
Zeng Jinle 8bfd62ffb7
Expose dygraph.grad api (#23124)
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
Aurelius84 d6f72c4fcc
Add parameter(learning_rate) in NoamDecay (#23156)
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
songyouwei 2787041246
bug fix (#23193)
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
Huihuang Zheng 6fc6bb3e78
Refactoring Program Cache Related Code (#23118)
5 years ago
Zeng Jinle a31d7328b7
Add dygraph double grad implementation (#22939)
5 years ago
Huihuang Zheng d066d6f994
[Dy2Stat] Change layers.data to fluid.data and Test Var Created In Loop (#23103)
5 years ago
songyouwei 2e2da7124b
high-performance dygraph slice (#22879)
5 years ago
Aurelius84 26bc953b3f
Fix returned arguments in IfElse_fn test=develop (#23102)
5 years ago
Aurelius84 31fc3ab79a
Support to use external function (#23057)
5 years ago
Huihuang Zheng fb7b008acc
Add Support for Break and Continue in Dygraph to Static (#23067)
5 years ago
liym27 5a202af90b
Support slice write in dygraph_to_static. test=develop (#23055)
5 years ago
Aurelius84 2403362d06
BugFix for parsing Arguments and inserting funcs in IfElseTransormer (#23035)
5 years ago
liym27 4af491c2bb
Tensor.shape support control flow if/for/while and bugfix (#22866)
5 years ago
Aurelius84 ab473357a2
Support and/or in dygraph_to_static control_flow_if (#22967)
5 years ago
Chen Weihang 3dfaf44adc
Rename dygraph parallel env & add doc (#22925)
5 years ago
liym27 08e80d170b
Support list in control flow for dygraph_to_static (#22902)
5 years ago
Huihuang Zheng d7a7c5f0bf
Support Simple For Range Loop in Dygraph to Static (#22867)
5 years ago
Aurelius84 4ff2915d1f
Refine code of IfElseTransformer and rename unittest files (#22930)
5 years ago
Aurelius84 ba65e4ebef
support Tensor.shape in control_flow_if test=develop (#22916)
5 years ago
Zeng Jinle d33c4343e1
Imperative tracer refactoring (#22457)
5 years ago
liym27 b290420fc4
fix bug in the transformation from to_variable to assign. test=develop (#22885)
5 years ago
liym27 4ea95b6fe5
Support Tensor.shape in dygraph_to_static (#22830)
5 years ago
Huihuang Zheng 0d463d3bf7
Fix NameVisitor bugs (#22847)
5 years ago
Huihuang Zheng aca3f5311d
Support "while" in Dygraph to Static (#22841)
5 years ago
Aurelius84 1217a52155
Modify the way of inserting newly defined func_nodes (#22837)
5 years ago
Aurelius84 a5036775a9
Add program_cache in dygrapht_to_static (#22766)
5 years ago
songyouwei df87e79f54
Add functional dygraph mode api (#22745)
5 years ago
liym27 68a92e4674
fix dygraph_to_static_ouput and add a new decorator. (#22785)
5 years ago
liym27 8c381cd957
support fetch feed in dygraph to static graph (#22767)
5 years ago
Huihuang Zheng 66991218ec
Add Basic Function Return Type Analysis (#22747)
5 years ago
Aurelius84 dab5e5d8bc
Add IsControlFlowIfVisitor in ast_transformer (#22709)
5 years ago
liym27 68c76793ca
support dygraph basic api transformed to static api (#22678)
5 years ago
tianshuo78520a d2ba91aad1
fix typo words (#22653)
5 years ago
Leo Chen d39d8bee4e
unexpose tracer, test=develop (#22661)
5 years ago
Aurelius84 08b09f6447
Support if/else in dygraph_to_static (#22540)
5 years ago
Huihuang Zheng 14672a6364
Add Basic Node Var Type Analysis (#22603)
5 years ago
songyouwei 0aee43005a
Linear use mul op (#22662)
5 years ago
Aurelius84 8b41e2b3d1
add gast to replace ast test=develop (#22630)
5 years ago
songyouwei d9f0c9f51c
support set param with None value (#22418)
5 years ago
songyouwei b768708e5d
fix pickle load encoding between python 2 and 3 (#22621)
5 years ago
songyouwei cb4560b79d
python 2 and 3 compatible pickle (#22555)
5 years ago
Huihuang Zheng a8dd425aa3
Add Static Analysis to Construct AstNodeWrapper (#22569)
5 years ago
Zeng Jinle 08033c8634
fix traced layer with non persistable vars, test=develop (#22552)
5 years ago
Huihuang Zheng 903039a3c6 Add Simple Framework for Transforming Dygraph to Static Graph (#22491)
5 years ago
songyouwei 39bdefd875 open depthwise_conv2d in dygraph (#22373)
5 years ago
songyouwei 99f5907e02 Fix layer & dygraph circular dependent (#22334)
5 years ago
songyouwei 4dec15999f Allow Layer attr shadow (#22333)
5 years ago
hong 737334989b
State dict do not count data parallel layers (#22169)
5 years ago
songyouwei 4bf2ccaa52 fix save_dygraph & save with nonexistent dir (#22266)
5 years ago
songyouwei 83037e55ca named_sublayers and named_parameters (#21868)
5 years ago
zhongpu 7d10edc5ee add clear_gradients for Optimizer and add clear_gradients api description (#21948)
5 years ago
Leo Chen 51cb918a05 update layers used in transformer dygraph model, test=develop (#22051)
5 years ago
songyouwei 1ae3f47f59 update PRelu arg (#21946)
5 years ago
zhongpu cf475f95df Remove FC in dygraph, modify FC to Linear in sample code (#22082)
5 years ago
songyouwei d0406193e3 LayerList add sublayer none check (#22135)
5 years ago
hong 2f49cf70f7
Support dygraph structuerd name (#21930)
5 years ago
songyouwei 2a47cc5fc4 dygraph LayerList container (#21734)
5 years ago
songyouwei 56414c7daf move private weight fields to public ones (#21982)
5 years ago
Zeng Jinle 86c40e207d
Expose fluid.dygraph.TracedLayer API (#21518)
5 years ago
Leo Chen 33f1306753
update layers used in mnist dygraph model, test=develop (#21947)
5 years ago
Leo Chen ba51043f7e
remove parameter block in to_variable, test=develop (#21933)
5 years ago
zhongpu dca075839b remove params in Tracer object (in dygraph) (#20815)
5 years ago
songyouwei cff7a49856 Add ParameterList (#21056)
5 years ago
Leo Chen 310edc0d0c
Update layers used in ptb model to use auto-generated op functions in dygraph mode (#21724)
5 years ago
songyouwei 63a5fb4cac tmp fix depthwise_conv2d in dygraph (#21840)
5 years ago
songyouwei 1395828408 Add dygraph Linear layer (#21265)
5 years ago
Zeng Jinle 04909137f5
fix lr assert, test=develop (#21780)
5 years ago
Leo Chen c96f06f2f6
add unary operator __neg__, test=develop (#21787)
5 years ago
Youwei Song f6144d8463 remove build_once & name_scope (#21131)
5 years ago
Leo Chen 9c481e12ba
Patch math method for VarBase using auto-generated op functions (#21656)
5 years ago
zhongpu 8777e8c1e9 fix Conv2DTranspose API, test=develop (#21403)
5 years ago
Leo Chen 4f81d1bd5f
Refine VarBase init function (#21587)
5 years ago
hong 08483a6819
Add dygraph linear warm up decay (#21186)
5 years ago
Leo Chen cdd46d7e02
Split VarBase from Python Variable for Dygraph (#21359)
5 years ago
Youwei Song cdba41af4d dygraph Embedding layer use lookuptable v2 (#21209)
5 years ago
Chen Weihang 664f958a02
Fix optimizer op infershape failed in dygraph multi-cards mode (#21374)
5 years ago
Youwei Song d5ff79e55e Support numpy bridge (enabled by default in dygraph mode) (#20983)
5 years ago
Zeng Jinle 67e88424e5
Polish jit trace codes (#21218)
5 years ago
Zeng Jinle 0f30d3a213
fix dygraph trace bug, test=develop (#21193)
5 years ago
Zeng Jinle 5fdfbe3413
Add friendly dygraph trace API (#21091)
5 years ago
Wojciech Uss 226bc22a29 Remove fuse_with_relu argument from batch_norm constructor (#21028)
5 years ago
Leo Chen 008ed65fd5 Add c++ global current tracer for dygraph (#20882)
5 years ago
Leo Chen 9974e40787 Update Tensor.set() to support float16 (#19964)
5 years ago
Youwei Song 2058bab1c0 Add Sequential api (#20789)
5 years ago
Zeng Jinle 378fc4fb1c
add some docs to jit.trace, test=develop (#20811)
5 years ago
Zeng Jinle 8ff6b289bd
[Dygraph to static graph]JIT/Trace (#20775)
5 years ago
Youwei Song 9a09ff14a5 fix en docs of Layer and guard (#20512)
5 years ago
LielinJiang faa8e30a14 Set batch norm and data norm argument 'do_model_average_for_mean_and_var' default as True (#20421)
5 years ago
zhongpu 0b321c8a2f fix APIs, to_variable、NCE、PRelu、softmax、rankloss for dygraph, test=document_fix, test=develop (#20142)
5 years ago
zhongpu 52dcc1679d fix Embedding API for dygraph (#20358)
5 years ago
DuYao 76a5819728 update English document (#20330)
5 years ago
zhongpu 95e5768bd6 update conv, fc, pool op for dygraph, test=develop (#20132)
5 years ago
zhongpu 9ca417f1d0 fix APIs, update norm op, test=develop (#20119)
5 years ago
hong fa43e80e19 New save load interface (#20148)
5 years ago
Youwei Song 54e07994ee Dygraph Layer kwargs & param getter setter (#19901)
5 years ago
Jiabin Yang 39ff0f9cd9
Optimze/optimize dygraph api (#19999)
5 years ago
chengduo b99fc38cec
Add fp16 support for dygraph (#19828)
6 years ago
Youwei Song 3e5fb6361b fix api-doc error for dygraph and backward (#19721)
6 years ago
Chen Weihang 73daa3d6c0
Code Cleanup: delete three useless raw variables in Conv2D (#19644)
6 years ago
Jiabin Yang e9233d1c1e Refactor dygraph (#19107)
6 years ago
Youwei Song 9a577f2e41 fix batchnorm api param: data_layout (#19524)
6 years ago
Jiabin Yang 1ce0a09e60
fix con2d transpose bias by create and init it in build_once (#18968)
6 years ago
Ghost Under Moon 10643b4ea6 fix- raise io error when user load from non-existed dir test=develop (#19384)
6 years ago
Jiabin Yang 55931db449
fix problem that get_attr method can't using default mode when we call has_attr in dygraph (#19328)
6 years ago
chengduo 5a579df9ba
[Speedup] Make dygraph data parallel faster (#19280)
6 years ago
chengduo 20859c08e8
[DyGraph] Make multi-card program faster (#18892)
6 years ago
lujun b6d5c74f69
update dygraph api doc for web (#18550)
6 years ago
Jiabin Yang 7586cdd545
Hide no support (#18515)
6 years ago
lujun fd6631ef2f
Fix dygraph show style (#18297)
6 years ago
Zeng Jinle 25ab23be28
Fix dygraph mem leak (#18082)
6 years ago
lujun dcaf60f06c
Fix dygraph doc at nn.py for v1.5 (#17904)
6 years ago
Hongyu Liu 2a9d74f67c
Add comment for dygraph api (#17869)
6 years ago
Jiabin Yang 4d5f6937c3
Feature/refine api for dygraph (#17907)
6 years ago
Jiabin Yang fba10b6bb5
test=develop, refine api (#17883)
6 years ago
Jiabin Yang 4cb7d32c9b
test=develop, add dygraph_not_support and refine ocr (#17868)
6 years ago
xiaoting 545afb2d74 Add trainable_statist attr for bn in dygraph (#17881)
6 years ago
Jiabin Yang 3bfb92c32b
test=develop, hide build_once (#17871)
6 years ago
Jiabin Yang 022dfed4fc
Add optimizer save and load (#16986)
6 years ago
Zeng Jinle 674e0ce2d6
Use Python C-API to speed up dygraph trace (#17837)
6 years ago
Jiabin Yang 3b70f870e2
Using Smart pointer to optimizer memory usage of dyGraph (#17768)
6 years ago
Zeng Jinle 3a6ead24ad
Add no_grad decorator to dygraph (#17790)
6 years ago
lujun 7f1c626921
Fix potential bugs: use numpy assignment to restore parameters at build-once, test=develop (#17720)
6 years ago
Hongyu Liu aca53535e0 fix bug; test=develop (#17733)
6 years ago
Jiabin Yang effc555955
test=develop, layz init Grad (#17653)
6 years ago
lujun 0f2e7a48c8
fix:Modify keys in the dictionary of layer.stat_dict in dynamic graph mode, test=develop (#17700)
6 years ago
chengduo 21d7b78602
update parallel_helper (#17691)
6 years ago
Zeng Jinle 432ac70124
clean code of py_layer in dygraph mode,test=develop (#17661)
6 years ago
chengduo b5f4d5ed0e
Add broadcast operators (#17503)
6 years ago
Jiabin Yang ff5fdc0b67
test=develop, fix con2d with no bias (#17516)
6 years ago
Jiabin Yang d2682a84ca
test=develop, fix dygraph batch_norm (#17465)
6 years ago
Hongyu Liu 306eadcd39
fix eval mode bug; test=develop (#17499)
6 years ago
Yan Xu 0217555530 polish parallel dygraph code (#17164)
6 years ago
Zeng Jinle eab34b2df6
fix_dygraph_mem_leak, test=develop (#17396)
6 years ago
Jiabin Yang 4624d7c642
test=develop, add gradient sort backward strategy (#17125)
6 years ago
Jiabin Yang d8af44a5a3
test=develop, fix error with training and test on diff device (#17276)
6 years ago
Zeng Jinle 5dfe2ab9e8
Fix mem leak when converting Tensor to numpy array (#17182)
6 years ago
Yan Xu 0b07eef118
ParallelDyGraph with GPU collective mode (#16827)
6 years ago
lujun 9d2f7d762c fix dy-load bug, test=develop
6 years ago
lujun 94c4cd1a98 fix dy-load bug, test=develop
6 years ago
lujun a3f17280a3 fix dy-load bug, test=develop
6 years ago
lujun dbf66dd034
Merge pull request #16954 from junjun315/fix-dygraph-checkpoint
6 years ago
lujun a7c11979ba fix dygraph save/load checkpoint error, test=develop
6 years ago
minqiyang 97aa1838bc Fix dygraph train mode
6 years ago
minqiyang 73cbdc2998 Add train mode
6 years ago
minqiyang 734260f47b Make Op Hold Output too and release backward_refs each time
6 years ago
minqiyang 20e304f2ae Tracer does not hold op any more
6 years ago
lujun 92c8ac8a74 merge conflict, test=develop
6 years ago
minqiyang 2e0b871320 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into imperative_dqn
6 years ago
Yan Xu b4c3a6aa0b
[Imperative] implement imperative NCCLParallelContext (#16477)
6 years ago
lujun 01f4f2d7e4 merge confict, test=develop
6 years ago
minqiyang 61fe139f34 Polish code
6 years ago
lujun e11bf2a49e merge branch, test=develop
6 years ago
lujun a32c6ffa96 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into move-api-to-root
6 years ago
minqiyang e377d75977 Add UT for most layers without params
6 years ago
lujun ad7c1a934f merge conficts, test=develop
6 years ago
lujun 60e3e35575 merge branch, test=develop
6 years ago
Jiabin Yang 353244f4fc
test=develop, add FC and test (#16604)
6 years ago
lujun 717256755a move dygraph.nn,dygraph.layer to fluid, test=develop
6 years ago
lujun cf6238fbd9 fix merge for move dir, fix utest error, test=develop
6 years ago
lujun 1dcd28e819 move dygraph.nn,dygraph.layer to fluid, test=develop
6 years ago
lujun 5470c29daa fix merge for move dir, fix utest error, test=develop
6 years ago
minqiyang fb7c787d34 Fix conflicts
6 years ago
minqiyang 3e57981294 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into imperative_lr_scheduler
6 years ago
lujun d4d5052fa6 fix merge for move dir, fix utest error, test=develop
6 years ago
lujun 32146857a4 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into move-code
6 years ago
lujun 1c9aaeebe0 move imperative to dygraph, test=develop
6 years ago