Chen Weihang
4c70e31ab5
add save load to jit.all ( #27131 )
6 years ago
LielinJiang
8df5b4d608
Add correlation api to contrib ( #27015 )
...
* add correlation api to contrib
6 years ago
tangwei12
5dec254be5
fix weight ( #26986 )
...
* fix weight
* fix weight and fix doc
* fix embeeding padding idx
* add UT
* fix interval
6 years ago
yinhaofeng
dc00bd67ff
delate some wrong message test=develop, test=document_fix ( #26595 )
...
* delate some wrong message test=develop, test=document_fix
* delate some wrong message
6 years ago
Leo Chen
d6ee0868a4
fix unsqueeze in dygraph ( #27107 )
...
* fix unsqueeze in dygraph
* add test
* add test
6 years ago
xiaoting
58f3ef982a
fix typo for interp_v2,test=develop ( #26843 )
...
* fix typo for interp_v2,test=develop
* align with torch, test=develop
* add area mode, test=develop
* fix bug, test=develop
* format notes, test=develop
* update for converage, test=develop
* fix bilinear, test=develop
* fix bicubic, test=develop
* fix typo, test=develop
* fix coverage, test=develop
* fix helper.input_dtype, test=develop
* polish notes, test=develop
* polish notes, test=develop
* polish notes, test=develop
6 years ago
ceci3
54d8424e93
[2.0API] fix weight_norm support negative dim and unittest in convert_syncbn ( #27108 )
...
* fix 2.0api, test=develop
* fix, test=develop
6 years ago
ShenLiang
aca450f6fb
fix the localsgd optimizer ( #27094 )
...
* fix the localsgd
6 years ago
Chen Weihang
c1a8868732
Change jit.save/load configs to config & update code examples ( #27056 )
...
* change configs to config & update examples
* fix deprecate decorator conflict
6 years ago
Dong Daxiang
0443b480b8
【paddle.fleet】add auto parallel L1 implementations ( #27090 )
...
* add auto parallel L1 implementation
test=develop
6 years ago
wangchaochaohu
5af81f833c
fix gpu kernel for numel Op ( #27085 )
6 years ago
wawltor
39d5bb6dce
udpate the dtype check for the argmin, argmax
...
fix the bug for dtype check for the argmin/argmax
6 years ago
guofei
3a02424a4e
Refine the error of test_dynrnn_static_input ( #27084 )
...
test=develop
6 years ago
Wilber
632125415c
Refine python inference api ( #26958 )
6 years ago
Sylwester Fraczek
eb65877ce0
fix dimensions error for mobilenetv1_KL_quant ( #26776 )
...
* fix dimensions error for mobilenetv1_KL_quant
fixes AssertionError: The size of weight scales vector (1000) does not match the number of output channels (1024) in the weights tensor fc7_weights.
add mul test
* remove comment
* add third case unit test
6 years ago
wawltor
24ec5175ab
remove the dependence of matplotlib in dataset of uci_housing
...
remove the dependence of matplotlib in dataset of uci_housing
6 years ago
pangyoki
f0b26313d8
fix _check_values_dtype_in_probs method in Distribution class ( #27046 )
6 years ago
GaoWei8
4ff16eb201
Add padding cudnn interface ( #26370 )
...
* add lstm cudnn of padding data and refine cudnn codes
6 years ago
Aurelius84
35f53ecd93
[Dy2stat] Add descriptor cache for StaticLayer ( #26987 )
...
* add descriptor cache
* fix self arugments
* deal case if instance is None
* clean code
* fix usage
6 years ago
Chen Weihang
9373cf5ae4
Add TranslatedLayer.program method to get program ( #26961 )
...
* add TranslatedLayer.program method
* add unittests & update example code
* polish example code
* update program api example code
6 years ago
wawltor
8857e3911f
add the dynamic dtype check for the argmin/argma
...
update the check for the dtype check for the argmin, argmax
6 years ago
wangchaochaohu
041f4ab842
refine linspace Op for dtype setting( #27071 )
6 years ago
Yang Zhang
92530ca445
Fix clip output var dtype ( #27029 )
6 years ago
wangchaochaohu
c3b314c373
refine the error of message test=develop ( #27067 )
6 years ago
zhupengyang
2f97ecdd74
fix normal ut by set manual_seed ( #27028 )
6 years ago
wangchaochaohu
8fa3d367ed
Remove "TypeError" from some files as required ( #27019 )
6 years ago
Chengmo
a72752263b
support heter-xpu-ps ( #27018 )
...
support heter-xpu-ps
6 years ago
AshburnLee
d843706230
add shape check for fill_constant OP and remove doc of type error ( #26919 )
6 years ago
whs
2660ea379d
Fix cuda kernel of affine grid ( #27003 )
...
test=develop
6 years ago
pangyoki
a0c98e67a6
fix dtype not matching bug in log_prob and probs method of Distribution class ( #26767 )
...
* fix _to_tensor method of Distribution class
* Add unittest
* let dtype be consistent with value in log_prob and probs
* fix format
* fix dtype problem and change unittest
* fix dtype of Numpy class in unittest
* add formula for entropy and kl
* change formula
* fix kl formula format
* fix kl formula format 2
* change gt to np in unittest
* optimize unittest format
* delete dumplicate
* delete dumplicate 2
* extract common function used to convert dtype value
6 years ago
LielinJiang
f95e8ffc90
Fix conv and summary api bug ( #27023 )
...
* fix conv output_size has no default value bug
* fix summary bug
6 years ago
Double_V
0dfe26d069
add pool unittest ( #26949 )
6 years ago
arlesniak
8aebcabf34
Test for passing global env FLAGS_use_mkldnn ( #26938 )
6 years ago
zhang wenhui
21565e8d85
fix batchnorm ,test=develop ( #26972 )
6 years ago
Aurelius84
695bfb0765
reduce repeat time of Predictor ( #27011 )
6 years ago
liym27
54427b8030
[Api2.0] sum: bug fix - support attr(dtype) is float32 or int32 and add ValueError ( #26946 )
6 years ago
ShenLiang
ff3dc8ac73
fix the remainder ( #26995 )
6 years ago
Zhou Wei
352ac149ee
update doc of paddle.to_tensor ( #26820 )
...
update doc of paddle.to_tensor
6 years ago
MRXLT
72f6e566be
fix sample code ( #26962 )
6 years ago
pangyoki
46057dd2ac
change uniform_random to uniform and optimize function names in unittest for random ops ( #26951 )
...
* fix unittest format and extract common function
* change function name
6 years ago
yaoxuefeng
7f3e6ca596
add cuda generator ( #26786 )
6 years ago
Chengmo
c4846196b8
fix Heter Ps multi thread ( #26876 )
...
* fix heter-ps multi thread
6 years ago
huangjun12
fcb2ac6001
fix alpha dropout bug when p=1, test=develop ( #26977 )
6 years ago
mapingshuo
9e4fe92303
fix strategy example ( #26856 )
...
* fix doc
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* fix doc, test=develop
* update localsgd doc
test=develop
* update localsgd doc
test=develop
* fix fleet dgc amp doc, test=develop
* fix, test=develop
* fix async configs
Co-authored-by: liuyi05 <gavin1332@gmail.com>
Co-authored-by: WangXi <wangxi16@baidu.com>
Co-authored-by: seiriosPlus <tangwei12@baidu.com>
6 years ago
danleifeng
6b4ca0d7f1
【paddle.fleet】distributed_optimizer supports dygraph ( #26541 )
...
paddle.distributed.fleet supports dynamic graph execution.
6 years ago
danleifeng
3a2a711681
【paddle.fleet】simplify fleetrun log infos ( #26888 )
...
* print detailed and clear log infos; test=develop
6 years ago
danleifeng
e35ad3eee8
【paddle.fleet】support running python train.py for fleet tasks ( #26249 )
...
* support running python train.py for fleet-task; test=develop
6 years ago
Chen Weihang
9cb57f94c6
Update set_dict method name & add aliases ( #26700 )
...
* 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
6 years ago
ruri
3900f66c19
[API 2.0]Fix adaptive pooling bug ( #26922 )
...
* fix
* fix doc, test=document_fix
6 years ago
Chen Weihang
209273e605
Support load state dict form `inference model` format save result ( #26718 )
...
* support load infer model format state dict
* add unittests
* remove keep name table
* recolve circle inport
* fix compatible problem
* recover unittest
* polish doc and comment
6 years ago
Zhen Wang
bcdbac1753
fix some cast error. ( #26884 )
6 years ago
zhupengyang
6a09b8f1cb
erase Raises and refine doce of random functions ( #26901 )
6 years ago
LielinJiang
559d9f2bb9
Add summary for hapi ( #26386 )
...
* add summary for hapi
6 years ago
Zhou Wei
d5f4c39fda
set_default_type only take effect on python floats or complex ( #26939 )
...
* set_default_type only take effect on python floats or complex
* fix doc
6 years ago
Leo Chen
1275659ccc
refine paddle.stack ( #26886 )
...
* refine paddle.stack
* support TensorArray
* add test
* fix coverage problem
* fix coverage problem
* fix sample code
6 years ago
LielinJiang
96331f74d7
fix conv1d padding ( #26921 )
6 years ago
littletomatodonkey
3ba7b9b567
fix regularizer timeout ( #26952 )
6 years ago
ruri
05da5a3cdd
remove matplotlib requirement files ( #26948 )
6 years ago
pangyoki
b036294c02
fix uniform CI random fail problem ( #26932 )
...
* fix uniform CI random fail problem
* decrease diag_num in DiagInit
6 years ago
Yang Zhang
29b844ad5e
Fix clip op attr ( #26924 )
6 years ago
huangjun12
e480168fae
fix dropout bug in backward when input is 1d tensor ( #26837 )
...
* fix dropout bug in backward when input is 1d tensor, test=develop
* add test case and refine error message, test=develop
* refine error message, test=develop
6 years ago
joejiong
2f50aa227e
add deprecated information to the top of an API docstring ( #26818 )
...
As the title
6 years ago
YUNSHEN XIE
d8984a6b90
limit timeout value setting on linux ( #26923 )
6 years ago
zhang wenhui
c7b5ac4bb6
fix norm bug, test=develop ( #26827 )
...
* fix norm bug, test=develop
* fix norm bug, test=develop
* fix norm bug, test=develop
* fix norm bug, test=develop
* fix norm bug, test=develop
6 years ago
LiuChiachi
9ee4e3dc6b
Correct 2.0 API usage in hapi.model.load ( #26829 )
...
* replace fluid.optimizer.set_dict with optimizer.set_state_dict
* replace fluid.optimizer.set_dict with optimizer.set_state_dict
* add coverage rate
* Increase coverage rate, fix code style
* Increase coverage rate, fix code style
* add fit to generate optimizer.state_dict() to save .pdopt to increase coverage rate
* delete http.log
6 years ago
gongweibao
4e1c8f3e6e
Remove psutil dependency. ( #26841 )
6 years ago
Guo Sheng
e6af53b10a
Update some used apis in Transformer apis to 2.0 apis. ( #26831 )
...
Fix some code samples in Tranoformer apis.
test=develop
6 years ago
Tao Luo
bf6cbbc745
remove unused fc_gan unit-test demo ( #26889 )
6 years ago
lilong12
030b298e82
fix sample codes in collective.py ( #26787 )
...
* fix sample codes, test=develop
6 years ago
liym27
435ab2aa8a
Raise RuntimeError if run the callable object decorated by '@paddle.jit.to_static' not in dynamic mode. ( #26750 )
6 years ago
liym27
f9d39b4916
[Dy2Stat] Transforme api 'to_tensor' to 'assign'. ( #26873 )
6 years ago
wawltor
0a29fc85d6
fix the argmin,argmax op for the paddlepaddle 2.0
...
* fix the argmin,argmax op for the paddlepaddle 2.0, add checkPoint for the argmax/argmin
6 years ago
Yang Zhang
6129b0e246
Revert `no_grad` changes and add new implementation ( #26826 )
6 years ago
Chengmo
d0962abd20
supplement bug fix of parameter server ( #26217 )
...
* fix fluid.embedding
6 years ago
Leo Chen
60ffc22026
Refine bernoulli and unsqueeze op ( #26842 )
...
* add check for bernoulli and register bool for unsqueeze
* follow comments
6 years ago
Bai Yifan
1127d0d33f
fix adaptive_avg_1d outputsize type issue, test=document_fix ( #26869 )
6 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 )
6 years ago
Huihuang Zheng
ad5547d97b
Fix typo util->until. ( #26855 )
...
Fix an English typo in unit test.
6 years ago
MRXLT
1769d2128a
fix ut ( #26844 )
6 years ago
Sylwester Fraczek
f866bfedf1
support mnist and resnet dygraph_to_static test ( #25774 )
...
* support mnist and resnet dygraph_to_static test
* make FLAGS_use_mkldnn a public flag
* fix test_get_set_flags
* Change name of a function
* Rerun CIs commit
* Fix oneDNN dygraph training
Co-authored-by: Adam <38704900+grygielski@users.noreply.github.com>
Co-authored-by: grygielski <adam.grygielski@gmail.com>
6 years ago
tangwei12
ebc5f99789
add embedding 2.0 ( #26649 )
...
* add embedding 2.0
* add embedding support input int32
6 years ago
MRXLT
1f36d3cdcb
update optimizer ( #26711 )
...
* update doc
* update doc
* fix optimizer sample code
* add default value for adamw weight_decay
* fix adamw
* change LearningRateDecay to _LRScheduler
* fix adamw;notest
* fix load;notest
* remove file
* bug fix
* fix code style
* bug fix
* add ut
* adamw support weight_decay=0
* fix ut
* fix set_lr doc
* fix doc
* change parameters place
6 years ago
Chen Weihang
28cb653145
Remove backend argument of init_parallel_env ( #26773 )
...
* remove backend argument of init_parallel_env
* remove keep name table in transformer
* add cpu version check
* add skip unittest for init_parallel_env
* polish doc: remove func use & update example
6 years ago
tangwei12
9ded7565ec
【paddle.fleet】FleetAPI 2.0 ( #26772 )
...
* add FleetAPI doc
Co-authored-by: liuyuhui <liuyuhui@baidu.com>
6 years ago
Aurelius84
b0111778b8
enhance error message ( #26808 )
6 years ago
huangjun12
3ce727a81c
rename Dropout2D/3D to Dropout2d/3d, test=develop ( #26796 )
...
rename Dropout2D/3D to Dropout2d/3d
6 years ago
GaoWei8
11fb8a1c10
Refine cudnn softmax ( #25757 )
...
* refine cudnn softmax
6 years ago
arlesniak
885c61f086
Add use of global flag 'use_mkldnn' to layer_helper ( #26497 )
...
* get use of global 'use_mkldnn' in layer_helper
* update for CI
* update for CI, relu test
* update for CI, relu test added, make FLAGS_use_mkldnn a public flag
* added more strict tests, fixes after review
* fixes after review
* fixes after review, CI stuff
6 years ago
swtkiwi
f44420c874
test=develop ( #26710 )
6 years ago
Aurelius84
df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems ( #26778 )
...
* Fix Python Version compatibility
* add import six
6 years ago
Zhong Hui
1f6df8787f
fix doc, use to_tensor
...
fix doc, use to_tensor for the loss ops
6 years ago
yaoxuefeng
a47d92d868
fleet add save with whitelist test=develop ( #23376 )
6 years ago
qingqing01
f7fb4c2212
Move hapi to python/paddle root dir. ( #26442 )
...
* Move hapi form paddle/incubate to paddle
* Remove vision/datasets/utils.py and clean code
* Add sample code for conll05
* Print pull path when saving model
* Fix sample code after paramter_list of SGD is changed to parameters
* Fix bug in wmt16 datase
6 years ago
Yang Zhang
9a1ea9b45d
Add support for tensor min/max in dygraph ( #26764 )
6 years ago
pangyoki
4a57880d91
support default dtype for distribution APIs ( #26695 )
...
* set default dtype for distribution API
* Add unittest
* Add unittest
* fix import get_default_dtype problem
* delete change under fluid.layers.nn
* little change
6 years ago
Chengmo
7f2aa2db3c
【paddle.fleet】Support Heter Parameter Server ( #25998 )
...
* Support Heter Parameter Server
6 years ago
Dong Daxiang
994217ea05
【paddle.fleet】fix api documents ( #26777 )
...
* fix api document
6 years ago
ruri
db68e08589
[API2.0]Unify pooling function and add adaptive max pooling function ( #26483 )
6 years ago
Jiawei Wang
a1b99fae07
Adadelta Optimizer ( #26590 )
...
* add doc; notest
* fix doc; notest
* update doc; notest
* refine optimizer && adam
* refine optimizer; notest
* add adam
* fix doc
* fix doc && add adamw; notest
* add error message
* bug fix
* refine rmsprop && adamax
* fix ci
* buf fix
* update comment
* unify arguments place; notest
* fix ut, test=develop
* bug fix
* fix conflicts, test=develop
* add examples code
* bug fix
* fix comments
* fix sample code
* add sample code for Optimizer
* add adamax ut, test=develop
* fix rmsprop ut, test=develop
* add ut for optimizer.py and adamw.py
* first commit of adadelta optimizer
* fix learning rate
* fix adadelta doc and add sgd momentum
* remove unused fluid
* fix codestyle
* Update test_adam_op.py
* Update test_adam_op.py
* fix SGD in 2 unittests
* fix SGD in 2 unittests
* fix ci
* fix ut
Co-authored-by: MRXLT <xlt2024@gmail.com>
Co-authored-by: mapingshuo <mps2012@yeah.net>
6 years ago
LielinJiang
346689c6f1
Register conv_transpose Op version for compatible Op upgrades ( #26745 )
...
* fix bug
* add version check
* fix docs, test=document_fix
* fix formula, test=document_fix
6 years ago
lilong12
2675cae758
add deprecated decorator for old apis expand and expand_as ( #26759 )
...
* add deprecated, test=develop
6 years ago
ceci3
42d2915ad4
[2.0 API] add SyncBatchNorm.convert_sync_batch_norm ( #26688 )
...
* add cnvert,test=develop
6 years ago
LielinJiang
4106e54c50
Fix hapi transform bug ( #26738 )
...
* fix bug
6 years ago
LiuChiachi
25dad426ef
fix sample code for hapi.model.save ( #26667 )
...
* fix sample code for hapi.model.save, test=document_fix
* test=document_fix
* update usage of 2.0 API, test=document_fix
* fix bugs, return dygraph back to users while using model.save in dygraph
* fix code style
6 years ago
Zhen Wang
f32ae272ec
Remove `sorted_sum_gradient_` form BasicEngine and PartialGradTask. ( #26766 )
...
Use `Tensor` instead of `Variable` in the doc of paddle.grad.
6 years ago
Zhou Wei
7b78bfc089
[2.0API]support set_default_dtype for to_tensor ( #26432 )
...
* add set_default_type for tensor
* fix doc
* fix doc
6 years ago
Leo Chen
844583c8fd
Refine paddle.manual_seed ( #26496 )
...
* refine manual seed
* fix ci problem
* fix unittests
* fix unittest
* set is_init_py=false in manual_seed
* fix unittest
* fix bernoulli_op
* fix(unittest): change random_seed to manual_seed
* 🐞 fix(unittest): fix manual_seed
* trigger ci
* fix test_sentiment
* fix test_imperative_save_load
* fix test_uniform_random_op
* fix test_uniform_random_op
* fix test_jit_save_load
* merge develop
* fix manual_seed
* fix manual_seed
* use global engine
* use shared_ptr
* fix double free
* fix bug
* fix bug
* fix bug
* fix test bug
* fix test bug
* fix test bug
* fix ci
6 years ago
Chen Weihang
31f422ae5e
Add interface to launch parallel dygraph by multiprocessing ( #26044 )
...
* add dygraph parallel run interface
* polish implement & unified env property name
* add print config arg
* refactor init_parallel_env function
* Compatible with multiprocessing and launch modes
* set default trainer start port
* support run in python 2
* polish python2 support code
* remove python2 support
* refine launch import
* polish dome design details
* refactor api implemention & path
* use new method _set_expected_place
* add spawn unittest framework & mnist test
* add more unittests & doc
* fix unittest failed
* polish english doc
* self review and polish details
* refactor code by reviewer's comments
* fix unittest failed
* fix parallel_env unittest
* fix several typos
* fix error introduced when fixing typos
* add unpublic note for start_processes
* polish details by xiaoguang's comment
* verify correctly when spawn nprocs=-1
* refactor spawn & init_parallel_env design
* polish doc details
* open spawn unittests
* try to fix doc compile error
* try to fix unknown doc format error
* add skip unittest when not gpu
6 years ago
gongweibao
3390c7e260
fix test=develop ( #26697 )
6 years ago
zhupengyang
f34fb0a291
normal: enlarge threshold to reduce random error ( #26763 )
6 years ago
liym27
b1f9ed6006
[Dy2Stat] Add debugging and logging mechanism for dygraph to static ( #26457 )
...
* [Dy2Stat] Add debugging and logging mechanism for dygraph to static.
* Remove TransformerError temporarily.
* import mock in PY2, from unittest import mock in PY3. test=develop
* Expose interfaces set_code_level and set_verbosity in paddle.jit, fix doc of the two interface.
* polish doc of set_verbosity and set_code_level.
6 years ago
Pei Yang
e3f8e5cf5c
trt int8 support conv2d_transpose ( #26636 )
6 years ago
Zhou Wei
30aab17734
[2.0API]support 2.0 lr_scheduler for 2.0 optimizer ( #26737 )
...
* support 2.0 lr_scheduler for 2.0 optimizer
* fix unittest
* fix doc
* fix unittest
* fix sample code, fix unittest
6 years ago
ShenLiang
29494d703d
fix remainder, floor_div ( #26732 )
...
* fix remainder, floordiv
6 years ago
LutaoChu
d39e789882
For normalize op, remove special treatment of one-dimensional input, add check for one-dimensional input ( #26747 )
...
For normalize op, remove special treatment of one-dimensional input, add check for one-dimensional input
6 years ago
LutaoChu
7d4e21588d
add parameters check in static mode for diag op
...
add parameters check in static mode for diag op
6 years ago
hong19860320
a7db9acc2f
Add the constraint for the scale of SELU/selu ( #26686 )
6 years ago
pangyoki
5f275aadaf
fix sample method of Uniform and Normal class ( #26713 )
...
* fix sample shape error
* Add unittest
* change assert_allclose to assert_equal
* Add unittest doc
* fix encoding problem
6 years ago
littletomatodonkey
52a6ca0cf5
test=develop, improve pad assertion error ( #26748 )
6 years ago
Kaipeng Deng
c03092b188
fix dataloader performace decrease & unittest hanging. test=develop ( #26739 )
6 years ago
Jack Zhou
c282db3a93
add broadcast feature for elementwise logical op
...
add broadcast feature for elementwise logical op
6 years ago
Yang Zhang
63eef7632e
Fix clip input check ( #26683 )
...
* Fix clip input check
* Fix default min/max value
* Allow both max and min to be None
* Register op change
* Revert OP signature change
6 years ago
donproc
edf5f3173a
[2.0 API] add paddle.nn.functional.linear and fix paddle.nn.Linear ( #26480 )
6 years ago
lilong12
2f75465d9a
fix the call to core.ops.x, test=develop ( #26729 )
6 years ago
lilong12
f1ae017fa9
update copyright year, test=document_fix ( #26586 )
6 years ago
Zhen Wang
f9066e6a6f
Update the demo code and the doc of varbase.backward. ( #26506 )
...
* update the demo code and the doc of varbase.backward.
* update the doc of the fake interface `paddle.fluid.Variable`.
* remove BackwardStrategy.
6 years ago
Feiyu Chan
f4083010a7
Add unified RNN APIs ( #26588 )
...
* Add RNN related apis in paddl.nn
test=develop
* new rnn api, cell almost done
* add new progresses in rnn APIs for 2.0
* refine rnn APIs and docstrings.
* add unittets
* disable gpu tests when paddle is not compiled with cuda support
* remove unnecessary imports
* fix docstring
* add to no_sample wlist
* backport to python2 to avoid yield from
* add **kwargs, fix typos
* update docstrings for birnn
* rename argument for SimpleRNN and SimpleRNNCell, fix sample code
* add default value for initial_states in fluid.layers.birnn
Co-authored-by: guosheng <guosheng@baidu.com>
6 years ago
joejiong
f311d3c1cf
Fix pow api type error with python side method, merge elementwise_pow and pow. ( #26163 )
...
As the title
6 years ago
yongqiangma
e4cc6a28b0
Norm op support 2-axis ( #26492 )
6 years ago
chalsliu
dc56c89822
Add the option to execute unit tests only at night ( #26669 )
...
* Add the option to execute unit tests only at night
* set ut nightly label for 3 cases.
6 years ago
Aurelius84
f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative ( #25960 )
...
* add InputSpec
* add unittest for tensorSpec and SimpleNet
6 years ago
xiaoting
89d7d86684
add intepolte_v2 ( #26520 )
...
* add intepolte_v2
* fix linear interp
* polish unittest, test=develop
* update code samples to 2.0 API, test=develop
* remove warning, test_develop
* add name in attrs, test=develop
* polish code, test=develop
* change Align to align, test=develop
* fix unittest in py3,test=develop
* fix coverage, test=develop
* fix coverage, test=develop
* fix for windows ci, test=develop
* fix coverage, test=develop
6 years ago
gongweibao
fc5acdd041
Fix fleet ut timeout issue. ( #26694 )
6 years ago
zhupengyang
32ae8e8132
leaky_relu, log_softmax, hardshrink formula format ( #26720 )
6 years ago
Zhang Ting
97cebfa4d3
add dtype for unique ( #26655 )
...
* update doc, test=document_fix
* add attr(dtype)
* refine code
6 years ago
wanghuancoder
07e3b9a33b
api20, Bilinear add deprecated, and fix english doc ( #26610 )
...
* API2.0 del old api(BilinearTensorProduct) from nn init.py, test=develop
* add import for deprecated, test=develop
* modify deprecated location, test=develop
* fix english doc, test=develop
* Update __init__.py
* Update __init__.py
* Update common.py
* fix english doc, test=develop
Co-authored-by: Chen Weihang <chenweihang@baidu.com>
6 years ago
Kaipeng Deng
84e7be3178
add TensorDataset for multiprocess DataLoader ( #26332 )
...
* add TensorDataset. test=develop
6 years ago
Yi Liu
2024ef69a2
【paddle.fleet】add comments about localsgd in DistributedStrategy ( #26709 )
...
* modified timeout value on windows and mac (#26690 )
* add Local SGD algorithm referenced paper
test=develop
6 years ago
lilong12
1c68138327
[api 2.0] add collective op for cpu using gloo and paddle.distributed.* apis ( #26552 )
...
add collective op for cpu using gloo and paddle.distributed.* apis
6 years ago
Leo Chen
07973c577e
disable deprecated ( #26684 )
6 years ago
Leo Chen
5c14fdcf0c
fix bug when get_glibc_ver returns None ( #26693 )
6 years ago
JZ-LIANG
958d7212c7
【paddle.fleet】Document refine lars & lamb ( #26533 )
6 years ago
pangyoki
1e53088abc
fix Distribution class problem ( #26535 )
...
* fix problems commented by Lutao
* rename _to_variable to _to_tensor
* fix unittest coverage
* little problem
6 years ago
Aurelius84
67d03bed70
Fix jit.to_static usage ( #26682 )
6 years ago
pangyoki
cb00d50498
../python/CMakeLists.txt ( #26531 )
6 years ago
ShenLiang
33afeb315a
fix the tanh ( #26657 )
...
* fix the tanh
* fix the learning rate
6 years ago
Bai Yifan
8986a82131
fix adaptive gpu grad bug, add doc refine ( #26660 )
6 years ago
Dong Daxiang
98e057bb1e
remove role maker in test_fleet_graph_execution_meta_optimizer.py ( #26674 )
...
test=develop
6 years ago
hong19860320
dbcef732d8
Fix the formula of SELU/selu ( #26675 )
6 years ago
Qi Li
2de034e146
fix prelu, test=develop ( #26613 )
6 years ago
Zhou Wei
7af5cb9b32
fix english doc of all lr_scheduler ( #26619 )
...
* fix doc of lr_scheduler
* fix doc
6 years ago
wawltor
286eca2d9e
update the code for the topk v2
...
add the top v2 for the paddlepaddle api 2.0
6 years ago
LiuChiachi
761ed17db3
Update save inference model to support dygraph ( #25894 )
...
* update save_inference_model for hapi
* update save_inference_model to support dygraph
* fix comments
* fix comments
* test=develop
* test, test=develop
* fix dim test, test=develop
* test, test=develop
* add test_export_deploy_model_dynamic
* fix unittest for hapi: save_inference_model
* fix code style
* accept review by guoshengCS
* fix coverage rate
* update doc for save_inference_model and copyright
* change test model back to LeNet() in test_export_deploy_model
* copy jit.save, use LeNet() to test export deploy model
* add return value for dygraph, and fix doc error
* corrected the doc writing
* Delete redundant import and correct import order in sample code.
* remove 'fluid' and add prepare() and fit() in sample code
* correct usage of API 2.0 in sample code
* fix sample code bugs
* fix code style bugs
* fix test_model.py bugs
* set for_inference=True
* correct usage for static.InputSpec
* update doc for model.save
* correct usage of API 2.0
* rename param name for model.save
* correct for_inference as training
6 years ago
joejiong
d32beea2a9
Add Checking Type for "multiply" operation ( #26508 )
...
Co-authored-by: wujionghao <wujionghao@email.com>
As the title
6 years ago
gongweibao
ed4a4ea37e
fix test=develop ( #26632 )
6 years ago
Dong Daxiang
08d736ad78
【paddle.fleet】add cudnn related strategies to DistributedStrategy ( #26598 )
...
* add cudnn related strategies to DistributedStrategy
6 years ago
Zhang Ting
0a895bc0df
improve unique op ( #26537 )
...
* add unique_v2 op
* remove unique_v2 op
* update doc
6 years ago
zhang wenhui
0679678212
add norm 2.0 api, test=develop ( #26465 )
...
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
* add norm 2.0 api, test=develop
6 years ago
YUNSHEN XIE
a8b5741fb4
add a few unittests for setting timeout properity ( #26630 )
6 years ago
Huihuang Zheng
26d67414fd
Enrich English declarative Doc ( #26538 )
...
As the title.
6 years ago
wanghuancoder
c1f5df5269
optimized transformation form tensor to numpy ( #26447 )
...
* optimized transformation form tensor to numpy, test=develop
* optimized transformation form tensor to numpy, pass pre-commit, test=develop
* modify fetchophandle zerocopy to deepcopy in PE&CUP, test=develop
* modify py:array construct, test=develop
* fix _fetch_var to use deep copy, test=develop
6 years ago
zhupengyang
c80fcf901e
reduce_mean error if keepdim=True and reduce_all=True ( #26614 )
6 years ago
wangchaochaohu
a31dbc8f85
add deprecated for gather api and refine the doc of gather api ( #26579 )
6 years ago
whs
a065a24232
【2.0 API】Enhance affine grid operator ( #26385 )
...
* Enhance affine grid operator:
1. Add cuda kernel
2. Add align corners options
test=develop
* Move new affine_grid api to functional
test=develop
* Add CUDA kernel for affine_grid.
test=develop
* Add more unitest for grid sample API
test=develop
6 years ago
ruri
1f82c0cd62
[Api2.0] add pixel shuffle ( #26071 )
6 years ago
guofei
924734fd3a
Refine typo of english document of paddle.prod ( #26546 )
...
* Refine typo of english document of paddle.prod
test=document_fix
6 years ago
WangXi
7ff197d3ba
Add fleet dgc amp doc, test=document_fix ( #26608 )
6 years ago
yukavio
36868e840c
fix one_hot example doc test=document_fix ( #26585 )
...
* fix one_hot example doc test=document_fix
* fix some bug
6 years ago
wanghuancoder
422a162019
api2.0 paddle.nn.Bilinear and paddle.nn.functional.bilinear ( #26399 )
...
* api2.0 paddle.nn.Bilinear and paddle.nn.functional.bilinear, test=develop
* api2.0 fix code examples, test=develop
* modify test_bilinear_api, about place,to_tensor , test=develop
* re pass pre-commit, test=develop
* Update common.py
* fix BilinearTensorProduct ci error, test=develop
6 years ago
Double_V
c8e18360f1
[API 2.0] add pool2d3d API,test=develop ( #26331 )
...
* add pool2d3d API,test=develop
* add api unitest,test=develop
* fix unittest, test=develop
* fix reviews, test=develop
* return one element when return indices is true, test=develop
* fix low converage; to_variable to to_tensor, test=develop
* sort API params, test=develop
* fix en doc, merge PR#26108 to here, test=develop
* fix en doc, test=develop
6 years ago
qingqing01
78ca8cf0c8
Unify the metrics implementation between low-level and high-level API. ( #26158 )
...
* Move paddle/incubate/hapi/metrics to paddle/metric
* Add Precision, Recall and Auc metric
6 years ago
joejiong
da1efe24d5
Throws TypeError When Logical APIs Do Broadcast Operation ( #26490 )
...
As the title.
Co-authored-by: wujionghao <wujionghao@email.com>
6 years ago
Zhou Wei
407de03905
[2.0API] Reconstruct all API related to LR Scheduler, unify dygraph and static ( #26550 )
...
* Reconstruct all API related to lr scheduler, unify dygraph and static
* Reconstruct all API related to lr scheduler, unify dygraph and static
* fix doc
* fix doc
* fix doc of lr_scheduler
* fix unittest and english doc
* fix english doc
* fix confilt
* fix doc
6 years ago
ceci3
f8dbd7a273
fix syncbn, test=develop ( #26523 )
...
* fix syncbn, test=develop
* fix test,test=develop
* fix unittest,test=develop
6 years ago
Kaipeng Deng
dd3df6933a
fix RandomSampler & BatchSampler. test=develop ( #26559 )
...
* fix RandomSampler & BatchSampler. test=develop
6 years ago
yaoxuefeng
d6e888cace
fix Flatten api test=develop ( #26346 )
6 years ago
cc
0d71cffd65
Add mnist test for post training quantization, test=develop ( #26436 )
...
* Add mnist test for post training quantization, test=develop
6 years ago
whs
79539cf198
【2.0 API】Add CUDA kernel and enhance options for grid_sample ( #26576 )
...
This PR enhance CPU kernel and add new CUDA kernel to make grid_sample support:
- align_corners: with bool type.
- padding mode: which can be in ['zeros', 'reflect', 'border']
- Interpolation mode: which ca be in ['bilinear', 'nearest']
The old CPU and CUDNN version only support align_corners=true, padding_mode='zeros' and interpolation_mode='bilinear'.
The behavior of the new version op in default mode is compatible with the old version.
6 years ago
YUNSHEN XIE
39fe0d35aa
find timeout unittests ( #26371 )
...
* find timeout unittests
* setting timeout value
* fix some error
* fix some error
* fix some error
* fix no newline of end file error
6 years ago
Guo Sheng
317f7ce2ef
[API 2.0] Add transformer apis ( #26418 )
...
* Add MultiHeadAttention api.
test=develop
* Add MultiHeadAttention cache type and gen_cache.
test=develop
* Add TransformerEncoderLayer and TransformerEncoder.
test=develop
* Add Transformer decoder apis.
test=develop
* Add Transformer api.
test=develop
* add unittests for transformer api
* add unittests for transformer api
* Fix some bugs in Transformer apis.
test=develop
* add unittests for encoder, decoder and transformer
* clean conflicts infor in code
* clean Chinese comments
* Add TransformerDecoderCell and TransformerBeamSearchDecoder.
test=develop
* Remove TransformerDecoderCell and TransformerBeamSearchDecoder temporarily.
test=develop
* Add import for Transformer apis.
test=develop
* Update usage of weight_attr and Tensor in Transformer api docs.
test=develop
* Update Transformer apis by renaming MultiheadAttention and cal_kv according to comments.
test=develop
* Fix MultiHeadAttention in test_transformer_api.py.
test=develop
Co-authored-by: LiuChiaChi <709153940@qq.com>
6 years ago
wanghuancoder
90e6819cf2
fix engilsh document for api paddle.fluid.dygraph.enabled, test=develop, test=document_fix ( #26271 )
6 years ago
yaoxuefeng
efee426742
support generator seed in related kernals test=develop ( #26495 )
6 years ago
Bai Yifan
ae4724cfd1
fix type issue ( #26500 )
6 years ago
Zhong Hui
bf4a4636f1
change to use bce_loss op, add shape check for bce_loss
...
change to use bce_loss op, add numel check for bce_loss.
6 years ago
ShenLiang
0e81626081
add div, floor_div, remainder ( #26562 )
...
* add div, floor_div, remainder
6 years ago
Kaipeng Deng
973fdd67f7
Fix dataset resource warning ( #26566 )
...
* fix resource warning. test=develop
6 years ago
Li Fuchen
c2cb8f0033
fix docstr of ctc_loss and CTCLoss, test=document_fix ( #26584 )
6 years ago
qingqing01
24566e951c
Support empty bbox in bipartite math op ( #26488 )
6 years ago
hong19860320
87843bebde
Fix the sample code of SELU/selu ( #26565 )
6 years ago
Jack Zhou
199b0c7c1b
Add isfinite v2 op ( #26344 )
...
add the isnan, isfinite, isinf api for the paddle 2.0
6 years ago
yaoxuefeng
33cffdf3d7
fix datanorm op add attr bug test=develop ( #25000 )
6 years ago
wangchaochaohu
ebf9b2125e
add paddle.gather for API2.0 ( #26455 )
6 years ago
wangchaochaohu
9219b79104
gather_nd Op for API 2.0 refine ( #26540 )
6 years ago
whs
dea7d7d173
【2.0 API】Add conv1d_transpose API ( #26356 )
6 years ago
huangjun12
7bd7b1884b
add alpha_dropout in nn.functional and nn.layer, test=develop ( #26365 )
...
* add alpha_dropout in nn.functional and nn.layer, test=develop
* refine Interface and assertion, test=develop
* fix ci import error, test=develop
* fix alias and use layers.scale, test=develop
* fix doc and training params, test=develop
* refine details in doc, test=develop
* fix doc details, test=develop
6 years ago
zhupengyang
9b14117cac
logsumexp: impl kernel, refine docs ( #26307 )
6 years ago
MRXLT
eeda90d674
[WIP] update optimizer for 2.0 ( #26288 )
...
refine Optimizer/Adam/Admax/RMSProp && add Admw
* buf fix
* update comment
* unify arguments place; notest
* fix ut, test=develop
* bug fix
* fix conflicts, test=develop
* add examples code
* bug fix
* fix comments
* fix sample code
* add sample code for Optimizer
* add adamax ut, test=develop
* fix rmsprop ut, test=develop
* add ut for optimizer.py and adamw.py
* remove TestAdamOptimizerBetaVariable
* update api && add ut
* update doc && fix ut
* add ut
Co-authored-by: mapingshuo <mps2012@yeah.net>
6 years ago
whs
e2b82e0439
【API 2.0】Add conv1d API ( #26350 )
6 years ago
zhupengyang
e6675f4f4d
normal: support mean and std tensor; randn = standard_normal ( #26367 )
6 years ago
LielinJiang
3a9417f4f7
Update 2.0 convolution api ( #26491 )
...
* update Conv2d Conv3d conv2d conv3d api
6 years ago
gongweibao
7c42f056e2
Finetune the performance of the unittests. ( #26402 )
6 years ago
wawltor
6b28456ed0
add the argmax, argmin for the api2.0
...
* add the new api and op for the argmax, argmin
6 years ago
LielinJiang
d26ae9ad87
Update conv_transpose api ( #26427 )
...
* update conv_transpose api
6 years ago
Zhen Wang
c037d6253a
Update the demo of paddle.grad ( #26498 )
...
* update the demo codes of paddle.grad.
6 years ago
hong19860320
c11c83fb3a
Add the parameter checking for softplus and fix the doc string ( #26530 )
6 years ago
ShenLiang
0ca10d310c
add paddle.static.data ( #26525 )
...
* add static data
6 years ago
zhupengyang
81c127d4ec
refine leaky_relu docs ( #26558 )
6 years ago
liuyuhui
66596bd20f
【paddle.fleet】solve the initial configuration about fleet and rolemaker ( #26368 )
...
* solve the initial configuration about fleet and rolemaker
Co-authored-by: seiriosPlus <tangwei12@baidu.com>
6 years ago
WangXi
ed102ea1b5
【API】Add sign and tanh api ( #26357 )
6 years ago
WangXi
45711dade7
【API】rename div to divide, add floor_divide, remainder ( #26434 )
6 years ago
Zhong Hui
f5d1349826
add binary cross entropy with logit loss ( #26468 )
...
* add binary cross entropy with logit loss
6 years ago
LutaoChu
4e0c6d91aa
add paddle.tensor.linalg.diag API, diag_v2 OP and CUDA kernel
...
add paddle.tensor.linalg.diag API, diag_v2 OP and CUDA kernel.
6 years ago
zhupengyang
f8863e0603
leaky_relu and LeakyReLU: alpha->negative_slope ( #26216 )
6 years ago
ShenLiang
c609066074
Add Matmul op ( #26411 )
...
* add matmul_v2
6 years ago
lilong12
65ac1ef661
fix docstring for expand, expand_as and tile. ( #26529 )
...
* fix docstring, test=document_fix
6 years ago
huangjun12
412eca679f
[API2.0] add dropout, dropout2d and dropout3d in nn.functional and nn.layer ( #26111 )
...
* [API2.0] add dropout, dropout2d and dropout3d, test=develop
* refine Interface and assertion after review, test=develop
* fix alias p=1 and use scale, test=develop
* fix doc and training, test=develop
* fix doc in Dropout2D, test=develop
6 years ago
wangchaochaohu
07c1c47bc9
refine the doc of OPs ( #26551 )
6 years ago
zhupengyang
57e124298d
var, std: input->x, adjust attr order, remove out, add docs ( #26446 )
6 years ago
wangchaochaohu
e966d0b673
refine the doc test=develop ( #26517 )
6 years ago
ShenLiang
190c695733
fix scatter doc ( #26248 )
...
* fix the comment of scatter
6 years ago
Leo Chen
aa2a9b5d89
add bernoulli op ( #26511 )
...
* add bernoulli op
* fix cuda kernel and add unit test
* refine doc
* fix uniform
6 years ago
Dong Daxiang
7d3e46e1d5
【paddle.fleet】Document refine ( #26526 )
...
* add documentation for DistributedStrategy
6 years ago
wangchaochaohu
65d8d16516
add decorator for deprecated Ops ( #26373 )
6 years ago
littletomatodonkey
0d1a62e908
test=develop rename CosSim interface ( #26522 )
6 years ago
Li Fuchen
dbf232a95b
add functional ctc_loss and CTCLoss class. ( #26384 )
...
* add functional ctc_loss and CTCLoss class.
* modified docstring of ctc_loss and CTCLoss
6 years ago
ShenLiang
b6eb37f5b3
add error message for cholesky ( #26444 )
...
* add error message
6 years ago
QingshuChen
138ecf24aa
support Baidu Kunlun AI Accelerator ( #25959 )
...
* support Baidu AI Accelerator
* test=kunlun
* minor
* test=kunlun
* support xpu op in separate file
* test=kunlun
* update XPU error message and remove duplicated code
* test=kunlun
* minor
* test=kunlun
* minor
* test=kunlun
6 years ago
lilong12
5f2c0e7e95
[2.0 api] fix the example codes in doc strings ( #26428 )
...
* fix the example codes, test=develop
6 years ago
wawltor
ecfb89e133
Update the error message for the margin_ranking_loss
...
Update the error message for the margin_ranking_loss
6 years ago
donproc
94b05850d2
add paddle.fluid.install_check.run_check example doc ( #25993 )
6 years ago
mapingshuo
7ae10900fa
fix slow var initialize, test=develop ( #26516 )
6 years ago
chajchaj
5407e327a4
add cross_entropy to nn/layer and nn/functional, test=develop ( #26478 )
...
* add cross_entropy to nn/layer and nn/functional, test=develop
* use functional/cross_entropy in layer/CrossEntropy
* use functional/cross_entropy in layer/CrossEntropy, test=develop
6 years ago
wangchaochaohu
e167e87974
【API2.0】add masked_select Op for API2.0 ( #26374 )
6 years ago
Chen Weihang
c09de13ec4
Refine jit load model by extra_var_info ( #26461 )
...
* refine load model by extra_var_info
* polish unittest for coverage
6 years ago
Dong Daxiang
83cd185947
【paddle.fleet】Meta from optimizer ( #26392 )
...
* consider the combination of different strategies to work together
6 years ago
pangyoki
bdac6bc880
Rename uniform_random API ( #26347 )
...
* Rename uniform and gaussian APIs
* rename uniform_random API as uniform
* Fixed unittest
* fixed unittest AttributeError
* Fixed unittest
* Add uniform function rather than alias
* remove templatedoc
* solve conflict and fix doc code
* fix doc code
6 years ago
Yang Zhang
f6d20d565c
Update `no_grad` doc examples ( #26481 )
...
test=document_fix
6 years ago
wawltor
61273973ad
delete module path for the activation ops, test=develop ( #26515 )
6 years ago
tangwei12
8e4ed662d1
fix decay global counter ( #26387 )
...
* fix decay global counter
* remove unused print, test=distp0
6 years ago
Zhou Wei
ce7d5263e6
[2.0API]Bind method for tensor and Variable ( #26416 )
...
* binding tensor method
* binding tensor method
* binding tensor method
* Binding methods for class Tensor and Variable
6 years ago
Yang Zhang
e662d1e0b7
Update `paddle.clamp` ( #25906 )
...
* Update `paddle.clamp`
rename to `paddle.clip`
add fast path for dygraph mode
remove `out`
rename `input` -> `x`
update doc sample
* Fix leftover `Variable` wording
* Indent doc with spaces
* Remove `:alias` in docs
* Update `enable_imperative` -> `disable_static`
* Remove `imperative`
also trigger CI
* Update tests for better coverage
* Rebase to fix `cosine_similarity`
* Fix `cosine_similarity` some more
6 years ago
Kaipeng Deng
1a72a9035b
Add map style dataset ( #26004 )
...
* add map_style dataset. test=develop
6 years ago
pangyoki
644dfd7dd5
Release Distribution base class and Normal, Uniform class ( #26355 )
...
* fixed static module
* solve conflict
* Add Distribution base class, Uniform class and Normal class
* release Distribution class and Normal, Uniform class
* Add Doc args explaination
* save distributions.py and process in distribution.py
* delete useless function in test_distribution
* Add NormalNumpy test class
* Add probs in NormalNumpy
* add distribution to paddle init
* Add Distribution base class and name attribute unittest
* Change Doc
* Change Doc
* adjust format
* Fixed Doc Code
* implement probs and change Variable to Tensor
* Add name for all functions and add name unittest
* support int datatype
* Add dynamic mode
* optimize test_distribution static and dygraph
6 years ago
Huihuang Zheng
e1245f5c84
[Dy2stat] change deprecated imp dependency to importlib, test=develop ( #26453 )
...
As the title
6 years ago
Pei Yang
379222c3f1
add output scale and trt op teller support for hard_swish and hard_sigmoid ( #26499 )
6 years ago
Bai Yifan
74836ec7b7
[2.0API]Add adaptive_avg_pool_2/3d ( #26369 )
...
* add adaptive_avg_pool2d
* add adaptive_avg_pool3d
6 years ago
Qi Li
8d194524ba
hardtanh prelu softmax, test=develop ( #26431 )
6 years ago
zhupengyang
6e5670b8bd
mean: not support int32, int64; add check for axis ( #26401 )
6 years ago
wawltor
6e6567f3a1
reduce the time cost for the testcase of test_nn_elementwise_grad ( #26451 )
6 years ago
Huihuang Zheng
ab34c83d98
Remove cudnn conv in unittest, test=develop ( #26489 )
...
Remove cudnn conv in Unittest because the cudnn conv, which is assigned to OP owner, hasn't been fixed.
6 years ago
wawltor
1080be3353
update the test_mean test case for bug fix
...
update the test_mean test case
6 years ago
Zhong Hui
c10cf6d240
Fix the API of bce loss and add functional API binary_cross_entropy ( #26012 )
...
Fix the API of bce loss and add functional API binary_cross_entropy
6 years ago
Chen Weihang
21ea2976dd
fix static dataloader default pin memory set ( #26390 )
...
* fix static dataloader default pin memory set
* fix related unittests
6 years ago
Chen Weihang
8c9229310c
reduce iter time to reduce exec time ( #26388 )
6 years ago
zhupengyang
4ad504e7c7
hardshrink: support threshold < 0 ( #26403 )
6 years ago
lilong12
e92f770c42
Add collective ops (reduce) ( #26340 )
6 years ago
wangchaochaohu
bdb805505e
【API2.0】add numel API for paddle test=develop ( #26311 )
6 years ago
Chengmo
623e14fbc5
disable test_dist_fleet_ctr ( #26507 )
...
disable test_dist_fleet_ctr
6 years ago
wangchaochaohu
2073ffc04d
Enhance the data type of linspace API ( #26247 )
6 years ago
guofei
bb7fd0974f
Add paddle.tensor.math.prod ( #26351 )
...
* Add new API: paddle.prod
test=develop
6 years ago
hong19860320
40d193ed17
Add the ReLU6, Tanhshrink, SELU, Softplus, Softshrink and Softsign for the api 2.0 ( #26376 )
6 years ago
Peihan
6e13e86ab3
verify correctness of dy2static model by using paddle-inference api ( #26372 )
...
* verify correctness of dy2static model by using paddle-inference api
* update python doc style
6 years ago
tangwei12
d12ac984bf
disable UT temp ( #26404 )
...
* disable UT temp
6 years ago
tangwei12
39bd2fb5e4
add print test_dist UT elapsed time ( #26397 )
...
* add print test_dist UT elapsed time
* UT elapsed time optimize
6 years ago
Aurelius84
9bcfc1a804
Fix paddle.nn.data in new unittest ( #26484 )
...
* Rename `Input` into `InputSpec`
* remove alias
6 years ago
liym27
ac2010f4b6
[Fix test_resnet timeout] Reduce batch_size to 2 to avoid unittest timeout.( #26449 )
6 years ago
ceci3
fd66d76231
add weight_norm & remove_weight_norm ( #26131 )
...
* add weight_norm, test=develop
6 years ago
ShenLiang
facc0a10c9
fix the doc of dot ( #26257 )
...
* fix the doc of dot
6 years ago
liym27
adba432f27
[API 2.0] Add api paddle.reshape(x, shape, name) ( #26338 )
...
(1) Add api paddle.reshape(x, shape, name);
(2) Use Tensor replaces Variable. test=develop
6 years ago
Zhang Ting
cefbb3500e
remove alias from doc, test=document_fix ( #26487 )
6 years ago
ShenLiang
256dc6ee48
set_default_dtype only support float ( #26435 )
6 years ago
123malin
57d434df5d
add save/load for parameter server ( #26235 )
...
* add save/load for parameter server
6 years ago
Aurelius84
0cc63cc343
[Paddle2.0] Rename hapi.Input and move `data` api ( #26396 )
...
* Rename `Input` into `InputSpec`
* fix argument place of Input api
6 years ago
WuHaobo
a57d63a0f2
Fix erf ( #26426 )
6 years ago
Chen Weihang
7c1ff38e01
Enhance add_parameter check for dygraph layer ( #26188 )
...
* enhance add parameter check for layer
* add unittest for coverage
* remove uninit test case
* enrich unittest ccase
* trigger ci check
6 years ago
yukavio
8c48c7daec
Add new one hot function in nn.functional ( #26183 )
...
* add input.py file
* write input.py
* fix init file
* add unit tests
* fix dygraph and input shape
* Revert "fix dygraph and input shape"
This reverts commit 89ad8664124c1872640b68c0a4418c377ad6aa6f.
* fixed pylint
* fix deprecated
* fix old op
* fix old op
* set check_dygraph=True
* Revert "set check_dygraph=True"
This reverts commit a8e93e33281f84e5f6fbc2b4bf05ea3e63611519.
* test commit
* fix doc and change test file name
6 years ago
Zhang Ting
6914a12f82
rename the inputs of allclose ( #26360 )
...
* rename input
* add unittest, test=develop
* use paddle.data instead of fluid.data, test=develop
6 years ago
Guanghua Yu
e52e7944cf
add paddle.nn.SmoothL1Loss,test=develop ( #26398 )
6 years ago
Chen Weihang
7e71ae92bd
fix test_cosine_similarity_api failed ( #26467 )
6 years ago
Chen Weihang
a7cd61fdd1
fix DataParallel code samples, test=document_fix ( #26423 )
6 years ago
littletomatodonkey
bcf03273f6
add pad func ( #26106 )
...
* add pad func
* add pad
* test=develop, add pad op and apis
* restore pad2d
* test=develop, fix paddl declare
* fix pad interface
* test=develop, fix pad
* test=develop, add all pad api and cos_sim
* test=develop, remove padding default value
* test=develop, rename var to tensor
* test=develop, add more tests
* test=develop, rename tovar to totensor
* test=develop, fix init
* test=develop, add more test
* test=develop, add more tests
6 years ago
lijianshe02
a39bd3acc9
reduce the execution time of affine_channel op unittests ( #26393 )
...
* reduce the execution time of affine_channel op unittests
6 years ago
Chengmo
eeeef957c7
Fix ps gpu ( #26218 )
...
* support ps-gpu
6 years ago
Zhong Hui
6cbeafb6c0
add zero norm, inf norm support for p_norm op ( #26364 )
...
* add zero norm, inf norm support for p_norm op
* fix the invalid argument check, fix the dtype problem in test case.
6 years ago
liym27
6cd67a8160
[API 2.0] Fix api sum:(1)input->x;(2)dim->axis;(3)keep_dim->keepdim ( #26337 )
...
* 1.Fix api sum:(1) input->sum; (2)dim->axis; (3)keep_dim->keepdim.
* 2. fix bug when len(axis) == len(x.shape).
6 years ago
Tao Luo
1b03ab3899
set opencv-python <=4.2.0.32 ( #26415 )
6 years ago
liym27
db272ca5ef
rename file to according to reviews. ( #26236 )
6 years ago
Kaipeng Deng
c45481d7be
add Sampler/SequenceSampler/RandomSampler ( #26375 )
...
* add Sampler/SequenceSampler/RandomSampler. test=develop
6 years ago
ceci3
56890dc729
Add SyncBatchNorm ( #26032 )
...
* add SyncBatchNorm,test=develop
6 years ago
liym27
f3ea615673
[Dy2Stat] Fix bug: unwrap func in dy2Stat. ( #26279 )
6 years ago
GaoWei8
1fbee267d4
remove scope in cudnn lstm ( #25188 )
6 years ago
Qi Li
61800f4a1e
elu gelu relu logsigmoid, test=develop ( #26304 )
...
* logsigmoid and LogSigmoid, test=develop
* add elu gelu relu, test=develop
* update to_variable to to_tensor, test=develop
* address review comments, test=develop
* address review comments, test=develop
* change to_variable to to_tensor in test, test=develop
6 years ago
Leo Chen
0a461ac3d5
specify numpy>=1.13 ( #26400 )
6 years ago
wanghuancoder
ea6716a55b
Add check if fluid.data() variable no feed data ( #25858 )
...
* add check if fluid.data() variable no feed data, test=develop
* Add testcase for feed check, test=develop
6 years ago
Wilber
3ec0bcbbb8
[Bug] Fix prune for save_inference_model about transformer ( #25347 )
6 years ago
cc
3f816bc8b4
[Quantization] Conv2d_transpose and mul support channnelwise quantization ( #25639 )
...
* Conv2d_transpose and mul support channnelwise quantization, test=develop
* Skip collecting out threshold for output tensor of which the type is not fp32 or fp64, test=develop
* Fix error in test_user_defined_quantization, test=develop
* Add depthwise_conv_bn_fuse, test=develop
* Add conv_transpose_bn_fuse_pass for post_training_quant, test=develop
6 years ago
wangchaochaohu
2101dfd2b3
【API2.0】add Chunk API ( #26314 )
6 years ago
Sylwester Fraczek
abfdffa039
add use_mkldnn attribute to ops in dygraph ( #25773 )
6 years ago
lilong12
638bbb6153
Improve expand as ( #26290 )
...
align expand_as op to expand.
6 years ago
Kaipeng Deng
5fdec3ed35
fix test_metrics accuracy. test=develop ( #26358 )
6 years ago
ShenLiang
fd0051b488
add set default dtype, get default dtype ( #26006 )
...
* add set/get default dtype
6 years ago
zhupengyang
586a6dd358
log_softmax and LogSoftmax: impl kernel and refind docs ( #26088 )
6 years ago
yaoxuefeng
23261ff44b
add cpu random Generator ( #26013 )
6 years ago
Sylwester Fraczek
69742bd9a4
Enable mkldnn layout conversion ( #25778 )
...
* enable mkldnn layout conversion
* review fix: remove tmp_place
* fix test mkldnn swish
* add UT for PrepareData CPU->MKLDNN
* add #ifdef PADDLE_WITH_MKLDNN
* Force-push commit
Co-authored-by: grygielski <adam.grygielski@gmail.com>
6 years ago
LutaoChu
71b19c7f4e
add nn.functional.normalize API for API2.0, fix L1Loss API typo
...
add nn.functional.normalize API for API2.0, fix L1Loss API typo, test=develop
6 years ago
zhupengyang
9317e51fa6
Fix
6 years ago
mapingshuo
cd48bdad31
add feature to fleet2.0 role_maker, distribute_strategy, test=develop ( #26267 )
...
* add feature to fleet2.0 role_maker, distribute_strategy, test=develop
6 years ago
Dong Daxiang
4ec51e0205
【paddle.fleet】Clear disable ( #26334 )
...
* add check approval
test=develop
6 years ago
Yi Liu
3b2c580a66
【paddle.fleet】make fleet_localsgd_meta_optimizer work ( #26213 )
...
* make fleet_localsgd_meta_optimizer work
* fix bug in localsgd meta optimizer
6 years ago
Qinghe JING
d549a9b1fe
【paddle.fleet】Set default value to strategy in distributed_optimizer ( #26246 )
...
* set default value to strategy in distributed_optimizer test=develop
6 years ago
Zhou Wei
5017aa76e6
set default python3,fix incompatible,cache dir for third party,unify error code,for windows ( #26178 )
...
* set default python3 for paddle windows,test=win
* set default python3,cache dir for third party,error code,test=win
* fix some incompatible
* fix some error
* set virtual environment,test=win
6 years ago
Jack Zhou
6d22f5c73e
Add PADDLE_ENFORCE in nll loss cuda kernel ( #26294 )
...
* add nll loss API, update demo code of the comment
6 years ago
wawltor
d03dd9d5f1
fix the margin ranking loss doc and api, test=develop ( #26266 )
...
* upate the target to label, test=develop
* Update the code for the margin_ranking_loss, test=develop
6 years ago
wawltor
00e08ce07b
add the sigmoid, Sigmoid for the api 2.0 ( #26171 )
...
Update the sigmoid, Sigmoid layer for the api2.0
6 years ago
tianshuo78520a
f8ca72013e
Fix build whl package ( #26258 )
...
* Fix build whl package
* del timestamp
* fix
6 years ago
Yang Zhang
d063a98b40
Update `paddle.add` ( #25910 )
...
* Update `paddle.add`
remove `alpha`
update doc sample code
remove `:alias` etc
* Remove `imperative` reference from docstring
6 years ago
Kaipeng Deng
7051bbc2a1
fix test_multiprocess_dataloader unittest. test=develop ( #26241 )
...
* fix test_multiprocess_dataloader unittest. test=develop
6 years ago
LielinJiang
9a6a4fbc04
Add children and named_children for Layer ( #26289 )
...
* add children and named_children
6 years ago
wangchaochaohu
0b81d76310
[API2.0] add op for cudnn version query test=develop ( #26180 )
6 years ago
Kaipeng Deng
e87436a570
DistributedBatchSampler add num_replicas and rank. test=develop ( #26315 )
6 years ago
lilong12
241b44db14
[API 2.0] adaptive expand op to use shape instead of expand_times ( #26206 )
...
* adaptive expand op to 2.0 (align to torch.expand) , test=develop
6 years ago
Dong Daxiang
cbf8ba1591
add check approval ( #26284 )
...
test=develop
6 years ago
wangchaochaohu
bb11cbc250
[API2.0] add Device api (set_device and get_device)( #26103 )
6 years ago
YUNSHEN XIE
30e1083e82
disable test_sampling_id_op ( #26313 )
6 years ago
wangchaochaohu
b48ab36b76
fix the typo test=develop ( #26310 )
6 years ago
Zhou Wei
6de463d3d1
expose and unify the Tensor concepts to the user ( #25978 )
...
* expose and unify the Tensor concepts to the user
* expose tensor to user
* add copy place for Tensor
* add copy place for Tensor
* add note
* add macro PADDLE_WITH_CUDA
* remove RUN_TYPE=DIST
* fix some error
6 years ago
lilong12
fbd4d3cc97
[API 2.0] add paddle.tile op ( #26245 )
...
* add tile_op, test=develop
6 years ago
LielinJiang
e4033a06d5
add Class KLDivLoss and function kl_div ( #25977 )
...
* add Class KLDivLoss and function kl_div
6 years ago
Aurelius84
57e83ad72b
Specific gast==0.3.3 ( #26278 )
6 years ago
liu zhengxi
daad625121
fix rnncell errmsg ( #26298 )
6 years ago
Leo Chen
79f12595d8
Refine deprecated decorator ( #26238 )
...
* show deprecation warning once
* add some notes
* remove unused module
6 years ago
123malin
f2b6d8d553
test=develop, bug fix for test_dist_fleet_ctr ( #26287 )
...
* test=develop, bug fix for test_dist_fleet_ctr
6 years ago
Bai Yifan
22b06db3d7
add paddle.nn.functional.mse_loss ( #26089 )
...
* add paddle.nn.functional.mse_loss
* add name
* fix conflict
6 years ago
MRXLT
b2d41e2acd
fix unstack op doc ( #26043 )
6 years ago
Yang Zhang
617eb67f29
Upgrade `no_grad` decorator ( #25472 )
...
* Upgrade `no_grad` decorator
test=develop
- match torch decorator usage (i.e., with parenthesis)
- handle generator functions
- add `paddle.no_grad` alias
* Switch from `functools` to `decorator`
preserves signature
* Reword decorator usage note
6 years ago
zhupengyang
7a89a0a7be
hardshrink and Hardshrink: add class, threshold default 0.5 ( #26198 )
6 years ago
liuyuhui
935da32d25
【paddle.fleet】upgrade fleet: modify role_maker ( #26038 )
...
* add unittest for paddlerolemaker with gloo
6 years ago
wangchaochaohu
ba574c8ec3
refine the usage of numpy element fetch for Ops test=develop ( #26194 )
6 years ago
Yibing Liu
b9828bdf3a
Use faster algorithm for complex matmul, test=develop ( #26231 )
6 years ago
ShenLiang
5113aae6ea
fix the doc of inverse, dot, cholesky ( #25860 )
...
* fix the doc of inverse, dot, cholesky
6 years ago
pangyoki
cfa086bdc1
Remove original name for alias APIs ( #26195 )
...
* fixed static module
* solve conflict
* remove original name for alias API
6 years ago
wawltor
2d6cc0b125
support the tuple for attribute of axis in min, max for api2.0
...
Update the code for the min,max, test=develop
6 years ago
wawltor
682035663a
Add the loss of MarginRankingLoss for the paddle api2.0 ( #26078 )
...
add the api and doc for the margin_ranking_loss and MarginRankingLoss
6 years ago
Dong Daxiang
50a5bcfc9d
【paddle.fleet】paddle.fleet -> paddle.distributed.fleet. ( #26186 )
...
* move paddle.fleet to paddle.distributed.fleet
6 years ago
Leo Chen
2d95280e1f
Feature/Enable Auto-Mixed-Precision in dynamic graph ( #24903 )
...
* add auto_cast, test=develop
* add loss scaler, test=develop
* add comments, test=develop
* refine code, test=develop
* refine code, test=develop
* do not set flags automatically, test=develop
* fix custom op bug, test=develop
* add more test, test=develop
* refine enable logic, test=develop
* enable amp test with GPU, test=develop
* add unittest
* add test for found_inf
* follow comments
* follow comments
* remove global variable, use singleton
* add some notes
* update comments
* update comments
* update comments
* add use_dynamic_loss_scaling argument
* refine found_inf
* refine found_inf
6 years ago
Chen Weihang
838e36e9ed
Fix loaded variable suffix repeat error ( #26169 )
...
* fix loaded var suffix repeat error
* use new dygraph name for loaded param
6 years ago
Zhen Wang
e656ca4783
add assert raises in the test_retain_graph UT. ( #25983 )
6 years ago
Zhong Hui
7165f48409
change api name eps to epsilon for the pair_distance
...
change api name eps to epsilon for the pair_distance
6 years ago
Jack Zhou
dea41da715
add nll loss API for the paddlepaddle api2.0
...
* add nll loss API, update demo code of the comment
6 years ago
liym27
1d730ffbf5
[Dy2Stat] Removes temporary files created during the transformation of dygraph to static graph. ( #26150 )
6 years ago
Zhong Hui
361363c321
add pairewise distance for the paddlepaddle api 2.0
...
add pairewise distance for the paddlepaddle api 2.0
6 years ago
LutaoChu
1d870c442e
fix paddle.nn.loss.L1Loss OP, add paddle.nn.functional.l1_loss OP for API2.0
...
fix paddle.nn.loss.L1Loss OP, add paddle.nn.functional.l1_loss OP for API2.0
6 years ago
zhupengyang
faf83a7af2
paddle.mean: add attr axis, keepdim ( #26147 )
6 years ago
wawltor
9c17b3c9f8
Add the max, min, maximum, minimum api for the API 2.0
...
* Add the max, min, maximum, minimum api for the API 2.0, test=develop
6 years ago
pangyoki
13b80d9bea
fixed imperative module in doc example code ( #26149 )
...
* fixed imperative module in doc example code
* fixed static module
* solve conflict
6 years ago
Kaipeng Deng
dbc88bb900
Add iterable dataset support for multiprocess DataLoader ( #25558 )
...
* add IterableDataset support in multiprocess DataLoader. test=develop
6 years ago
JZ-LIANG
54003b873e
【paddle.fleet】add lamb to fleet meta optimizer ( #26025 )
...
add lamb to fleet meta optimizer
6 years ago
Yiqun Liu
1be6bf45ae
Add assign to fusion_group and enhance inplace execution in fusion_group. ( #26121 )
6 years ago
zhupengyang
b2034c2854
softmax: imperative->static; fix doc examples ( #26134 )
6 years ago
LutaoChu
b6d14d9d07
add deprecated decorator, remove alias for cumsum op ( #26104 )
...
add deprecated decorator, remove alias for cumsum op
6 years ago
Zhen Wang
a86e8c0eef
add more error info for these ops without double grad ops. ( #25987 )
6 years ago
danleifeng
34eb27a1d6
ps worker-ports are optional for users for fleetrun command; test=develop ( #26090 )
6 years ago
Jacek Czaja
615e8a20f6
- oneDNN update 1.3 -> 1.5 ( #25202 )
...
* - introducing oneDNN 1.6
test=develop
* - onednn 1.5
test=develop
* - oneDNN 1.5
test=develop
* - oneDNN 1.5 bugfix
test=develop
6 years ago
pangyoki
2efcb481c8
Paddle-2.0 API directory migration ( #25898 )
...
* 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
6 years ago
zhupengyang
cd7b55a221
LeakyRelu: refine doc, fix name bug ( #25957 )
6 years ago
zhupengyang
2214394edc
softmax: refine doc; input->x ( #25976 )
6 years ago
ShenLiang
3076205ba9
rm eye, test=develop ( #26031 )
6 years ago
lilong12
8caee2ad51
【paddle.fleet】add the support for multi-node training for pipeline ( #25907 )
...
* add the support for multi-node training
6 years ago
LutaoChu
bf2db646de
fix cumsum op for API 2.0, optimize performance
...
update cumsum api and fix up the cumsum op
6 years ago
Leo Chen
9c6112104e
Fix prelu for compatibility with saved model of old version ( #26052 )
...
* fix prelu for compatibility with saved model of old version
* reshape alpha
6 years ago
Adam
1893cd6bb8
Add oneDNN relu6 op ( #26037 )
...
* Add oneDNN relu6 op
* Lint fixes
6 years ago
gongweibao
a7c5210051
Fix test_hdfs bug. ( #26068 )
...
* fix merge3 test=develop
6 years ago
tangwei12
c14ec8782b
【paddle.fleet】Feature/fleet ps api 2.0 ( #25857 )
...
* add paddle.fleet.AsyncOptimizer
Co-authored-by: dongdaxiang <dongdaxiang@baidu.com>
6 years ago
Chen Weihang
3c8daa9b89
Add pin memory control for BufferedReader ( #26026 )
...
* add pin memory control
* fix buffered reader init problem
* fix unittest error
* add unittest for coverage
6 years ago
Chen Weihang
ad4a0466a5
Add cuda pinned place branch in slice op GetExpectedKernelType ( #26027 )
...
* add cuda pinned place branch
* add unittest
* add skip when not gpu
6 years ago
danleifeng
d5a66fd7a0
【paddle.fleet】support multi-node cpu training for fleetrun ( #26011 )
...
* support multi-ps training mode for fleetrun; test=develop
6 years ago
gongweibao
0067a2e4ec
Save checkpoint automatically ( #25917 )
6 years ago
Feiyu Chan
e853ece0a2
update document template for unary elementwise layers ( #25896 )
...
1. update document template for unary elementwise layers(a.k.a. activation layer);
2. remove generate_op_noattr and use generate_activation instead; remove redundant function copies;
3. minor update for docstring to fix rst format errors.
4. fix doc for Rsqrt OP
5. add sample code for each activation separately;
6. remove the unused deprecated decorator.
6 years ago
joanna.wozna.intel
734cf1c3e9
Change use_quantizer attribute name and data type ( #25838 )
...
* Change use_quantizer attribute name and data type
* Fix problem with setting attribute
* Add changes due to review
* Small change in function
* Restore use_quantizer attr for compatibility
6 years ago
Sylwester Fraczek
4c9ddb3db4
enable check_dygraph for mkldnn activation tests ( #25779 )
...
* enable check_dygraph for mkldnn activation tests
* TestMKLDNNSwishDim4 float32->self.dtype
6 years ago
Leo Chen
5258d53d65
refine unsqueeze, test=develop ( #25470 )
...
* refine unsqueeze, test=develop
* update unsqueeze, test=develop
* refine unsqueeze, test=develop
* refine unsqueeze, test=develop
* update
* remove None, test=develop
* follow comments
* support bool
* update doc
* follow comments
* merge develop
6 years ago
wangchaochaohu
0dc485e6fe
refine the value parameter's Tensor support of fill_constant Op test=… ( #25986 )
6 years ago
liym27
168ea22351
[Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime. ( #25970 )
...
* don't remove op_callstack
* [Dy2Stat-ErrorMessage] Optimize error value to improve readability if error raised in run-time.
1. update op_callstack with original information;
2. simplify error value to improve readability if error raised in run-time.
* Fix error in Python3.
6 years ago
tangwei12
3755564ae1
Fix/large scale fix ( #25999 )
...
* fix large scale KV
* fix single training using async ssa graph
6 years ago
Leo Chen
751305ecf0
Add flags to control call stack of error message ( #25997 )
...
* add flags_call_stack_level
* update
* refine code
6 years ago
Chen Weihang
3eee0467fe
Add limit support for load_dygraph loading jit.save result ( #25935 )
...
* add limit support for load_dygraph loading jit.save result
* simplify unittest
* add unittests for coverage
* remove encoding limit of loading extra var info
6 years ago
liym27
12bf9d7168
[Dy2Stat-ErrorMessage]Enhance original error and create new exception ( #25798 )
...
* [Dy2Stat-ErrorMessage]Enhance original error and create new exception. test=develop
* Delete redundant code and change func name to create_and_update_origin_info_map.
* optimize loop_transformer.
* fix bug in print_transformer.
* Modify code according to the comments.
6 years ago
yaoxuefeng
07f509a835
fix 4 apis test=develop ( #25529 )
6 years ago
123malin
2191a08317
【paddle.fleet】fleet_util move to paddle.fleet ( #25805 )
...
* test=develop,test=document_fix, remove the out args
* fleet_util move to paddle.fleet
Co-authored-by: WuHaobo <wuhaobo1994@gmail.com>
Co-authored-by: tangwei12 <tangwei12@baidu.com>
6 years ago
danleifeng
0d4ce6ac5d
fix test_launch and test_fleet_launch bug; test=develop ( #26015 )
6 years ago
Leo Chen
6e7f0bb284
refine paddle.stack ( #25305 )
...
* refine stack in dygraph mode, test=develop
* update stack, test=develop
* rename Variable to Tensor, test=develop
* add name args to fluid.layers.stack, test=develop
* follow comments
* update doc
* update doc
* follow comments
6 years ago
yaoxuefeng
224620071b
add new flatten op test=develop ( #25393 )
6 years ago
xujiaqi01
20c8432ae3
move dataset from paddfle.fluid to paddle.fleet ( #25887 )
...
* move dataset to fleet
test=develop
* fix
test=develop
* fix
test=develop
* fix
test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
* test=develop
6 years ago
Adam
68c6160e63
Add oneDNN fusion_gru kernel ( #25594 )
...
* Add oneDNN fusion_gru kernel and fix fc+gru pass
test=develop
* Formatting changes
test=develop
* Lint fixes
test=develop
* Add memory::format_tag::any to GRU weights
test=develop
* Fix build with CUDA
* Fix build with CUDA v2
6 years ago
Thunderbrook
0cb60c700d
add heter ps mode ( #25682 )
...
* add heter ps mode
* code style
test=develop
* add with_pslib
test=develop
* unitest
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* code style
test=develop
* test monitor
test=develop
* prepare trainer
test=develop
* code style
test=develop
6 years ago
Shibo Tao
c8d0d1419b
add paddle.utils.deprecated. ( #25912 )
...
* add paddle.utils.deprecated.
* add docstring. test=develop
* add alias paddle.utils.deprecated. test=develop
* rm deprecated in python/paddle/fluid/annotations.py. test=develop
* 1. check version before warning. 2. bug fix. test=develop
* bug fix. test=develop
* use paddle.fluid.require_version. test=develop
* fix doc
* fix doc. test=develop
* fix doc. test=develop
* bug fix. test=develop
* use packaging.version. test=develop.
* enhance doc. test=develop
* add compare_version function. test=develop
* add version.py. test=develop
* remove packaging. test=develop
* move compare_version to deprecated.py. test=develop
* remove print. test=develop
* fix. test=develop
* fix. test=develop
* fix. test=develop
* fix. test=develop
* inline. test=develop
* fix. test=develop
6 years ago
LielinJiang
ffcb6537c5
Add uncombined_weight_to_state_dict api ( #25649 )
...
* add uncombined_weight_to_state_dict API
6 years ago
wawltor
a43b0d155d
Update the code for the sort api
...
update the sort api, delete unused ouput index tensor
6 years ago
WangXi
2c9d0f3cb9
【paddle.fleet】Add dgc to fleet meta optimizer ( #25738 )
...
Add dgc to fleet meta optimizer, rm dgc from optimizer all
6 years ago
Dong Daxiang
4adac0e309
【paddle.fleet】Add fleet base context ( #25954 )
...
* generate context during compile
6 years ago