Commit Graph

495 Commits (9401173e3ae08caeecc8686897de81defac7912d)

Author SHA1 Message Date
Zhou Wei e122e16456
fix english doc, unittest, and remove useless alias of 2.0 lr_scheduler (#27686)
5 years ago
Chen Weihang 9b49f02441
Polish jit.save/load design & remove paddle.SaveLoadConfig (#27623)
5 years ago
Yiqun Liu 836ee3b0c8
Polish the english documentation and example of paddle.nn.Linear and paddle.nn.functional.linear (#27759)
5 years ago
wanghuancoder c826bcb2ec
modify doc for ParameterList and LayerList (#27609)
5 years ago
wanghuancoder 7ca66f1e06
modify Sequential doc, test=develop (#27608)
5 years ago
wanghuancoder 7698e19928
modify doc for paddle.nn.Layer (#27624)
5 years ago
liym27 3a8bef1d41
[Dynamic-to-Static] Refine 2.0rc assign: paddle.nn.functional.assign (#27650)
5 years ago
Chen Weihang 53803202cc
add rename var in block (#27705)
5 years ago
Chen Weihang dec53a9c79
Remove DataParallel.scale_loss & apply_collective_grads (#27603)
5 years ago
Chen Weihang 199da9689c
Polish api Program/CompiledProgram/ParallelEnv doc & code example (#27656)
5 years ago
Huihuang Zheng cc2fc93804
[Dy2stat] Refine Dy2stat APIs to 2.0rc (#27430)
5 years ago
Zhou Wei 6871e57b30
fix in_dynamic_mode of paddle,test=document_fix (#27671)
5 years ago
Huihuang Zheng abb32bbccd
[Dy2stat] Fix lstm bug (#27631)
5 years ago
Leo Chen c7e0a8bebf
Remove inplace argument when calling nn.reshape() (#27376)
5 years ago
Zhou Wei 162b4d6c13
remove to_variable from 2.0 (#27528)
5 years ago
Chen Weihang ecfdfc9c58
fix guard place set error (#27573)
5 years ago
Aurelius84 fc9d80bc9e
[Dy2Stat]rename StaticLayer into StaticFunction (#27487)
5 years ago
Chen Weihang bb84f0e646
Add new paddle.save/load APIs (#27331)
5 years ago
Zhou Wei 1e1ae5c54d
Make the Bind Method of Tensor more automatic (#27270)
5 years ago
Aurelius84 7ba6279a25
[Dy2stat] Refine error msg of @to_static if not in imperative mode (#27371)
5 years ago
liym27 ac82baa80d
[Dy2Stat-log] Add feature also_to_stdout and optimize log messages (#27285)
5 years ago
Huihuang Zheng d4b4357bc0
[Dy2stat] Change the Global Switch Name of ProgramTranslator for API 2.0 (#27203)
5 years ago
Leo Chen 189e10f1dd
Remove unnecessary requirements (#27341)
5 years ago
Chen Weihang c23f09fea6
Support load state_dict from save_params/persistables (#27298)
5 years ago
Chen Weihang 950301bfa1
Add input_spec & output_spec for TranslatedLayer (#27284)
5 years ago
zhupengyang ac9afa024b
paddle.nn.functional.logsigmoid -> log_sigmoid (#27277)
5 years ago
Zhen Wang d708b21074
Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for static graph amp training. (#26240)
5 years ago
Leo Chen 19228bd142
Temporally disable zero_copy (#27248)
5 years ago
Chen Weihang 33ff833af2
fix loaded no params layer run error (#27241)
5 years ago
liym27 3e20ddf73d
[Dy2Stat - Error Handling] Fix bug and optimize dy2stat error. (#27225)
5 years ago
Chen Weihang ac8afe184e
use structured name in loaded dict (#27242)
5 years ago
Aurelius84 5e0dde02b2
[Dy2stat] support usage: to_static(model) (#27040)
5 years ago
Chen Weihang 5406b014c0
Refine jit.save implement to adapt InputSpec using cases (#26959)
5 years ago
ShenLiang 5bd84b22c4
revert divide (#27202)
5 years ago
liym27 a1b640bc66
Fix test_origin_info to be compatible with PY3.8, because ast module is different in PY3.8 (#27201)
5 years ago
Aurelius84 252aeb1a46
[Dy2stat]Add naming rule if not specific InputSpec.name (#26997)
5 years ago
Chen Weihang 4c70e31ab5
add save load to jit.all (#27131)
5 years ago
Chen Weihang c1a8868732
Change jit.save/load configs to config & update code examples (#27056)
5 years ago
Aurelius84 35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer (#26987)
5 years ago
Chen Weihang 9373cf5ae4
Add TranslatedLayer.program method to get program (#26961)
5 years ago
Chen Weihang 9cb57f94c6
Update set_dict method name & add aliases (#26700)
5 years ago
Chen Weihang 209273e605
Support load state dict form `inference model` format save result (#26718)
5 years ago
liym27 435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. (#26750)
5 years ago
liym27 f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. (#26873)
5 years ago
Yang Zhang 6129b0e246
Revert `no_grad` changes and add new implementation (#26826)
5 years ago
liym27 61107aa6f1
[Dy2Stat-debugging] Fix bug: Returns True if the verbosity level set by the user is greater than or equal to the log level (#26858)
5 years ago
MRXLT 1f36d3cdcb
update optimizer (#26711)
5 years ago
Chen Weihang 28cb653145
Remove backend argument of init_parallel_env (#26773)
5 years ago
Aurelius84 b0111778b8
enhance error message (#26808)
5 years ago
Aurelius84 df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems (#26778)
5 years ago
Zhen Wang f32ae272ec
Remove `sorted_sum_gradient_` form BasicEngine and PartialGradTask. (#26766)
5 years ago
Chen Weihang 31f422ae5e
Add interface to launch parallel dygraph by multiprocessing (#26044)
5 years ago
liym27 b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457)
5 years ago
Zhen Wang f9066e6a6f
Update the demo code and the doc of varbase.backward. (#26506)
5 years ago
Aurelius84 f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative (#25960)
5 years ago
wanghuancoder 07e3b9a33b
api20, Bilinear add deprecated, and fix english doc (#26610)
5 years ago
Aurelius84 67d03bed70
Fix jit.to_static usage (#26682)
5 years ago
Huihuang Zheng 26d67414fd
Enrich English declarative Doc (#26538)
5 years ago
ceci3 f8dbd7a273
fix syncbn, test=develop (#26523)
5 years ago
yaoxuefeng d6e888cace
fix Flatten api test=develop (#26346)
5 years ago
wanghuancoder 90e6819cf2
fix engilsh document for api paddle.fluid.dygraph.enabled, test=develop, test=document_fix (#26271)
5 years ago
ShenLiang 0e81626081
add div, floor_div, remainder (#26562)
5 years ago
Zhen Wang c037d6253a
Update the demo of paddle.grad (#26498)
5 years ago
Chen Weihang c09de13ec4
Refine jit load model by extra_var_info (#26461)
5 years ago
Yang Zhang f6d20d565c
Update `no_grad` doc examples (#26481)
5 years ago
Zhou Wei ce7d5263e6
[2.0API]Bind method for tensor and Variable (#26416)
5 years ago
Huihuang Zheng e1245f5c84
[Dy2stat] change deprecated imp dependency to importlib, test=develop (#26453)
5 years ago
Chen Weihang 7c1ff38e01
Enhance add_parameter check for dygraph layer (#26188)
5 years ago
Chen Weihang a7cd61fdd1
fix DataParallel code samples, test=document_fix (#26423)
5 years ago
liym27 db272ca5ef
rename file to according to reviews. (#26236)
5 years ago
ceci3 56890dc729
Add SyncBatchNorm (#26032)
5 years ago
liym27 f3ea615673
[Dy2Stat] Fix bug: unwrap func in dy2Stat. (#26279)
5 years ago
Sylwester Fraczek abfdffa039
add use_mkldnn attribute to ops in dygraph (#25773)
5 years ago
ShenLiang fd0051b488
add set default dtype, get default dtype (#26006)
5 years ago
LielinJiang 9a6a4fbc04
Add children and named_children for Layer (#26289)
5 years ago
wangchaochaohu bb11cbc250
[API2.0] add Device api (set_device and get_device)(#26103)
5 years ago
Zhou Wei 6de463d3d1
expose and unify the Tensor concepts to the user (#25978)
5 years ago
Yang Zhang 617eb67f29
Upgrade `no_grad` decorator (#25472)
5 years ago
Leo Chen 2d95280e1f
Feature/Enable Auto-Mixed-Precision in dynamic graph (#24903)
5 years ago
Chen Weihang 838e36e9ed
Fix loaded variable suffix repeat error (#26169)
5 years ago
liym27 1d730ffbf5
[Dy2Stat] Removes temporary files created during the transformation of dygraph to static graph. (#26150)
5 years ago
pangyoki 2efcb481c8
Paddle-2.0 API directory migration (#25898)
5 years ago
Leo Chen 9c6112104e
Fix prelu for compatibility with saved model of old version (#26052)
5 years ago
liym27 168ea22351
[Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime. (#25970)
5 years ago
Chen Weihang 3eee0467fe
Add limit support for load_dygraph loading jit.save result (#25935)
5 years ago
liym27 12bf9d7168
[Dy2Stat-ErrorMessage]Enhance original error and create new exception (#25798)
5 years ago
yaoxuefeng 224620071b
add new flatten op test=develop (#25393)
5 years ago
Shibo Tao c8d0d1419b
add paddle.utils.deprecated. (#25912)
5 years ago
LielinJiang 948bc8b7bb
Add apply for Layer (#25812)
5 years ago
Aurelius84 8ec4af278d
【Dy2stat】Fix is_test switch incorrectly in PartialProgram (#25809)
5 years ago
liym27 452be8950a
[Dy2Stat-ErrorMessage] Add interface:create_origin_info_map and attach_origin_info for AST node (#25627)
5 years ago
Chen Weihang 23d1228c4d
remove ProgramTranslator.save_inference_model (#25740)
5 years ago
Huihuang Zheng b3f58d3086
TracedLayer Error Message Enhancement (#25734)
5 years ago
Zhen Wang cea5086853
Fix the double grad bug for the star gan. (#25655)
5 years ago
Chen Weihang e8caffbb4a
fix jit.save input_spec type change problem (#25683)
5 years ago
qingqing01 b5f8784cab
Refine Model of high level API (#25559)
5 years ago
Huihuang Zheng 60da88540f
[Dy2stat] Modify print for dynamic type (#25612)
5 years ago
Zhou Wei 1ab60544f2
windows CI scripts for xly,test=develop,test=win (#25533)
5 years ago
liym27 0f8dc611c8
[Dy2Static] Convert assert stmt with new function `convert_assert`. (#25551)
5 years ago
Aurelius84 cf3c51a6ad
[Dy2Stat] Remove op call stack in PartialProgram (#25420)
5 years ago
Chen Weihang 41d2247275
[Dy2static] Refactor ProgramTranslator save_inference_model API (#24989)
5 years ago
Zhou Wei 914ff10a8f
fix state dict to save/load learning rate scheduler (#25403)
5 years ago
Zhou Wei 93ad339450
add new API:LambdaDecay,test=develop (#24801)
5 years ago
Leo Chen 1e897f66ee
Refine __str__ of VarBase and ParamBase, test=develop (#25345)
5 years ago
ceci3 52be62c5ae
fix instance norm in dy (#24717)
5 years ago
Zhen Wang 2989c012f2
[DygraphToStatic]Add cast transform for dygraph_to_static. (#25325)
5 years ago
Zhou Wei b555378e18
fix Layer.__dir__ to show the parameters/sublayers/buffers/attr/method of the Layer (#25197)
5 years ago
Zhou Wei 8de89e67e9
support tuple/list init for VarBase (#25231)
5 years ago
Zhen Wang dc17ac9199
fix import fluid error in dygraph_to_static. test=develop (#25195)
5 years ago
Zhou Wei c701588b14
add base class of LearningRateEpochDecay, and API: MultiStepDecay, and API: StepDecay (#24821)
5 years ago
Huihuang Zheng 5e8e6dad72
[Dy2stat] Support Various-Length Return Grammar in Dy2stat (#25249)
5 years ago
hong dbc3fd5eb4
fix LinearLrWarmup bug; test=develop (#24913)
5 years ago
Aurelius84 02adf68dcc
[Dy2stat]Support buffers and register_buffer in Layer (#24888)
5 years ago
Huihuang Zheng 6f631a27c7
[Dy2stat] Add Basic Support for Grammar 'return' (#25176)
5 years ago
Aurelius84 38d2d13d8b
[Dy2stat] Add CycleGAN model for unitttest (#25072)
5 years ago
Zhou Wei a7cf562447
fix sample code error of fluid.dygraph.NaturalExpDecay,test=develop (#25092)
5 years ago
Aurelius84 e8134e873a
[Dy2stat]Refine caches of converting function (#25085)
5 years ago
Aurelius84 8d6de44012
Refine check_type Error Message for @declarative (#25098)
5 years ago
liym27 eb1c0901a6
[Dy2Stat]Remove unnecessary vars from gast.comprehension in LoopTransformer. (#25094)
5 years ago
liym27 db601f70cc
[Dy2Stat] Add test for dygraph seq2seq model. (#25054)
5 years ago
Leo Chen fa657b3dbb
fix bug of prelu when rank not equal 4, test=develop (#25067)
5 years ago
liym27 f16e277859
[Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not (#24911)
5 years ago
Leo Chen bfa46c38d5
bn supports reverse_space, test=develop (#24988)
5 years ago
liym27 2e238c6eed
[[Dy2Static]]convert for stmt and support variable loaded and created in loop(#24901)
5 years ago
liym27 a9dca5805a
[Dy2Static] Add convert_ifelse to run the transformed code dynamically (#24866)
5 years ago
Chen Weihang 4a702ef361
Support SelelctedRows allreduce in multi-cards imperative mode (#24690)
5 years ago
Chen Weihang a1c1b59d48
[Dy2Static] Support for iter & enumerate VarBase (#24856)
5 years ago
liym27 5ea82e8a45
[Dy2Static]Support return variable created in only one of If.body or If.orelse (#24841)
5 years ago
liym27 001c9fcca2
[Dy2Static]Convert while stmt and convert logical_XX (#24799)
5 years ago
Chen Weihang 1f032c53d5
remove duplicate function, test=develop (#24849)
5 years ago
Aurelius84 8bbb829a03
[Dy2stat]Support nested input and output (#24752)
5 years ago
liym27 080d37a501
fix bug in LogicalOpTransformer: Create logic node recursively (#24785)
5 years ago
Zhou Wei 98da8a295d
add new learing rate strategy to reduce lr when loss reach on plateau (#24322)
5 years ago
Aurelius84 40162227bb
Support save model in dygraph.guard test=develop (#24761)
5 years ago
Leo Chen 92e256a86a
Fix bug of different dtype in dygraph math_op_patch, test=develop (#24740)
5 years ago
liym27 a0846b627a
Remove target vars of gast.For from before_loop_vars or after_loop_vars (#24732)
5 years ago
Aurelius84 6db0e2b1a9
[Dy2stat] Support len syntax (#24638)
5 years ago
Leo Chen 9fd1aad6e7
Support NHWC in Pool2D, test=develop (#24240)
5 years ago
liym27 824572c144
[Dy2Stat]Support to transform sequence assignments and multi-target assignments to normal assignments (#24643)
5 years ago
Leo Chen 9c9e635c00
support tensor to varbase, test=develop (#24660)
5 years ago
Chen Weihang fa846da53e
Append scale for static runner outputs (#24627)
5 years ago
Aurelius84 736d3acc24
[Dy2stat] Support lambda and enhance transformation of IfExpr (#24530)
5 years ago
liym27 b3ac1470c5
Support create LoDTensorArray and return LoDTensorArray in control flow (#24609)
5 years ago
Chen Weihang d26f581c58
fix some detail problems, test=develop (#24614)
5 years ago
Chen Weihang 03ba5b748d
[Dy2static] Add for enumerate Variable support (#24398)
5 years ago
Huihuang Zheng 5ff4535781
[Dy2Stat] Fix ProgramTranslator.save_inference_model API Doc (#24584)
5 years ago
Chen Weihang 897cec811a
[Dy2static] fix some print transformer problems (#24516)
5 years ago
Aurelius84 db0c1ea851
[Dy2stat] Fix function lookup bug in convert_call (#24567)
5 years ago
Cindy Cai 86ca31ab58
English API Docs Optimization Part 1 (#24536)
5 years ago
Huihuang Zheng 2d0f849e75
[Dy2Stat] Add assert for ProgramTranslator (#24492)
5 years ago