Commit Graph

323 Commits (2101dfd2b3552defe4e6e14f7eb96321ffe41fc2)

Author SHA1 Message Date
Huihuang Zheng 81c4def96a
[Dy2stat] Rename Dygraph To Static Decorators (#23880)
6 years ago
liym27 37ef7c1351
[dy2static]Fix a bug of is_dygraph_api and move BasicApiTransformer to a separate file(#23923)
6 years ago
Chen Weihang fccbc485f5
remove redundant visit func, test=develop (#23877)
6 years ago
Chen Weihang 5b97b8556e
remove train eval set in static runner, test=develop (#23834)
6 years ago
songyouwei 8f63a3ecff
fix no_grad argspec (#23790)
6 years ago
Xing Wu 840ac2b302
Cudnn rnn layers api (#23390)
6 years ago
zhongpu 2beb6eacba
fix if logic in dygraph (#23728)
6 years ago
Aurelius84 d265b16aed
Support transform two independent functions in dygraph_to_static_output (#23652)
6 years ago
Chen Weihang a2315d37cf
remove logging setting, test=develop (#23715)
6 years ago
songyouwei 0307393721
API(PRelu) error message enhancement (#23539)
6 years ago
songyouwei cae9340ec8
API(GRUUnit) error message enhancement (#23535)
6 years ago
songyouwei 475de6da22
API(Embedding) error message enhancement (#23533)
6 years ago
songyouwei dc1901f48e
API(BilinearTensorProduct) error message enhancement (#23528)
6 years ago
Aurelius84 d1f9a26c95
Refine mechanism of calling outer function in dy2static (#23688)
6 years ago
songyouwei 4d0efee4f4
Linear revert to matmul op (#23654)
6 years ago
silingtong123 f9e2a27963
error message of SpectralNorm OP enhancement (#23516)
6 years ago
zhongpu 076dcdfde9
add instance_norm op for dygraph (#23362)
6 years ago
songyouwei cb36478a36
add LayerList insert and extend (#23377)
6 years ago
Zhou Wei 1f83069117
API(to_variable/save_dygraph) error message enhancement(#23683)
6 years ago
zhongpu 60d1f98a7d
error message enhancement for Pool2D, test=develop (#23607)
6 years ago
liym27 f9c9d50e7e
Return VarBase of ProgramTranslator.get_output instead of numpy.ndarray. test=develop (#23663)
6 years ago
zhongpu 01a78323a7
API/OP (Conv2DTranspose) error message enhancement (#23590)
6 years ago
Leo Chen 795a0a9ab4
fix a typo, test=develop (#23685)
6 years ago
silingtong123 cec234b1aa
test=develop, error message of tree_conv OP enhancement (#23574)
6 years ago
silingtong123 7277df47bb
error message of NCE API enhancement (#23544)
6 years ago
songyouwei a1a95f8108
fix no_grad signature (#23600)
6 years ago
zhongpu d40c52403d
error message enhancement for Linear, test=develop (#23595)
6 years ago
zhongpu c1c8c7e431
error message enhancement for Conv2D, test=develop (#23561)
6 years ago
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
Leo Chen 4f81d1bd5f
Refine VarBase init function (#21587)
6 years ago
hong 08483a6819
Add dygraph linear warm up decay (#21186)
7 years ago
Leo Chen cdd46d7e02
Split VarBase from Python Variable for Dygraph (#21359)
7 years ago
Youwei Song cdba41af4d dygraph Embedding layer use lookuptable v2 (#21209)
7 years ago
Chen Weihang 664f958a02
Fix optimizer op infershape failed in dygraph multi-cards mode (#21374)
7 years ago
Youwei Song d5ff79e55e Support numpy bridge (enabled by default in dygraph mode) (#20983)
7 years ago
Zeng Jinle 67e88424e5
Polish jit trace codes (#21218)
7 years ago
Zeng Jinle 0f30d3a213
fix dygraph trace bug, test=develop (#21193)
7 years ago
Zeng Jinle 5fdfbe3413
Add friendly dygraph trace API (#21091)
7 years ago
Wojciech Uss 226bc22a29 Remove fuse_with_relu argument from batch_norm constructor (#21028)
7 years ago
Leo Chen 008ed65fd5 Add c++ global current tracer for dygraph (#20882)
7 years ago
Leo Chen 9974e40787 Update Tensor.set() to support float16 (#19964)
7 years ago
Youwei Song 2058bab1c0 Add Sequential api (#20789)
7 years ago
Zeng Jinle 378fc4fb1c
add some docs to jit.trace, test=develop (#20811)
7 years ago
Zeng Jinle 8ff6b289bd
[Dygraph to static graph]JIT/Trace (#20775)
7 years ago
Youwei Song 9a09ff14a5 fix en docs of Layer and guard (#20512)
7 years ago
LielinJiang faa8e30a14 Set batch norm and data norm argument 'do_model_average_for_mean_and_var' default as True (#20421)
7 years ago
zhongpu 0b321c8a2f fix APIs, to_variable、NCE、PRelu、softmax、rankloss for dygraph, test=document_fix, test=develop (#20142)
7 years ago
zhongpu 52dcc1679d fix Embedding API for dygraph (#20358)
7 years ago
DuYao 76a5819728 update English document (#20330)
7 years ago
zhongpu 95e5768bd6 update conv, fc, pool op for dygraph, test=develop (#20132)
7 years ago
zhongpu 9ca417f1d0 fix APIs, update norm op, test=develop (#20119)
7 years ago