- 09 12月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* support deepcopy for Layer/Tensor/Paramerbase * fix some code
-
- 02 12月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
This PR fixes several problems in dy2stat for Deoldify model in PaddleGan. In model, software engineer wrote if x.shape == y.shape, the Tenser shape is a tuple in dygraph so the == returns True/False, but in static graph the == becomes element-wise comparison, which is a different behavior. In this PR we reduce the element-wise comparison result. If software engineer write computations which uses parameters in hooks, the static graph can loss the parameter variable because we put param_guard at forward of a Layer. In this PR we made param_guard cover pre-hook and post-hook. In PaddleGan, software engineer calculated some parameter values in __init__ by running some dygraph code. Those code also run during dy2stat. So some variables may be assign as a VarBase (Tensor) first and then Variable, which raised an error. We fixed the bug in this PR by handling the case. TODO: We just added testcase for the 1. shape comparison. Should add test case for 2. and 3. But since we are chasing 2.0RC, I will do it in the near future PR
-
- 24 11月, 2020 1 次提交
-
-
由 wanghuancoder 提交于
* fix eng doc, test=develop * add import deprecated for layers, test=develop * add block line for doc generate, test=develop * remove todo for create_variable, test=develop * add blank line for doc generate, test=develop * add blank line for doc generate, test=develop
-
- 02 11月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2stat] Support to modify value of buffer tensor * remove "defaultTest" * fix name confliction
-
- 21 10月, 2020 1 次提交
-
-
由 cnn 提交于
* rename manual_seed to seed * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D * rename manual_seed --> seed * do not rename .cc, .cu and .h file * rename manual_seed --> seed * rename manual_seed --> seed * rename manual_seed --> seed * rename manual_seed --> seed * disable_static on doc example code * donot change manual_seed on generator * add enable_static on sample code * convert python/paddle/fluid/layers/nn.py to bak * fix typo * fix code style * fix seed to manual_seed when call functions of Generator() * fix bug
-
- 08 10月, 2020 1 次提交
-
-
由 wanghuancoder 提交于
* modify doc for Layer, test=develop * modify doc for Layer2, test=develop * set dtype default value to float32, test=develop * add example code for paddle.nn.Layer, test=develop * set create_parameter and create_variable dtype default value to None, test=develop * modify some example code, tet=develop * refine, test=develop * del no ues code, test=develop * modify doc, example code, args, test=develop * modify doc, test=develop
-
- 23 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* init commit of new save/load * fix failed unittests * fix save_load_v2 unittest failed * fix failed unittest & polish doc * add tests for coverage * add more tests & move static apis * fix example code error * polish emample code * fix detail example code problem
-
- 22 9月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* refine error mesg
-
- 03 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* update set_dict method name & add aliases * fix var name error * fix alias formats * use set_state_dict in unittest * add decorator solve compatible problem * polish decorator * replace layer set_state_dict by patched method * remove import monkey path layer * fix import function error * add unittest for coverage
-
- 20 8月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* enhance add parameter check for layer * add unittest for coverage * remove uninit test case * enrich unittest ccase * trigger ci check
-
- 18 8月, 2020 1 次提交
-
-
由 ShenLiang 提交于
* add set/get default dtype
-
- 16 8月, 2020 1 次提交
-
-
由 LielinJiang 提交于
* add children and named_children
-
- 11 8月, 2020 1 次提交
-
-
由 pangyoki 提交于
* Directory migration, test=develop * Change imperative from paddle init to paddle framework, test=develop * Fixed jit bug, test=develop * default static mode, test=develop * fixed format and create parameter belongs to framework, test=develop * Fixed import package, test=develop * fix __init__ format, test=develop * fixed alias problem * fixed paddle.enable_imperative problems, test=develop * Add unittest * delete install_check comment * Fixed unittest timeout * fixed unittest error * move Program default_xx_program to static package * optimize unittest method * fixed framework __init__ format * fixed jit path * delete alias * move jit to paddle * Fixed unittest format * fixed paddle.default_main_program * Fixed save load API in paddle __init__.py * fixed ci paddle.imperative.to_variable
-
- 05 8月, 2020 1 次提交
-
-
由 LielinJiang 提交于
* add apply for Layer
-
- 24 7月, 2020 1 次提交
-
-
由 qingqing01 提交于
* Refine Model 1. Take the network (instance of Layer) as the input of Model. 2. Refine set_dict/load_dict of Layer. 3. Refine Input interface, so update code sample about Input
-
- 03 7月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* show the attr and functions of the Layer,test=develop * add buffer for dir,test=develop * fix __dir__,test=develop * fix doc of Layer.__dir__, test=develop
-
- 29 6月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* support to save varBase created in __init__ test=develop * polish code test=develop * refine to_static_var test=develop * refine warning test=develop * add unitteset for to_static_var test=develop * fix logger test=develop * polish buffers en doc test=develop * fix param_guard test=develop * refine en doc test=develop
-
- 14 5月, 2020 1 次提交
-
-
由 Cindy Cai 提交于
* test=develop, test=document_fix * test=develop, test=document_fix Co-authored-by: Nswtkiwi <1208425345@qq.com>
-
- 08 5月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* support to train in static * support to independent decorator * remove in_dygraph_mode condition in ProgramTranslator * fix import param_guard and add train/eval test=develop * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
-
- 09 4月, 2020 1 次提交
-
-
由 songyouwei 提交于
* Layer add training attr, add Dropout Layer * add unit test for Dropout test=develop * minor fix test=develop * add missing args test=develop * support global flag in dropout, add docs test=develop * minor fix test=develop * minor fix test=develop * refine code comments test=develop * refine Dropout test=develop * fix ut test=develop * arg expansion test=develop * sample code update test=develop * prop -> p test=develop * fix ut test=develop * minor check fix test=develop
-
- 07 4月, 2020 1 次提交
-
-
由 zhongpu 提交于
-
- 03 4月, 2020 1 次提交
-
-
由 zhongpu 提交于
* support forward hook for dygraph, test=develop * add optest for forward_hook in dygraph, test=develop * add optest, test=develop * polish code, test=develop * add sample code, test=develop * rename forwrd_hook to forward_post_hook, test=develop * fix the api description, test=develop * fix api description, test=develop
-
- 17 2月, 2020 1 次提交
-
-
由 songyouwei 提交于
* support reset param with None value * add unittest test=develop * update unittest test=develop
-
- 17 1月, 2020 1 次提交
-
-
由 songyouwei 提交于
* allow sublayer or param shadow attrs * add unittest test=develop * change remove fn name test=develop
-
- 09 1月, 2020 2 次提交
-
-
由 songyouwei 提交于
* use snake_cased Layer name * add named_parameters and named_sublayers api * add include_sublayers param, add unittest test=develop * fix named unittests test=develop * fix unittest test=develop * add api docs test=develop * arg fix test=develop * reserve rnn_impl name_scope for static graph test=develop * fix load static param test=develop * fix load static param test=develop
-
由 zhongpu 提交于
* add clear_gradients for Optimizer, add api description, test=develop * fix optest for optimizer's clear_gradient interface, test=develop * add sample code, test=develop * polish sample code, test=develop
-
- 07 1月, 2020 1 次提交
-
-
由 hong 提交于
* support dygraph structured name; test=develop * add load static param unitest and fix save load; test=develop * fix varBase import error; test=develop * fix unitest error; test=develop * add comment for parameter; test=develop * fix uni test error; test=develop * change parallel se-resnet; test=develop * fix dygraph se resnext parallel test; test=develop * remove useless code; test=develop * remove useless code; test=develop
-
- 27 12月, 2019 1 次提交
-
-
由 zhongpu 提交于
* remove params in Tracer object, test=develop * Repair failed optest, test=develop * remove build_once & name_scope (Conv2D) test=develop * fix unittest test=develop * Conv2DTranspose * Conv3D & Conv3DTranspose test=develop * Pool2D & BatchNorm * Embedding * LayerNorm * GRUUnit & NCE * PRelu * BilinearTensorProduct * GroupNorm & SpectralNorm * TreeConv test=develop * fix LayerNorm in transformer unnittest test=develop * disable LayerNorm or BatchNorm in multicard test=develop * refine Layer.create_parameter api test=develop * refine LayerNorm, remove begin_norm_axis param, add normed shape check test=develop * LayerNorm bug fix test=develop * fix optest,test=develop * fix optest, test=develop * fix optest for pass parameter_list when constructing an Optimizer class instance, test=develop * polish code for better code style, test=develop * fix se_resnext optest, test=develop * polish code for better code style, test=develop Co-authored-by: Nsongyouwei <youwei0314@gmail.com>
-
- 24 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
* update layers, test=develop * fix input numpy, test=develop * fix bugs, test=develop * follow commments, test=develop * update getitem, test=develop
-
- 17 12月, 2019 1 次提交
-
-
由 Youwei Song 提交于
* remove build_once & name_scope (Conv2D) test=develop * fix unittest test=develop * Conv2DTranspose * Conv3D & Conv3DTranspose test=develop * Pool2D & BatchNorm * Embedding * LayerNorm * GRUUnit & NCE * PRelu * BilinearTensorProduct * GroupNorm & SpectralNorm * TreeConv test=develop * fix LayerNorm in transformer unnittest test=develop * disable LayerNorm or BatchNorm in multicard test=develop * refine Layer.create_parameter api test=develop * refine LayerNorm, remove begin_norm_axis param, add normed shape check test=develop * LayerNorm bug fix test=develop
-
- 05 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
* test=develop, fix docker with paddle nccl problem * don't expose numerous Tensor.set(), test=develop * fix condition, test=develop * fix float16 bug, test=develop * feed should be Tensor or np.array, not Variable or number, test=develop * use forcecast to copy numpy slice to new array, test=develop * remove float16-uint16 hacking, test=develop * add variable method to varbase and refactor to_variable to support return varbase * support kwargs in varbase constructor * add VarBase constructor to support default python args * refine varbase initial method * reset branch * fix ut for change VarBase error info to PaddleEnforce * cherry is parameter change before * overload isinstance to replace too many change of is_variable * rm useless files * rm useless code merged by git * test=develop, fix some ut failed error * test=develop, fix test_graph_wrapper * add some tests, test=develop * refine __getitem__, test=develop * add tests, test=develop * fix err_msg, test=develop
-
- 23 10月, 2019 1 次提交
-
-
由 Zeng Jinle 提交于
* jit/trace 1st version, test=develop * add more unittests, test=develop
-
- 12 10月, 2019 1 次提交
-
-
由 Youwei Song 提交于
* fix en docs of Layer and guard test=document_fix, test=develop * fix en docs of Layer and guard test=document_fix, test=develop * minor fix test=document_fix, test=develop * minor fix test=document_fix, test=develop * fix api.spec test=document_fix, test=develop * fix api.spec test=document_fix, test=develop * fix docs test=document_fix, test=develop * fix docs test=document_fix, test=develop * fix docs test=document_fix, test=develop * fix api.spec test=document_fix, test=develop * fix api.spec test=document_fix, test=develop * add forward doc test=document_fix, test=develop * add "s" for parameters test=document_fix, test=develop
-
- 10 10月, 2019 1 次提交
-
-
由 hong 提交于
* add new save load interface; test=develop * add new save interface; test=develop * add save load interface ; * fix save load error; * fix dygraph set dict bug; * add save load unit test; test=develop * fix test_imperative_optimizer bug; test=develop * fix unitest optimizer bug; test=develop * fix code coverage; test=develop * fix converage; test=develop * add document for apis; test=develop * fix unitest error; test=develop * fix save load unit test error; test=develop * fix error message; test=develop * change set_parameter set_optimizer to save_dygraph; test=develop * add load_graph check; test=develop * fix api spec; test=develop
-
- 28 9月, 2019 1 次提交
-
-
由 Youwei Song 提交于
* opt FC * opt rest of dygraph.nn * new param shape check and unittest * add kwargs for Layer * add new set_value api * use property decorator * update API.spec, test=develop * use UserList, separate gettersetters, test=develop * update test_custom_layer_with_kwargs, test=develop * fix UserList compatibility, test=develop * fix UserList compatibility, test=develop * keep FC._w, test=develop * add unittests, Conv3D bug fix, test=develop * clean code, test=develop * fix dygraph guard in unittest, test=develop * add property setters, remove unused param in tracer, test=develop * tracer none check, test=develop * merge, test=develop * refine, test=develop * bug fix in prelu and conv3d_transpose, test=develop * rm __set__, test=develop * set tensor value instead of assign op * fix property setter call, test=develop * fix api.spec, test=develop * fix doc sample, test=develop
-
- 26 8月, 2019 1 次提交
-
-
由 Jiabin Yang 提交于
* add default getItem * test=develop, fix has_attr disabled error in Layer * test=develop, fix GroupNorm and deepcf bug on attrs
-
- 06 6月, 2019 1 次提交
-
-
由 Jiabin Yang 提交于
-
- 03 6月, 2019 1 次提交
-
-
由 lujun 提交于
use numpy assignment to restore parameters at build-once
-
- 29 5月, 2019 2 次提交
-
-
由 Jiabin Yang 提交于
-
由 lujun 提交于
-