mapingshuo
5ccaaab8aa
reshape support bool, test=develop ( #27944 )
6 years ago
danleifeng
8d7908f3fd
【paddle.fleet】raise error when using multi-cards in fleet non_distributed mode ( #27854 )
...
* raise error if use multi-cards in fleet non_distributed mode; test=develop
6 years ago
Qinghe JING
4a4f773658
Add reduce sum and reduce mean xpu op ( #27939 )
...
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
* add reduce xpu op test=develop;test=kunlun
6 years ago
Zhou Wei
bf412f4665
add tensor clone ( #27953 )
...
* add tensor clone
* fix unittest test_var_base
6 years ago
Feiyu Chan
2e845182d9
support channel last in BatchNorm*d
...
1. support channel last in BatchNorm*d (#27875 )
2. fix a bug in batch_norm_op cuda kernel by extracting ResizeToChannelFist(Last), TransToChannelFirst(Last) to operators/layer_utils.h
6 years ago
Yiqun Liu
947b75284f
Reimplement paddle.utils.install_check. ( #27771 )
6 years ago
Kaipeng Deng
b808979b8c
step lr_scheduler on epoch end in hapi/model.py fit ( #27730 )
...
* step lr_scheduler on epoch end in hapi/model.py fit. test=develop
6 years ago
Kaipeng Deng
d17681dcc7
fix DataLoader single process mode exit SIGABRT error. ( #27850 )
...
* fix DataLoader single process mode exit SIGABRT error. test=develop
6 years ago
tianshuo78520a
7750844f33
fix norm code format error ( #27955 )
6 years ago
furnace
d998ed0ce3
bugfix for docs of paddle.nn.Assign API ( #27927 )
6 years ago
ceci3
338c76564a
update syncbn docs, test=document_fix ( #27948 )
6 years ago
guofei
6bbb6e7f45
Implement the function of OutScaleForTraining/OutScaleForInference in dygraph ( #26601 )
...
* Implement the function of OueScaleForTraining/OutScaleForInference in dygraph
test=develop
6 years ago
LielinJiang
0140d74e23
Fix load pretrained model in hapi ( #27893 )
...
* fix hapi load
6 years ago
chentianyu03
d05058d268
Remove and reorganize the alias of APIs ( #27717 )
...
* modify cond while_loop to paddle.static.nn.cond
* modify crop_tensor to paddle.crop
* modify Variable to paddle.static.Variable
* remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
* remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
* remove apis in nn.functional.learn_rate.py
* remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
* remove apis in nn.functional.vision
* remove erf, soft_relu in nn.functional.activation
* remove apis in nn.functional.extension
* remove nn.functional.rnn
* remove hash from nn.functional.lod
* remove row_conv from nn.functional.extension
* remove one_hot, pad2d, pad_constant_like from nn.functional.common
* remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
* remove apis from optimizer.__init
* remove tensor.creation.fill_constant
* remove elementwise_mul in nn.functional.common and modify to paddle.multiply
* remove tensor.stat.reduce_mean
* remove reduce_all, reduce_any in tensor.logic
* remove apis in tensor.math
* remove apis in tensor.__init__
* remove has_inf, has_nan in tensor.search
* remove apis in framework.__init__
* remove apis in paddle.__init__
* remove apis in nn.functional.__init__
* modify removed alias apis to raw api in doc and unittests
* fix remove grid_sample bug
* modify removed alias apis to raw api in doc and unittests
* modify removed alias apis to raw api in doc and unittests
* modify removed alias apis to raw api in doc and unittests
* modify removed alias apis to raw api in doc and unittests
* modify removed alias apis to raw api in doc and unittests
* modify removed alias apis to raw api in doc and unittests
* delete alias api relastions in doc
* reserve paddle.compat, paddle.sysconfig
* remove unittest for paddle.reduce_all, paddle.reduce_any
* modify removed alias apis to raw api in doc and unittests
* recover paddle.save and paddle.load
* resolve conflicts
* fix sample code missing paddle.enable_static() bug
* fix sample code missing paddle.enable_static() bug
* fix to_string sample code error
6 years ago
pangyoki
6e5034e248
fix test directory migration ( #27885 )
...
* fix test directory migration
* change assert to self.assertXXX
6 years ago
Leo Chen
9a2a4b5f65
Support setting xpu place in dygraph mode ( #27909 )
...
* support setting xpu place
* add ut, test=kunlun
6 years ago
chajchaj
357341381c
del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits ( #27883 )
...
* del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits
* del sigmoid_cross_entropy_with_logits in python/paddle/nn/functional/loss.py, test=develop
* call paddle.fluid.layers.sigmoid_cross_entropy_with_logits in bce_with_logits_loss, test=develop
6 years ago
MRXLT
263a9e97fd
Fix adam ( #27778 )
...
* fix adam
* fix gpu adam
* fix code style
* fix ut
* update ut add cuda code
6 years ago
Double_V
b0edda4d99
kunlun add op ( #27890 )
...
* add stack pool2d roi_align xpu op,test=kunlun
* error message opt, test=kunlun
* add xpu unittest,test=kunlun
* skip check grad,test=kunlun
* fix boostget , test=kunlun
6 years ago
zhang wenhui
82eb486edd
fix test_group_norm, test=develop ( #27929 )
6 years ago
qingqing01
766b351527
Remove paddle.metric.auc in 2.0 API ( #27851 )
6 years ago
wawltor
ff8922f9f2
fix the dataset remove bug for the dataset
...
fix the dataset remove bug for the dataset
6 years ago
Jack Zhou
c791df09cf
Add elementwise XPU OP kernel for KUNLUN core, including (but still cannot process common broadcast
...
Add elementwise XPU OP kernel for KUNLUN core, including (but still cannot process common broadcast
6 years ago
Leo Chen
ae6ad23c3c
Refine tensor to_string ( #27925 )
...
* refine to_string
* re-enable ut
6 years ago
ruri
8b307042ba
[API2.0]remove image_resize series api in Paddle2.0 ( #27886 )
...
* remove image_resize series api in Paddle2.0
6 years ago
wangchaochaohu
c5fcc96d5b
xpu support for fill_constant Op ( #27675 )
6 years ago
liuyuhui
72efd830b9
[API 2.0: doc] fix doc of linspace cast assign addcmul ( #27897 )
...
* update assign/cast/linspace/addcmul op doc for 2.0 api,test=document_fix
* fix bug about cast doc for 2.0 api,test=document_fix
6 years ago
zhulei
b3cfb02150
Update example codes of ConstantInitializer & MSRAInitializer ( #27915 )
...
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
* Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
* Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
* Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
* Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
* Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
* test=document_fix
* test=document_fix
6 years ago
Chengmo
328cb289ed
【paddle.fleet】fix sparse load ( #27680 )
...
* add sparse tensor load method
6 years ago
furnace
8e70b18e6c
add paddle.nn.initializer API, including: Normal, TruncatedNormal, Uniform, XavierNormal, XavierUniform, Assign ( #27769 )
6 years ago
123malin
a4f850748a
【paddle.fleet】bug fix for parameter_recv ( #27838 )
...
* test=develop, bug fix for parameter_recv
* test=develop, for unittest, test_fleet_rolemaker_new
6 years ago
MRXLT
b19b01af18
add dygraph code for unstack ( #27881 )
6 years ago
QingshuChen
2712d07644
support kunlun matmul_v2 ( #27910 )
...
*test=kunlun
6 years ago
zhang wenhui
5a83496c8d
Multi task ( #26002 )
...
* add multitask
* add multitask, test=develop
* fix code style, test=develop
* add partail push dense, test=develop
* fix has_kay in py3, test=develop
* fix, test=develop
* fix, test=develop
* fix, test=develop
6 years ago
zhang wenhui
7a58431c0a
fix norm api doc, test=develop ( #27652 )
...
* fix norm api doc, test=develop
* fix error message, test=develop
* fix api norm, test=develop
* add adagrad, test=develop
* fix bug, test=develop
* fix bug, test=develop
* add spetral_norm, test=develop
* fix adagrad, test=develop
* merge , test=develop
6 years ago
yinhaofeng
3eb106da6d
Lookup table v2 xpu ( #27888 )
...
* add lookup_table_v2_op_xpu, test=kunlun
* add lookup_table_v2_op_xpu, test=kunlun
* change some Tips ,test=kunlun
6 years ago
pangyoki
6150cc86e3
fix Error of gpu version paddle when CUDA device is not set properly ( #27819 )
...
* fix gpu version paddle Error when have no CUDA device
* optimize format and add new unittest
* fix coverage problem
* fix unittest format
* change static mode to dygraph mode
* use subprocess in unittest
6 years ago
AshburnLee
9209f341fc
Made a change in python API to support the GPU version of unique OP working in static graph ( #27899 )
...
* Made a change to support unique op working in static graph
* Correct python format error
6 years ago
Yiqun Liu
b301adc98b
Update all the examples which use paddle.static.nn.fc. ( #27904 )
6 years ago
Chen Weihang
ed31dac6eb
remove scale loss and coll grads, test=document_fix ( #27874 )
6 years ago
YUNSHEN XIE
6898746f1d
disable ut ( #27913 )
6 years ago
zhulei
62556d5e74
Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer ( #27811 )
...
Add api of KaimingUniform & KaimingNormal in paddle.nn.initializer
6 years ago
hutuxian
3f2a6ab65d
fix error msg ( #27887 )
6 years ago
Huihuang Zheng
426de255ea
Refine Executor API English Doc for 2.0rc ( #27857 )
...
As the title
6 years ago
Huihuang Zheng
9b3b3b74a7
Refine ParallelExecutor English Doc for 2.0RC ( #27862 )
...
As the title
6 years ago
xiaoting
ae01801f0a
Add dropout and log_loss for kunlun ( #27790 )
...
* add dropout,log_loss, test=kunlun
* fix dropout, test=kunlun
* polish error message, test=kunlun
* change boost::get to BOOST_GET_CONST, test=kunlun
* fix copyright, test=kunlun
6 years ago
WangXi
50619cd842
use floyd algorithm to find meta optimizer max path, test=develop ( #27867 )
6 years ago
Guanghua Yu
70c8c31371
support mean,softmax_with_cross_entropy on Baidu Kunlun ( #27792 )
...
* support mean,softmax_with_cross_entropy on Baidu Kunlun,test=kunlun
* fix unittests error,test=kunlun
* delete boost::get,test=kunlun
6 years ago
Chengmo
1607e87cb9
add xpu sgd & momentum ( #27728 )
...
* add xpu sgd & momentum
6 years ago
smallv0221
1b48f2f751
Fix en doc for rnn.py. test=document_fix ( #27835 )
...
* Fix en doc for rnn.py. test=document_fix
6 years ago
Leo Chen
049696bf67
Refine the format of printing tensor ( #27673 )
...
* add sumary feature
* refine printting tensor
* add sci_mode
* add sample code
* fix indent error
* fix _format_item
* polish code
* support item indent
* add ut
* set place for ut
* fix py2 issue
* fix ut
6 years ago
hong19860320
c90d35564b
Add batch_norm and layer_norm XPU kernels ( #27818 )
6 years ago
xiaoting
6da7a7458b
add conv for xpu, test=kunlun ( #27809 )
...
* add conv for xpu, test=kunlun
* polish error_message, test=kunlun
* polish error_message, test=kunlun
* fix copyrigth, test=kunlun
6 years ago
huangjun12
74092635f8
Add local_response_norm in nn.functional and nn.layer ( #27725 )
...
* add local_response_norm in nn.functional and nn.layer, test=develop
* update layers to functional api, test=develop
* fix ci coverage, test=develop
* fix unittests bug, test=develop
6 years ago
Bai Yifan
1b1217732e
fix deform_conv2d doc, test=document_fix ( #27873 )
6 years ago
Huihuang Zheng
914558049f
Refine ProgramTranslator API English Doc for 2.0rc ( #27849 )
...
As the title
6 years ago
Thunderbrook
04be37c57f
add xpu slice op ( #27349 )
...
* add xpu slice op
test=xpu
* add slice xpu op
test=xpu
* code style
test=kunlun
* style
test=kunlun
* format
test=kunlun
6 years ago
mapingshuo
8d2cb14f98
support gradient merge with recompute, test=develop ( #27834 )
...
* support gradient merge with recompute, test=develop
test=develop
6 years ago
QingshuChen
79b5db135e
bug: fix mul unitest bug ( #27852 )
...
*test=kunlun
6 years ago
wanghuancoder
92708a2723
modify test_load_op save path from /tmp to ./ ( #27872 )
...
* modify test_load_op save path from /tmp to ./, test=develop
* trigger kunlun ci, test=kunlun
* trigger kunlun ci, test=kunlun
6 years ago
Chengmo
9637d963f7
update index sample ( #27839 )
...
* update index sample
6 years ago
ShenLiang
6d63cd2b93
add gather_op xpu, test=kunlun ( #27822 )
...
* add gather_op xpu, test=develop, test=kunlun
* fix ut, test=develop, test=kunlun
* fix the ut,test=develop, test=kunlun
6 years ago
wangxinxin08
e6a4d1705a
modify dtype in doublegrad matmul ut ( #27868 )
6 years ago
Chen Weihang
94faa112e9
Polish save load en doc details ( #27845 )
...
* polish save load en doc details, test=document_fix
* polish details, test=document_fix
* remove blank, test=document_fix
* fix ascii error, test=document_fix
* update fc's input to x, test=document_fix
* update fc argument activation, test=document_fix
6 years ago
Steffy-zxf
92b3a71705
Update api 2.0 for some ops
...
* 1. remove paddle.unique_with_counts api, which counts as unique api
2. add paddle.math.increment(x, value=1.0, name=None) api
3. replace paddle.sums with paddle.add_n api
4. update paddle.metric.accuracy api (add name parameter)
6 years ago
Zhou Wei
e122e16456
fix english doc, unittest, and remove useless alias of 2.0 lr_scheduler ( #27686 )
...
* fix doc and unittest of 2.0 lr_scheduler
* fix doc of 2.0 lr_scheduler
* fix unittest
* fix english doc of lr_scheduler
* fix api name of lr scheduler
* fix api name of lr scheduler
6 years ago
Steffy-zxf
9215ad96ca
Update code examples for api2.0
...
Update code examples for api2.0
6 years ago
Peihan
af57537ec7
remove dy2static test_lac predictor run case ( #27844 )
...
* remove test_lac predictor run case
6 years ago
Chengmo
c5f2802d56
【paddle.fleet】Update fleetrun & ps-heter ( #27472 )
...
* refine fleetrun.ps_launch
* update fleet run for multi device support
* ps_graph support ps-gpu
* fix heter save
* add heter save unittest
* fix unittest & simple code
* update fleetrun
* fix fleetrun
* fix launch barrier
* fix role maker
* add paddlecloud rolemaker unittest
* rename heter_worker_device_guard
6 years ago
Kaipeng Deng
445634fa8b
polish Return doc of DataLoader ( #27808 )
...
* polish Return doc of DataLoader. test=develop
6 years ago
Bai Yifan
6cdf2c9604
mig deformable_conv to deform_conv2d ( #27841 )
...
* mig deformable_conv to deform_conv2d
6 years ago
Huihuang Zheng
e388e60312
Refine cond API English Doc for 2.0RC ( #27708 )
...
As the title
6 years ago
guofei
2e1bca99ca
Refine the gradient calculation errors caused by renaming in while_grad ( #27814 )
...
test=develop
6 years ago
wanghuancoder
8fa4c09889
add load_op_xpu for Baidu Kunlun ( #27817 )
...
* add load_op_xpu for Baidu Kunlun, test=kunlun
* add is_compiled_with_xpu for unit test, test=kunlun
* add is_compiled_with_xpu for unit test, test=kunlun
6 years ago
MRXLT
84d8e49de8
refine adam/strided_slice && fix doc for rmsprop/unstack ( #27740 )
...
* refine parameters order && doc
* update rmsprop doc
* refine adam/transpose/unstack/stride_slice
* fix bug && doc
* fix doc
* bug fix
* bug fix
* fix doc
* fix doc
* fix doc
* fix doc
* depercate old strided_slice
* update doc
* set default value for name
* update doc
6 years ago
tangwei12
e96fc6abb2
Fix/embedding doc ( #27816 )
...
* fix fluid doc
* fix fluid doc
* fix fluid doc, test=document_fix
* fix fluid doc, test=document_fix
6 years ago
joejiong
2bcb7c0a2f
Mutiply allows non-tensor data input ( #27690 )
...
Mutiply allows non-tensor data input
6 years ago
Jacek Czaja
55e63763ec
[oneDNN] adaptive pool support ( #27747 )
6 years ago
chen zhiyu
6335e6a0a6
add musl option ( #27798 )
6 years ago
GaoWei8
36bb056ed6
Add flattern weight of lstm ( #27192 )
...
* add flattern weight of lstm
6 years ago
zhupengyang
659d04df2c
hsigmoid -> hsigmoid_loss/HSigmoidLoss; refine docs ( #27745 )
6 years ago
LiuChiachi
b84d4ae31c
Fix bug of Model.save ( #27815 )
...
* fix model bugs, inputs can be InputSpec instance
* correct error message
6 years ago
hong19860320
f3e2580cf0
Fix the param of swish ( #27824 )
6 years ago
TeslaZhao
070ac9590c
Add double grad in Squeeze and Unsqueeze ( #27810 )
...
* Add double grad in Squeeze and Unsqueeze
* Add double grad in Squeeze and Unsqueeze
6 years ago
Jack Zhou
d4359b0f39
add the kunlun kernel for the paddle 2.0
...
Add xpu kernel for KUNLUN core:
* accuracy op
* sign op
* scale op
* sum op
Add default atol in xpu unittest.
6 years ago
LielinJiang
4676f03cbb
fix summary ( #27820 )
6 years ago
mapingshuo
840d54de9b
add XPU support for shape op and reshape op ( #27804 )
6 years ago
WangXi
0a1862d1d2
fleet combine amp dgc recompute meta optimizer ( #27643 )
6 years ago
cc
8fabb1c32f
Add test attribute in channelwise_quant op, test=develop ( #27742 )
...
* Add test attribute in channelwise_quant op, test=develop
6 years ago
tianshuo78520a
81d3992c47
Fix docker build error ( #27735 )
6 years ago
Chen Weihang
9b49f02441
Polish jit.save/load design & remove paddle.SaveLoadConfig ( #27623 )
...
* replace config by kwargs
* change save path form dir to prefix
* fix failed unittests
* revert unittest name change
* polish en docs
* add more tests for coverage
6 years ago
hong19860320
74d3a55072
Add Swish and ThresholdedReLU for API 2.0 ( #27758 )
6 years ago
wangxinxin08
ad99e638fd
add double grad op for matmul ( #27776 )
...
* add matmul doublegrad op
* fix compile errors
* modify code according to review
* delete float16
6 years ago
Wilber
c425cf1822
[API 2.0]Update 2.0 api from fluid to paddle ( #27802 )
6 years ago
Yiqun Liu
bf187c7577
Polish the documentation and examples of paddle.static.nn.fc. ( #27768 )
...
* Reimplement paddle.static.nn.fc, mainly change the parameters and English documentation.
* Polish the documentation format.
6 years ago
zhupengyang
0025e0d87b
refine APIs: brelu, hardsigmoid, hardswish, maxout ( #27658 )
6 years ago
zhupengyang
5098891fdf
add softmax xpu kernel ( #27700 )
6 years ago
Leo Chen
65c06141b6
disable_fuse_all_reduce ( #27746 )
...
* disable_fuse_all_reduce
* fix test
* fix ut
6 years ago
Double_V
f6ad2375be
fix pool3d bug, test=develop ( #27718 )
...
* fix pool3d bug, test=develop
* fix unitest, test=develop
* fix test and fix pool2d bug, test=develop
6 years ago
石晓伟
0d27591642
save operator version infomation to program desc, test=develop ( #27668 )
6 years ago
zhulei
00d401ec1a
Add api of constant in paddle.nn.initializer ( #27786 )
...
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
* Add api of constant in paddle.nn.initializer
6 years ago
Li Fuchen
c4b1faa469
modified sample code of add_position_encoding to use paddle.randn, test=document_fix ( #27679 )
6 years ago
LielinJiang
d3b98f0d84
Fix dynamic parallel train mode for hapi ( #27787 )
...
* fix dynamic parallel for hapi
* fix code style
6 years ago
LutaoChu
b53970ee36
Fix cross, cumsum op docs test=document_fix
...
Fix cross, cumsum op docs
6 years ago
Feiyu Chan
c52b6bbfa9
add alias for RNN APIs from paddle.nn.layer.rnn explicitly ( #27784 )
6 years ago
Yiqun Liu
836ee3b0c8
Polish the english documentation and example of paddle.nn.Linear and paddle.nn.functional.linear ( #27759 )
6 years ago
liu zhengxi
061240b34a
remove beam_search and beam_search_decode api in paddle.nn ( #27660 )
6 years ago
zhupengyang
395cb561aa
refine logsumexp error message and docs ( #27713 )
6 years ago
Jacek Czaja
606611d351
[oneDNN] GRU BF16 kernel ( #27731 )
6 years ago
gongweibao
baddedfdf1
fix ut test=develop ( #27760 )
6 years ago
zhulei
6da552a22f
Update initializer examples of Bilinear ( #27709 )
6 years ago
FlyingQianMM
7ecbc465c1
reimplement paddle.nn.functional.sigmoid_focal_loss ( #27748 )
...
* reimplement paddle.nn.functional.sigmoid_focal_loss. test=develop
* fix reduction error message. test=develop
* fix exp. test=develop
* reset the shape of logit. test=develop
* delete disable_static in example. test=develop
6 years ago
Qi Li
994438b109
change clip grad api, test=develop ( #27767 )
6 years ago
LielinJiang
d84eb9b33f
keep network mode unchange when use summary api ( #27754 )
...
* keep summary mode unchange
* add no grad decorator
6 years ago
LielinJiang
b9c7c66ea5
add type promotion ( #27756 )
6 years ago
LielinJiang
9089841b6e
Fix bilateral inference shape bug ( #26822 )
...
* fix bilateral bug
6 years ago
wanghuancoder
6076d0a5df
modify doc for bilinear_tensor_product, test=develop ( #27613 )
6 years ago
Chen Weihang
bcc34724c2
polish api code & example ( #27696 )
6 years ago
wanghuancoder
c826bcb2ec
modify doc for ParameterList and LayerList ( #27609 )
...
* modify doc for ParameterList and LayerList, test=develop
* add empty line after code-block, test=develop
6 years ago
wanghuancoder
aaa3ee65e4
modify doc for unique_name.guard unique_name.generate unique_name.switch, test=develop ( #27605 )
6 years ago
wanghuancoder
7ca66f1e06
modify Sequential doc, test=develop ( #27608 )
6 years ago
wanghuancoder
7698e19928
modify doc for paddle.nn.Layer ( #27624 )
...
* modify doc for Layer, test=develop
* modify doc for Layer2, test=develop
* set dtype default value to float32, test=develop
* add example code for paddle.nn.Layer, test=develop
* set create_parameter and create_variable dtype default value to None, test=develop
* modify some example code, tet=develop
* refine, test=develop
* del no ues code, test=develop
* modify doc, example code, args, test=develop
* modify doc, test=develop
6 years ago
huangjun12
7793fd2877
add huber_loss to fix ci, test=develop ( #27766 )
6 years ago
huangjun12
de60c54938
fix doc and example code of huber_loss and npair_loss ( #27678 )
...
* fix huber_loss ans npair_loss doc and example code, test=document_fix
* remove disable_static in example code, test=document_fix
* remove huber_loss and refine npair_loss example code, test=document_fix
* remove huber_loss in functional/__init__.py, test=document_fix
6 years ago
Huihuang Zheng
9f3fb95b34
[Dy2stat] Add Simnet Test for V2 APIs ( #27460 )
...
Add Simnet Test for V2 APIs.
We used tool from https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-beta/guides/migration_cn.html#paddle1-xpaddle2-0beta to do v1.x to v2 transformation.
This PR pulled changes from #27430 , please DO NOT merge before #27430 is merged
6 years ago
joanna.wozna.intel
a90711c7a2
Add avx512 core instructions check 2 ( #27750 )
...
* Add test skip from cmake
* Remove print
6 years ago
Wojciech Uss
966447e338
Added support for quantization of fusion_gru ( #27518 )
6 years ago
joanna.wozna.intel
0cd4907eba
Add avx512 core instructions check ( #27732 )
...
* Add avx instructions check
* Small fix
* Change function name
* Change uint to unsigned int
6 years ago
ysh329
9cd86487cc
Fix api for ErrorClipByValue, code demo of clip_by_norm. test=develop ( #27654 )
...
* Fix ErrorClipByValue api and demo code of clip_by_value. test=develop
Co-authored-by: tianshuo78520a <707759223@qq.com>
6 years ago
123malin
54c368db1e
[API 2.0: doc] fix doc of nonzero ( #27685 )
...
* test=develop, update example
6 years ago
Leo Chen
69a3339aaa
Move dygraph amp api to paddle-2.0 ( #27681 )
...
* move dygraph amp api to paddle
* refine code and add unit test
6 years ago
LielinJiang
a0f1dba37f
Add visualdl callback function ( #27565 )
...
* add visualdl callback
6 years ago
pangyoki
9b3ef5979d
add categorical class ( #27695 )
...
* add multinomial cpu kernel
* fix C++ notype error
* fix windows ci array len error
* let array len be const
* change array to vector
* add cuda kernrl with num_distribution is 1, and not support replacement=False
* add multinomial python api
* support num_distribution different multinomial distributions
* add categorical class
* fix test_distribution enable_static error
* add unittest for different setting of Categorical
* optimize format
* little change
* little change
* add raise error if shape not match, optimize format
* fix windows CI dtype error in concat
* little changes
* little changes2
* change values type to int64
* change values type to int64
* change values type to int64
6 years ago
xiemoyuan
4d3eefbb95
Modify the docs for Transformer's APIs. test=document_fix ( #27729 )
6 years ago
Huihuang Zheng
ab85a8910d
[Dy2stat] Add Resnet Test for V2 APIs ( #27459 )
...
* Add test_resnet_v2.py test=develop
6 years ago
Wilber
488152a6d0
[API 2.0]Update 2.0 api from fluid to paddle. ( #27598 )
6 years ago
LielinJiang
7f9b198d59
Romove grid_sampler and refine example code ( #27649 )
...
* refine grid_sample and temporal_shift
6 years ago
danleifeng
a01bc6b31d
【paddle.fleet】fleet support non_distributed training in dygraph mode ( #27714 )
...
* fleet support non_distributed training in dygraph mode; test=develop
6 years ago
yaoxuefeng
e496640bf4
fix bmm enforce equal batch ( #27694 )
6 years ago
lilong12
742cbe6660
[bug fix] avoiding multiple initialization of gloo for fleet in dygraph mode ( #27706 )
...
* add double grad for expand, test=develop
6 years ago
hutuxian
a12071ab8a
add type check for initializer and regularizer in ParamAttr ( #27720 )
6 years ago
Qi Li
f373269df0
update histogram op for performance optimization, test=develop ( #24912 )
6 years ago
tianshuo78520a
4d5ddbf106
add xpu test ( #27622 )
...
* add xpu test
* notest;add kunlun_test
* notest;add kunlun_test
* notest;test=kunlun
* notest;test=kunlun
* notest;test=kunlun
* notest;test=kunlun
* test=kunlun
6 years ago
LiuChiachi
d15cbe70b2
Remove Input requirement in dygraph for Model ( #27557 )
...
* remove input requirment in dygraph Model
* correct unittest
* upadte save inference model in dygraph without input
* fix unittets for test_model.py
* solve conflicts
* solve conflicts
* delete http.log
* fix test_model.py bug, correct initialization of MyModel
* fix unittests bugs
* set paddle manual seed for unittest
* fix Model bugs, because inputs can be list or dict when it is provided.
* add random seed for test_export_deploy_model
* delete redundant codes, because calls
* Code optimization, error information optimization
6 years ago
liym27
3a8bef1d41
[Dynamic-to-Static] Refine 2.0rc assign: paddle.nn.functional.assign ( #27650 )
6 years ago
lijianshe02
295e87e428
fix dice_loss, log_loss doc and example code test=document_fix ( #27702 )
...
* update 2.0 API for dice_loss and log_loss test=document_fix
6 years ago
Peihan
8d68dd4785
Fix test_se_resnet unittest ( #27715 )
...
* fix test_se_resnet unittest
* fix test_se_resnet unittest
* add comments for decresing test_se_resnet precision
6 years ago
Qi Li
4d79304c09
update samples of print and clip api, test=develop ( #27670 )
6 years ago
ShenLiang
e262cb6293
fix the scatternd/scatterndadd ( #27634 )
...
* fix the scatternd/scatterndadd
* fix the doc of scatter
* replace rank with ndim
6 years ago
Huihuang Zheng
28f83f0519
[Dy2stat] Add Ptb Lm Test for V2 APIs ( #27461 )
...
As the title
6 years ago