yaoxuefeng
7f3e6ca596
add cuda generator ( #26786 )
5 years ago
Chengmo
c4846196b8
fix Heter Ps multi thread ( #26876 )
...
* fix heter-ps multi thread
5 years ago
huangjun12
fcb2ac6001
fix alpha dropout bug when p=1, test=develop ( #26977 )
5 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>
5 years ago
danleifeng
6b4ca0d7f1
【paddle.fleet】distributed_optimizer supports dygraph ( #26541 )
...
paddle.distributed.fleet supports dynamic graph execution.
5 years ago
danleifeng
3a2a711681
【paddle.fleet】simplify fleetrun log infos ( #26888 )
...
* print detailed and clear log infos; test=develop
5 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
5 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
5 years ago
ruri
3900f66c19
[API 2.0]Fix adaptive pooling bug ( #26922 )
...
* fix
* fix doc, test=document_fix
5 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
5 years ago
Zhen Wang
bcdbac1753
fix some cast error. ( #26884 )
5 years ago
zhupengyang
6a09b8f1cb
erase Raises and refine doce of random functions ( #26901 )
5 years ago
LielinJiang
559d9f2bb9
Add summary for hapi ( #26386 )
...
* add summary for hapi
5 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
5 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
5 years ago
LielinJiang
96331f74d7
fix conv1d padding ( #26921 )
5 years ago
littletomatodonkey
3ba7b9b567
fix regularizer timeout ( #26952 )
5 years ago
ruri
05da5a3cdd
remove matplotlib requirement files ( #26948 )
5 years ago
pangyoki
b036294c02
fix uniform CI random fail problem ( #26932 )
...
* fix uniform CI random fail problem
* decrease diag_num in DiagInit
5 years ago
Yang Zhang
29b844ad5e
Fix clip op attr ( #26924 )
5 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
5 years ago
joejiong
2f50aa227e
add deprecated information to the top of an API docstring ( #26818 )
...
As the title
5 years ago
YUNSHEN XIE
d8984a6b90
limit timeout value setting on linux ( #26923 )
5 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
5 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
5 years ago
gongweibao
4e1c8f3e6e
Remove psutil dependency. ( #26841 )
5 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
5 years ago
Tao Luo
bf6cbbc745
remove unused fc_gan unit-test demo ( #26889 )
5 years ago
lilong12
030b298e82
fix sample codes in collective.py ( #26787 )
...
* fix sample codes, test=develop
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
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
5 years ago
Yang Zhang
6129b0e246
Revert `no_grad` changes and add new implementation ( #26826 )
5 years ago
Chengmo
d0962abd20
supplement bug fix of parameter server ( #26217 )
...
* fix fluid.embedding
5 years ago
Leo Chen
60ffc22026
Refine bernoulli and unsqueeze op ( #26842 )
...
* add check for bernoulli and register bool for unsqueeze
* follow comments
5 years ago
Bai Yifan
1127d0d33f
fix adaptive_avg_1d outputsize type issue, test=document_fix ( #26869 )
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
Huihuang Zheng
ad5547d97b
Fix typo util->until. ( #26855 )
...
Fix an English typo in unit test.
5 years ago
MRXLT
1769d2128a
fix ut ( #26844 )
5 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>
5 years ago
tangwei12
ebc5f99789
add embedding 2.0 ( #26649 )
...
* add embedding 2.0
* add embedding support input int32
5 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
5 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
5 years ago
tangwei12
9ded7565ec
【paddle.fleet】FleetAPI 2.0 ( #26772 )
...
* add FleetAPI doc
Co-authored-by: liuyuhui <liuyuhui@baidu.com>
5 years ago
Aurelius84
b0111778b8
enhance error message ( #26808 )
5 years ago
huangjun12
3ce727a81c
rename Dropout2D/3D to Dropout2d/3d, test=develop ( #26796 )
...
rename Dropout2D/3D to Dropout2d/3d
5 years ago
GaoWei8
11fb8a1c10
Refine cudnn softmax ( #25757 )
...
* refine cudnn softmax
5 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
5 years ago
Aurelius84
df0a22d98b
[Dy2stat]Fix Python Version compatibility of dict.iteritems ( #26778 )
...
* Fix Python Version compatibility
* add import six
5 years ago
Zhong Hui
1f6df8787f
fix doc, use to_tensor
...
fix doc, use to_tensor for the loss ops
5 years ago
yaoxuefeng
a47d92d868
fleet add save with whitelist test=develop ( #23376 )
5 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
5 years ago
Yang Zhang
9a1ea9b45d
Add support for tensor min/max in dygraph ( #26764 )
5 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
5 years ago
Chengmo
7f2aa2db3c
【paddle.fleet】Support Heter Parameter Server ( #25998 )
...
* Support Heter Parameter Server
5 years ago
Dong Daxiang
994217ea05
【paddle.fleet】fix api documents ( #26777 )
...
* fix api document
5 years ago
ruri
db68e08589
[API2.0]Unify pooling function and add adaptive max pooling function ( #26483 )
5 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>
5 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
5 years ago
lilong12
2675cae758
add deprecated decorator for old apis expand and expand_as ( #26759 )
...
* add deprecated, test=develop
5 years ago
ceci3
42d2915ad4
[2.0 API] add SyncBatchNorm.convert_sync_batch_norm ( #26688 )
...
* add cnvert,test=develop
5 years ago
LielinJiang
4106e54c50
Fix hapi transform bug ( #26738 )
...
* fix bug
5 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
5 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.
5 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
5 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
5 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
5 years ago
gongweibao
3390c7e260
fix test=develop ( #26697 )
5 years ago
zhupengyang
f34fb0a291
normal: enlarge threshold to reduce random error ( #26763 )
5 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.
5 years ago
Pei Yang
e3f8e5cf5c
trt int8 support conv2d_transpose ( #26636 )
5 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
5 years ago
ShenLiang
29494d703d
fix remainder, floor_div ( #26732 )
...
* fix remainder, floordiv
5 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
5 years ago
LutaoChu
7d4e21588d
add parameters check in static mode for diag op
...
add parameters check in static mode for diag op
5 years ago
hong19860320
a7db9acc2f
Add the constraint for the scale of SELU/selu ( #26686 )
5 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
5 years ago
littletomatodonkey
52a6ca0cf5
test=develop, improve pad assertion error ( #26748 )
5 years ago
Kaipeng Deng
c03092b188
fix dataloader performace decrease & unittest hanging. test=develop ( #26739 )
5 years ago
Jack Zhou
c282db3a93
add broadcast feature for elementwise logical op
...
add broadcast feature for elementwise logical op
5 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
5 years ago
donproc
edf5f3173a
[2.0 API] add paddle.nn.functional.linear and fix paddle.nn.Linear ( #26480 )
5 years ago
lilong12
2f75465d9a
fix the call to core.ops.x, test=develop ( #26729 )
5 years ago
lilong12
f1ae017fa9
update copyright year, test=document_fix ( #26586 )
5 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.
5 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>
5 years ago
joejiong
f311d3c1cf
Fix pow api type error with python side method, merge elementwise_pow and pow. ( #26163 )
...
As the title
5 years ago
yongqiangma
e4cc6a28b0
Norm op support 2-axis ( #26492 )
5 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.
5 years ago
Aurelius84
f05613683f
[Dy2stat] Support InputSpec and Return callable class instance in @declarative ( #25960 )
...
* add InputSpec
* add unittest for tensorSpec and SimpleNet
5 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
5 years ago
gongweibao
fc5acdd041
Fix fleet ut timeout issue. ( #26694 )
5 years ago
zhupengyang
32ae8e8132
leaky_relu, log_softmax, hardshrink formula format ( #26720 )
5 years ago
Zhang Ting
97cebfa4d3
add dtype for unique ( #26655 )
...
* update doc, test=document_fix
* add attr(dtype)
* refine code
5 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>
5 years ago
Kaipeng Deng
84e7be3178
add TensorDataset for multiprocess DataLoader ( #26332 )
...
* add TensorDataset. test=develop
5 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
5 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
5 years ago
Leo Chen
07973c577e
disable deprecated ( #26684 )
5 years ago
Leo Chen
5c14fdcf0c
fix bug when get_glibc_ver returns None ( #26693 )
5 years ago
JZ-LIANG
958d7212c7
【paddle.fleet】Document refine lars & lamb ( #26533 )
5 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
5 years ago
Aurelius84
67d03bed70
Fix jit.to_static usage ( #26682 )
5 years ago
pangyoki
cb00d50498
../python/CMakeLists.txt ( #26531 )
5 years ago
ShenLiang
33afeb315a
fix the tanh ( #26657 )
...
* fix the tanh
* fix the learning rate
5 years ago
Bai Yifan
8986a82131
fix adaptive gpu grad bug, add doc refine ( #26660 )
5 years ago
Dong Daxiang
98e057bb1e
remove role maker in test_fleet_graph_execution_meta_optimizer.py ( #26674 )
...
test=develop
5 years ago
hong19860320
dbcef732d8
Fix the formula of SELU/selu ( #26675 )
5 years ago
Qi Li
2de034e146
fix prelu, test=develop ( #26613 )
5 years ago
Zhou Wei
7af5cb9b32
fix english doc of all lr_scheduler ( #26619 )
...
* fix doc of lr_scheduler
* fix doc
5 years ago
wawltor
286eca2d9e
update the code for the topk v2
...
add the top v2 for the paddlepaddle api 2.0
5 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
5 years ago
joejiong
d32beea2a9
Add Checking Type for "multiply" operation ( #26508 )
...
Co-authored-by: wujionghao <wujionghao@email.com>
As the title
5 years ago
gongweibao
ed4a4ea37e
fix test=develop ( #26632 )
5 years ago
Dong Daxiang
08d736ad78
【paddle.fleet】add cudnn related strategies to DistributedStrategy ( #26598 )
...
* add cudnn related strategies to DistributedStrategy
5 years ago
Zhang Ting
0a895bc0df
improve unique op ( #26537 )
...
* add unique_v2 op
* remove unique_v2 op
* update doc
5 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
5 years ago
YUNSHEN XIE
a8b5741fb4
add a few unittests for setting timeout properity ( #26630 )
5 years ago
Huihuang Zheng
26d67414fd
Enrich English declarative Doc ( #26538 )
...
As the title.
5 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
5 years ago
zhupengyang
c80fcf901e
reduce_mean error if keepdim=True and reduce_all=True ( #26614 )
5 years ago
wangchaochaohu
a31dbc8f85
add deprecated for gather api and refine the doc of gather api ( #26579 )
5 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
5 years ago
ruri
1f82c0cd62
[Api2.0] add pixel shuffle ( #26071 )
5 years ago
guofei
924734fd3a
Refine typo of english document of paddle.prod ( #26546 )
...
* Refine typo of english document of paddle.prod
test=document_fix
5 years ago
WangXi
7ff197d3ba
Add fleet dgc amp doc, test=document_fix ( #26608 )
5 years ago
yukavio
36868e840c
fix one_hot example doc test=document_fix ( #26585 )
...
* fix one_hot example doc test=document_fix
* fix some bug
5 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
5 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
5 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
5 years ago
joejiong
da1efe24d5
Throws TypeError When Logical APIs Do Broadcast Operation ( #26490 )
...
As the title.
Co-authored-by: wujionghao <wujionghao@email.com>
5 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
5 years ago
ceci3
f8dbd7a273
fix syncbn, test=develop ( #26523 )
...
* fix syncbn, test=develop
* fix test,test=develop
* fix unittest,test=develop
5 years ago
Kaipeng Deng
dd3df6933a
fix RandomSampler & BatchSampler. test=develop ( #26559 )
...
* fix RandomSampler & BatchSampler. test=develop
5 years ago
yaoxuefeng
d6e888cace
fix Flatten api test=develop ( #26346 )
5 years ago
cc
0d71cffd65
Add mnist test for post training quantization, test=develop ( #26436 )
...
* Add mnist test for post training quantization, test=develop
5 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.
5 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
5 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>
5 years ago
wanghuancoder
90e6819cf2
fix engilsh document for api paddle.fluid.dygraph.enabled, test=develop, test=document_fix ( #26271 )
5 years ago
yaoxuefeng
efee426742
support generator seed in related kernals test=develop ( #26495 )
5 years ago
Bai Yifan
ae4724cfd1
fix type issue ( #26500 )
5 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.
5 years ago
ShenLiang
0e81626081
add div, floor_div, remainder ( #26562 )
...
* add div, floor_div, remainder
5 years ago
Kaipeng Deng
973fdd67f7
Fix dataset resource warning ( #26566 )
...
* fix resource warning. test=develop
5 years ago
Li Fuchen
c2cb8f0033
fix docstr of ctc_loss and CTCLoss, test=document_fix ( #26584 )
5 years ago
qingqing01
24566e951c
Support empty bbox in bipartite math op ( #26488 )
5 years ago
hong19860320
87843bebde
Fix the sample code of SELU/selu ( #26565 )
5 years ago
Jack Zhou
199b0c7c1b
Add isfinite v2 op ( #26344 )
...
add the isnan, isfinite, isinf api for the paddle 2.0
5 years ago
yaoxuefeng
33cffdf3d7
fix datanorm op add attr bug test=develop ( #25000 )
5 years ago