Yibing Liu
2401325af8
Remove redundant infershape in linear chain crf grad, test=release/1.6 ( #20629 )
4 years ago
liu zhengxi
1822f86e70
fix the PD_ZeroCopyPredictorRun output problem and cmake, test=release/1.6 ( #20624 )
4 years ago
Liufang Sang
1ba0d70b6d
[PaddleSlim] [Cherry pick ] make slim reader to support dataloader ( #20625 )
* cherry-pick refine slim reader to support dataloader test=release/1.6
* cherry-pick add test for reader test=release/1.6
* cherry-pick rm checkpoint path test=release/1.6
* cherry-pick fix details test=release/1.6
* cherry-pick fix details test=release/1.6
4 years ago
Diego Zhang
651f3d93d6
[cherry-pick]Refine seq enum expand mask pad 1.6 ( #20628 )
* disable nccl test
* Update version.
* fix term core only
* fix transpiler error
* fix protobuf memory leak (#11177 )
fix protobuf memory leak
* "change eigen mirror"
* test=document_fix
* test=document_fix
4 years ago
gongweibao
1402ef9e64
Add interface so user can get scaled loss when they use customized loss ( #20613 )
4 years ago
zhupengyang
ed79287a26
add input type and dtype check for cast_op ( #20070 ) ( #20616 )
4 years ago
lijianshe02
408231671c
update mul_op input data type check test=develop ( #20598 )
4 years ago
633WHU
5da8db6116
support convert tensor to cudf depends on dlpack test=release/1.6 ( #20611 )
4 years ago
zhupengyang
db61de4138
[cherry-pick] python input check for concat op ( #20601 )
* add input type and dtype check, enhance shape error message for concat_op (#20101 )
* add input type and dtype check, enhance shape error message for concat_op
test=develop
* enhance shape check
test=develop
* improve coverage
test=develop
* enhance input type chec for concat (#20584 )
test=develop
4 years ago
Pei Yang
fed1263c22
add DisableGlogInfo() to AnalysisConfig, test=develop ( #20581 ) ( #20600 )
4 years ago
JesseyXujin
1af2784ef1
add expand_as op, test=develop ( #20565 ) ( #20599 )
* add expand_as op, test=develop
* add expand_as op,test=develop
* add expand_as op,test=develop
* add nn.py, test=develop
* delele paddle_enforce, test=develop
4 years ago
xujiaqi01
4f66e922e8
fix parse content in CreatePreLoadReaders ( #20258 ) ( #20570 )
Fix parse content in CreatePreLoadReaders. Before this fix, if you use dataset.set_parse_content and dataset.preload, parse content didn't work.
4 years ago
石晓伟
9654c14d48
Optimize error message of mean_op and matmul_op, test=release/1.6 ( #20434 )
* add data type check, test=develop
* polish error messages, test=develop
* polish error messages, test=develop
* Remove support for the CPU architecture matmul, test=develop
* fix syntax bug, test=develop
4 years ago
Zhang Ting
83441c660b
[cherry-pick] fixed group_norm's bug and modified unittest, test=release/1.6 ( #20506 ) ( #20591 )
* modified group_norm's unittest for pass statement, test=develop
* fix group_norm's bug: scale or bias is None which causes segmentation fault, test=develop
4 years ago
Zhang Ting
63e9b70063
[cherry-pick] fix conv_transpose's bug: compatible with Anylayout setting
fix conv_transpose's bug: compatible with Anylayout setting: cherry-pick 20589
4 years ago
chengduo
837378b5f2
Cherry pick Add sub-scope check in RecurrentOp and WhileOp ( #20549 )
* fix recurrent bug
test=develop
* Fix while op bug
test=release/1.6
* add unit test
test=release/1.6
4 years ago
Guo Sheng
5717376379
Fix basic_gru and docs of gru_unit and dynamic_gru ( #19393 ) ( #20596 )
* Fix docs of gru_unit and dynamic_gru.
Fix basic_gru in rnn_impl.py.
Add error messages for param_attr setting in layer_norm api.
Add int64 dtype for expand.
test=develop
* Reopen unit-tests of basic_gru/basic_lstm in rnn_impl.py.
test=develop
* Add unit test for layer_norm api.
test=develop
* Remove the deprecated gru doc fix. test=develop
* Fix basic_gru test coverage. test=develop
* Update API.spec. test=develop
* Update API.spec. test=develop
* Fix test_basic_gru coverage test. test=develop
* Update test_basic_gru in test_layers to use fluid.data
test=develop
* Update test_basic_gru for coverage. test=develop
4 years ago
Zhaolong Xing
de470ff9e4
refine sqrt api check ( #20257 )
test=release/1.6
4 years ago
hong19860320
ee0eeded9d
[cherry-pick] Fix the error message of zeros op ( #20476 ) ( #20593 )
test=release/1.6
* fix the error message of zeros op
test=develop
* Fix unittest of zeros op
test=develop
4 years ago
zhaoyuchen2018
cefbcf7795
[cherry-pick] Add multihead matmul fuse pass( #20167 ) ( #20592 )
* Add Multihead matmul fuse pass (#20167 )
* Add multihead fuse pass for ernie opt
* Refine softmax
test=develop
* Refine cuda kernel
* Refine cuda version
* Refine cmake
test=develop
* refine header file
* refine test case and pass
* refine comments
* Delete useless code.
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
4 years ago
Guo Sheng
36ffc8b1c4
Cherry pick seq2seq api from #19820 ( #20555 )
* Add seq2seq api related code (#19820 )
* fix expand bug (#20340 )
* fix expand bug test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* Fix the assign data check (#20564 )
* Fix the assign data check. test=develop
* Fix test_assign_op.py. test=develop
* Update API.spec
4 years ago
Zeng Jinle
c8de7284de
fix cuda dev_ctx by event, test=release/1.6 ( #20559 )
4 years ago
Yuan Shuai
66c084b760
Refine error message of transpose. fix en doc about unsqueeze, unstack, transpose, multiplex. test=develop, test=document_preview, test=document_fix ( #20594 )
4 years ago
Double_V
b4cd5a113f
Support reshape_op double gradient ( #20304 ), test=release/1.6 ( #20556 )
* support reshape doubel grad, test=develop
* fix reshape double grad, pass converage, test=develop
* fix review, test=develop
4 years ago
liym27
89e641935d
[cherry-pick #20521 ] ( #20590 )
1. fill_constant support Tensor;
2. fix bug in backward.py: using fill_constant instead of fill_constant_batch_size_like
3. fix bug in ExpandGradOp.
test=release/1.6 (#20521 )
4 years ago
Youwei Song
78404faa18
cherry-pick #20512 ( #20585 )
4 years ago
Wilber
b0b0d62820
fix cpu machine run paddle in gpu lib test=release/1.6 ( #20548 )
cpu机器在gpu库上运行paddle出core,原因是由于缺失显卡driver,显卡driver与cuda driver不匹配
加上driver check解决该问题
4 years ago
pkpk
d376f4b82b
test=document_fix ( #20566 )
4 years ago
zhaoyuchen2018
31e4e501cc
[cherry-pick ] add input type and dtype check for squeeze ( #20100 ) ( #20446 )
* Add input check and refine error message
* Refine test case and comments
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
4 years ago
lvmengsi
9a8b3b0413
Fix conv_grad_grad ( #20469 ),test=release/1.6 ( #20545 )
* fix_conv_grad_grad
* fix_bug, test=develop
4 years ago
liym27
6cff0accda
[cherry-pick]fix reshape input(x) error check on float16. test=release/1.6 ( #20529 ) ( #20551 )
4 years ago
wangchaochaohu
4d36c1c75d
fix the reduce bug test=develop ( #20102 ) ( #20557 )
4 years ago
gongweibao
b0f39ad337
cherry pick test=develop test=release/1.6 ( #20391 )
4 years ago
LielinJiang
a6df7f0c2d
fix_norm_model_average_bug test=release/1.6 ( #20546 )
4 years ago
hong19860320
d06d32761d
[cherry-pick] Fix the error message of assign op ( #20508 ) ( #20542 )
test=develop, test=release/1.6
* Fix the error message of assign op
test=develop
* Refine input type checking for assign op
test=develop
* Refine unittest of assign op
test=develop
4 years ago
lanxianghit
91e353bd07
[Cherry-pick #20263 ] to Add API 'fluid.requird_version(min_version, max_version=None)' to check if the installed PaddlePaddle version is satisfied
please see #20263 for details
4 years ago
zhang wenhui
b0ba2b60e2
fix converter , test=develop ( #20550 )
4 years ago
danleifeng
d53387c62f
[cherry-pick 1.6] fix error message for elementwise_add and elementwise_mul ( #20353 )
* fix error message for elementwise_add/mul;test=develop
* edit error message;test=develop
4 years ago
JesseyXujin
f4dd7fa2f0
add input type and dtype check for accuracy_op ( #20399 ) ( #20527 )
* add input type and dtype check for accuracy_op
* add input type and dtype check for accuracy_op
* modify python error on accuracy_op,add test=develop
* modify details on accuracy_op, test=develop
* test float16, test=develop
* add warning, test=develop
4 years ago
liu zhengxi
f0a0c338a3
remove incorrect new in c style, test=release/1.6 ( #20456 )
4 years ago
guofei
46f6ec8c55
Modify English documents ( #20452 ) ( #20576 )
4 years ago
liuwei1031
33318acdbb
Cherry pick ( #20515 ) ( #20536 ) ( #20568 ) ( #20573 )
* improve the doc of data feeder related APIs (#20515 )
* improve data feeder related API
* fix doc of default_main_program, multiprocess_reader (#20536 )
* fix doc of default_main_program, multiprocess_reader
* update API.spec
* fix comment
* update data feeder API sample, change fluid.layers.data to fluid.data (#20568 )
* update data feeder API sample, fluid.layers.data => fluid.data
* update API.spec
* update API.spec
4 years ago
xujiaqi01
c40f198a75
fix en doc and test=document_fix ( #20441 ) ( #20572 )
* fix en doc train_from_dataset and infer_from_datatset
* test=document_fix
4 years ago
silingtong123
0fa0080d42
add unittest of seed failed work ( #20487 ) cherry-pick ( #20485 )
* add unittest of seed failed work
* tadd unittest of seed failed work
* fix the parameter seed failed to work
4 years ago
wawltor
0fad5ef2bf
fix sign op input error check ( #20473 )
fix sign op input error check
test=release/1.6
4 years ago
Yiqun Liu
ac56b46708
Polish the English documentation of sums ( #20495 ) ( #20567 )
test=develop
test=release/1.6
test=document_fix
4 years ago
zhaoyuchen2018
f5657e87c8
[cherry-pick] Refine topk stack squeeze api en doc ( #20367 ) ( #20562 )
Fix api doc example bug and polish square doc (#20491 )
test=develop
test=document_fix
* Refine topk stack squeeze api en doc
test=develop
test=document_fix
* refine api.spec and returns
test=develop
test=document_fix
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
4 years ago
zhaoyuchen2018
09c2b29b70
[cherry-pick] Refine StaticRNN api-doc-en ( #20093 ) ( #20447 )
test=develop
test=document_fix
* Refine StaticRNN api-doc-en
* refine static rnn doc
* refine api doc of fluid.data
* refine api doc from commends
* refine api.spec
* Refine grammer
4 years ago
silingtong123
439bfe8c78
fix doc, updates API documents ( #20554 )
* fix doc, updates API documents of uniform_random and uniform_random_batch_size_like (#20316 )
* fix doc, updates document of sequence_softmax, sequence_scatter, sequence_unpad (#20269 )
4 years ago
hong19860320
f978fbce4e
Refine the en api doc of ones, zeros, reverse, assign, increment, hsigmoid and create_py_reader_by_data ops ( #20343 ) ( #20563 )
test=develop, test=release/1.6, test=document_fix
* refine the en api doc of ones, zeros, reverse, increment, hsigmoid and create_py_reader_by_data ops
test=develop, test=document_preview, test=document_fix
* refine eng doc for hsigmoid and create_py_reader_by_data ops
test=develop, test=document_preview, test=document_fix
* update API.spec
test=document_fix
* Fix the parameter name axis of reverse op in eng doc
test=develop, test=document_fix
* Update API.spec
test=develop, test=document_fix
* Refine eng doc of zeros, ones, reverse and assign op
test=develop, test=document_fix
* Update API.spec for assign, ones, zeros and reverse
test=develop, test=document_fix
* Fix data type of reverse op in eng doc
test=develop, test=document_fix
* Update API.spec for reverse op
test=develop, test=document_fix
4 years ago
mapingshuo
c0b04f0b95
Fleet: special case: strategy is None ( #20427 )
* special case: strategy is None
4 years ago
Yuan Shuai
afe0933fc0
Fix ErrorClipByValue, GradientClipByGlobalNorm, GradientClipByValue ( #20279 ) ( #20528 )
* Fix ErrorClipByValue, GradientClipByGlobalNorm, GradientClipByValue
* add API.spec
4 years ago
Michał Gallus
621b2c3403
[Bug-fix][1.6] Improve QAT accuracy ( #20174 ) ( #20417 )
* Leave fake quantization around mul
* Replace Fake with Real Quantized Mul
* Gather all scales from fake_quantize_ops
* Enable uint8 in conv_relu tensors
* Disable int8 mul and restore fake mul
* Fix buf for running QAT on VGG16 and 19
4 years ago
hong19860320
41d5c029cb
[cherry-pick] refine eng doc for hard_sigmoid op ( #20442 ) ( #20543 )
test=develop, test=release/1.6, test=document_fix
* refine eng doc for hard_sigmoid op
test=develop
test=document_fix
* refine the description of hard_sigmoid
test=develop
test=document_fix
* update API.spec
test=document_fix
* Refine the decription of parameters of HardSigmoid op
test=develop, test=document_fix
* Update API.spec for hard_sigmoid op
test=develop, test=document_fix
4 years ago
石晓伟
27a9d97c18
fix API.spec conflicts, test=develop, test=document_preview, test=document_fix ( #20540 )
4 years ago
hong
4667bba43f
Cherry pick floor div mod ( #20538 )
* fix elementwise floordiv mod; test=develop
* restore nn.py; test=release/1.6
* change floordiv, mod doc; test=release/1.6
4 years ago
zhupengyang
df4b94d1d0
fix APIs: relu, relu6, hash ( #20416 ) ( #20535 )
* fix APIs: relu, relu6, hash
test=develop
test=document_fix
* fix relu6 doc
test=develop
test=document_fix
* fix API.spec
test=develop
test=document_fix
* add description link for hash
test=develop
test=document_fix
4 years ago
Zhang Ting
5cb959e4ec
[cherry-pick] fix Attr(scale)'s bug for image_resize and modified unittest, test=release/1.6 ( #19983 ) ( #20460 )
4 years ago
Aurelius84
9a9f097f0e
cherry-pick enhance embedding error message test=develop ( #20519 )
4 years ago
Liufang Sang
ecb7ecc343
[cherry-pick] fix fuse_all_reduce_ops bug in PaddleSlim ( #20488 )
* [cherry-pick] fix fuse_reduce_op quantization bug test=release/1.6
* [cherry-pick] close fuse_all_reduce_ops in PaddleSlim, test=release/1.6
4 years ago
GaoWei8
6403e8865f
[cherry-pick] add input type and dtype check for elu_op ( #20106 ) fix GradientClipByNorm english doc ( #20224 ) ( #20457 )
* fix GradientClipByNorm english doc (#20224 )
* fix GradientClipByNorm english doc
test=develop
test=document_fix
* add input type and dtype check for elu_op (#20106 )
* elu input check
test=develop
* test=develop
4 years ago
hong
de388a59bf
get shape from var desc to avoid run startup program; test=develop ( #20501 )
4 years ago
qingqing01
f24a911fef
Polish En doc for some APIs. ( #20418 ) ( #20511 )
* Polish En doc for some APIs
* Update some comments and API.spec
4 years ago
zhupengyang
5a81448909
fix APIs: cast, concat, tensor_array_to_tensor, argmin, argmax, argsort ( #20363 ) ( #20513 )
* fix APIs: cast, concat, tensor_array_to_tensor, argmin, argmax, argsort
test=develop
test=document_fix
4 years ago
Aurelius84
120e9ed0bb
[cherry-pick] Fix fp16 in input.dtype check in layers.fc ( #20467 ) test=develop, ( #20500 )
test=release/1.6
* Add fp16 in input.dtype check test=develop
* Add warning of fp16 in CPU test=develop
* add unittest code for fp16 test=develop
* fix float16 list error test=develop
4 years ago
qingqing01
78adff12cb
Enhance InferShape in deformable_conv and prior_box op ( #20372 ) ( #20490 )
4 years ago
Michał Gallus
f91c511575
Update QAT MKL-DNN readme doc ( #20029 ) ( #20520 )
test=release/1.6 test=document_fix
4 years ago
GaoWei8
9f8c6b3ee4
fix API:cos, exp, ceil, elu, brelu English doc ( #20032 ) ( #20517 )
* fix API:cos, exp, ceil, elu, brelu English doc
test=develop
test=document_fix
4 years ago
Guo Sheng
f4a3956b1c
Update some en api docs ( #20496 ) ( #20516 )
* Fix api docs. test=document-fix
* Fix en docs. test=develop
* Fix the doc of dynamic_gru. test=document_fix
* Update API.spec. test=document_fix
* Fix codestyle test=develop, test=document_fix
4 years ago
chengduo
8975d6fec8
update global scope doc ( #20484 )
test=document_fix
4 years ago
ruri
ca0b1056fe
cherry-pick20312
4 years ago
FDInSky
6c49e3ec1a
udpate en doc test=develop, test=document_fix ( #20489 )
4 years ago
lijianshe02
9d36643f7e
fix read_file, is_empty, Print API EN doc ( #20492 ) ( #20507 )
* fix Print, is_empty, read_file test=document_fix
4 years ago
wopeizl
9eb8477682
cherry-pick fix prroi op test=develop test=release/1.6 ( #20394 )
* cherry-pick fix prroi op test=develop test=release/1.6
4 years ago
zhang wenhui
9d01a7c20a
cherry pick , 1.6 fix bug , fix node.py for fc sort ( #20461 )
* cherry pick , 1.6 fix bug node fc sort
* cherry pick , 1.6 fix bug node fc sort
* cherry pick , 1.6 fix bug node fc sort, test=release/1.6
* cherry pick , 1.6 fix bug node fc sort& datanorm double, test=release/1.6
4 years ago
zhouwei25
f6beb0fa04
fix English Doc of API:layers.array_read, array_write, array_length, py_func and sum( #20498 )
4 years ago
Yiqun Liu
97155d2d52
Polish the English documentation DynamicRNN ( #20453 ) ( #20503 )
test=develop
test=release/1.6
test=document_fix
4 years ago
Chengmo
4290923844
[cherry-pick][release-1.6]Fix transpiler en doc ( #20149 ) ( #20371 )
* Fix transpiler en doc (#20149 )
* test=develop,test=document_fix,fix transpiler doc,add API.spec
* test=develop,test=document_fix,fix transpiler doc,add API.spec
4 years ago
FDInSky
1fda6e1c1c
test=develop enhance uniform_random op python api ( #20376 )
4 years ago
Feiyu Chan
3c185cfa2c
cherry pick 91693b9cee
and resolve conflict in API.spec, test=document_fix ( #20477 )
4 years ago
Guanghua Yu
faeb541c43
fix some api doc,test=release/1.6,test=document_fix ( #20493 )
4 years ago
Wilber
fdefa1e508
cherry-pick en doc test=release/1.6 test=document_fix ( #20486 )
modify en api doc
- leaky_relu
- less_than
- log
- logical_and
- logical_or
- logical_xor
- logical_not
4 years ago
DuYao
be52f333ba
update English Documents, test=release/1.6, test=document_fix ( #20482 )
4 years ago
zhongpu
534cf892ff
Cherry pick en doc, test=release/1.6, test=document_fix ( #20481 )
4 years ago
chengduo
f86c2bc6e1
Add place deps ( #20386 )
test=release/1.6
4 years ago
Leo Chen
b9d12bde66
[cherry-pick] Polish en APIs of unique_name, test=release/1.6, test=document_fix ( #20113 ) ( #20455 )
4 years ago
Leo Chen
732650e4f6
[cherry-pick] Update en APIs of LoDTensor ( #20115 ), test=release/1.6, test=document_fix ( #20454 )
4 years ago
Leo Chen
dec52f6bea
[cherry-pick] Polish en doc of LoDTensorArray, test=document_fix, test=release/1.6 ( #19972 ) ( #20426 )
4 years ago
tangwei12
c339e2dc9d
doc merge, test=document_fix ( #20464 )
4 years ago
wangchaochaohu
2ed8d556a1
fix some en doc ( #20281 ) ( #20474 )
* fix some en doc test=develop test=document_fix
* fix new fluid.data API.spec test=develop test=document_fix
* fix typo test=develop, test=document_fix
* fix typo test=develop test=document_fix
* fix typo test=develop test=document_fix
* fix test=develop test=document_fix
* fix according review test=develop test=document_fix
* fix review test=develop test=document_fix
* fix according review advice test=develop test=document_fix
* fix the doc test=develop test=document_fix
* fix API.spec test=develop test=document_fix
4 years ago
wopeizl
44952ca63b
cherry-pick enhance API create_parameter test=develop test=release/1.6 ( #20291 )
4 years ago
wopeizl
8ea490f1fb
cherry-pick optimize the api test=develop test=release/1.6 ( #20350 )
4 years ago
juncaipeng
ed0c721b6a
Modify doc for shuffle, firstn, save_vars, load_vars, L1DecayRegularizer, L2DecayRegularizer ( #20287 ) ( #20470 )
* modify shuffle, firstn, regularizer, load_vars, save_vars, test=develop, test=document_fix
4 years ago
Jiabin Yang
3b0692032d
Cherry pick en doc ( #20471 )
* test=document_fix, test=release/1.6, refine en doc (#20317 )
* test=develop, fix docker with paddle nccl problem
* test=develop, refine en_doc for Variable and Program
* test=document_fix, fix English doc for Variable and Program
* test=document_fix, refine astype code block style
* test=document_fix, add example code for Variable properties
* test=release/1.6, test=document_fix, Refine en doc (#20409 )
* test=develop, fix docker with paddle nccl problem
* test=develop, refine en_doc for Variable and Program
* test=document_fix, fix English doc for Variable and Program
* test=document_fix, refine astype code block style
* test=document_fix, add example code for Variable properties
* test=document_fix, fix BackwardStrategy English Doc
* test=document_fix, fix syntax
* test=document_fix, refresh API.spec
* test=document_fix, refine api spec
* test=document_fix, refine api spec
* test=release/1.6, test=document_fix, remove useless files
4 years ago
huzhiqiang
95ed04f6e4
Cherrypick en doc: reorder_lod_tensor_by_rank , map_reader, WeightNormParamAttr, io.compose ( #20463 )
* modify map_reader en doc (#20229 )
* modify WeightNormParamAttr en doc (#20218 )
* modify reorder_lod_tensor_by_rank en doc
* modify compose en doc (#20217 )
4 years ago
liu zhengxi
04c573adae
update the api doc of BuildStrategy and its settings, test=release/1.6, test=document_fix ( #20462 )
update the api doc of BuildStrategy and its settings
4 years ago
Pei Yang
8f2bd34bb2
refine en api doc of [shape, scale, split, selu, soft_relu, scatter], test=develop, test=document_fix ( #20264 ) ( #20458 )
4 years ago
hong
e4aea428c7
New save load interface ( #20148 ) ( #20384 )
* add new save load interface; test=develop
* add new save interface; test=develop
* add save load interface ;
* fix save load error;
* fix dygraph set dict bug;
* add save load unit test; test=develop
* fix test_imperative_optimizer bug; test=develop
* fix unitest optimizer bug; test=develop
* fix code coverage; test=develop
* fix converage; test=develop
* add document for apis; test=develop
* fix unitest error; test=develop
* fix save load unit test error; test=develop
* fix error message; test=develop
* change set_parameter set_optimizer to save_dygraph; test=develop
* add load_graph check; test=develop
* fix api spec; test=develop
4 years ago
wawltor
bffb5aaff7
Fix the api input type and data dtype check, cherry-pick from develop( #20138 ) ( #20429 )
Fix the api input type and data dtype check in the op of sign
test=release/1.6
4 years ago
wangchaochaohu
f8ef714bbf
fix the reduce api en doc ( #20223 ) ( #20450 )
* fix the reduce api en doc test=document_fix test=develop
* fix the fluid.data test=develop test=document_fix
* fix the API.spec test=develop test=document_fix
* fix according the review test=develop test=document_fix
* fix the confilict test=develop test=document_fix
4 years ago
liu zhengxi
dcdb61802d
cherry-pick api en doc, test=release/1.6, test=document_fix ( #20448 )
update the api en_doc of has_inf, has_nan, cumsum, double_buffer and mul
4 years ago
Dong Daxiang
56d971c7fd
RecomputeOptimizer: rm unused ckpt and sort ckpt ( #20108 ) ( #20336 )
* rm unused ckpt and sort ckpt
4 years ago
gongweibao
d4f11bd585
Add bash_test_modules function to capture the timeout or failed context. ( #20355 )
* cherry pick test=develop
* cleanup test=develop test=release/1.6
* cleanup test=develop test=release/1.6
4 years ago
Aurelius84
7ee5b8bce1
enhance shape error message of fc API ( #20172 ) ( #20349 )
* add api check in fc test=develop
* enforce shape error info of sum op test=develop
* fix spelling test=develop
* print x_dims info test=develop
* enhance shape error info test=develop
4 years ago
Yibing Liu
8f480ca9f2
Fix problems in en docs ( #20451 )
test=release/1.6, test=document_fix
4 years ago
Zeng Jinle
dc206128be
refine allocator_flag, test=release/1.6, test=document_fix ( #20401 )
4 years ago
hong
c1db7e9c05
update op compatible list; test=develop ( #20175 ) ( #20189 )
4 years ago
SunGaofeng
de99dee1bc
fix document of 11 APIs, and cherry-pick ( #20278 ) into v1.6 ( #20423 )
test=release/1.6, test=document_fix
4 years ago
Pei Yang
3bbfaa89eb
fix en api docs of while, ifelse, switch, test=develop, test=document_fix ( #20265 ) ( #20440 )
4 years ago
Pei Yang
10a8d73843
fix en api doc of [round, sin, sqrt], test=develop, test=document_fix ( #20296 ) ( #20439 )
4 years ago
Youwei Song
06be9543bc
[cherry-pick] #20383 ( #20436 )
test=release/1.6, test=document_fix
4 years ago
Zeng Jinle
b3fd414d9e
remove some reader apis, test=release/1.6 ( #20303 )
4 years ago
Tao Luo
234b530d52
refine profiler, name_scope document ( #20431 )
* refine profiler document (#20326 )
* refine profiler document
test=develop test=document_fix
* update profiler document
test=develop test=document_fix
* refine profiler, name_scope document
test=develop test=document_fix
4 years ago
Kaipeng Deng
dfde0eaa31
[cherry-pick] refine en doc ( #20360 )
* refine en doc. test=develop. test=document_fix
4 years ago
liym27
ddb4b33785
[cherry-pick]add input type and dtype check for reshape op. ( #20099 ) ( #20351 )
enhance shape error messages for reshape op.
test=release/1.6
4 years ago
Tao Luo
95b35f7740
fix softmax input error check on float16 ( #20273 ) ( #20346 )
test=release/1.6
4 years ago
zhoushiyu
6e4a454ee7
[cherry-pick ] fix en doc cvm and DataFeedDesc ( #20354 )
* cherry-pick fix en doc test=develop test=document_fix
* roll back fsp_matrix hash test=develop test=document_fix
4 years ago
FlyingQianMM
cf8cfb2aab
Fix english doc api, invloves the op of retinanet_target_assign, sigmoid_focal_loss and retinanet_detection_output, cherry-pick, ( #20419 )
test=release/1.6
test=document_fix
4 years ago
liym27
c7882f91bf
[cherry-pick]fix bug of infer shape in pool op. ( #20213 ) test=release/1.6 ( #20267 )
4 years ago
liuwei1031
59e5b4095d
fix conv_op compilation issue on windows ( #20285 )
4 years ago
chengduo
17391cd415
[Cherry pick] Polish executor doc ( #20348 )
* polish executor doc
test=develop
* polish compiler and executor
* polish doc
test=document_fix test=develop
* Update doc
test=document_fix
* fix fluid.data
test=document_fix
* fix doc batch dim
test=document_fix
4 years ago
zhang wenhui
f11393d616
fix fleet_desc delete_after_unseen_day bug in node.py ( #20091 ) ( #20193 )
fix fleet_desc delete_after_unseen_day bug in node.py
4 years ago
Zhen Wang
194c481c6c
improve the docs of load_inference_model&load_params&load_persistables&chain. test=document_fix ( #20408 )
4 years ago
Jiabin Yang
2d3c29aba4
test=document_fix, test=release/1.6, refine en doc ( #20317 ) ( #20404 )
* test=develop, fix docker with paddle nccl problem
* test=develop, refine en_doc for Variable and Program
* test=document_fix, fix English doc for Variable and Program
* test=document_fix, refine astype code block style
* test=document_fix, add example code for Variable properties
4 years ago
liuwei1031
37791fbf1a
fix windows compilation issue when compile with VS2015 ( #20209 )
4 years ago
Youwei Song
ce468817b4
cherry-pick #20199 #20200 #20240 #20243 ( #20410 )
test=release/1.6, test=document_fix
4 years ago
whs
3c30e92b6a
cherry-pick #20262 ( #20407 )
test=release/1.6, test=document_fix
4 years ago
wawltor
ef440fbc92
Fix some english doc api, shenze tools group, cherry-pick( #20300 ) ( #20392 )
* Fix some english doc api, shenze tools group, cherry-pick(#20300 )
test=release/1.6
test=document_fix
* remote the unless change from cherry-pick
test=release/1.6
test=document_fix
4 years ago
Double_V
69ac73301c
[cherry-pick] update en doc for release 1.6 ( #20397 )
* Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into api_fix
* test=release/1.6, test=document_fix
4 years ago
huangjun12
7583339f7a
test=release/1.6, test=document_fix ( #20389 )
4 years ago
Zeng Jinle
8ee2c34d99
replace data layers, test=release/1.6, test=document_fix ( #20369 )
4 years ago
Liufang Sang
954bbc043d
[cherry-pick ] 1.6 en doc ( #20398 )
* fix en api doc test=develop test=document_fix test=document_preview
* update api.spec test=develop test=document_fix test=document_preview
* fix some details test=develop test=document_fix test=document_preview
* update API.spec test=document_fix test=document_preview test=develop
4 years ago
Huihuang Zheng
e09d042784
[Cherry Pick] Cherry Pick fluid.data Related Changes into Release/1.6 ( #20352 )
* Add support for None for fluid.data (#20228 )
* Refine Error Message for New Data API (#20204 )
* Modify English doc of fluid.data (#20248 )
4 years ago
Bai Yifan
941079714c
[cherry-pick] 1.6 for english doc ( #20388 )
* cherry pick for 131b1dc3240e53ea295cc49323bb2a7e7dcc717f, test=develop, test=document_fix
* cherry pick for fb21a743aed5106abdc68eb9fe4696ad7518633e, test=develop, test=document_fix
4 years ago
liym27
71fb3bfd09
[cherry-pick]fix English document of expand/pow/reshape/slice. test=release/1.6, test=document_fix ( #20280 ) ( #20356 )
4 years ago
liym27
0ebb3b5c2d
[cherry-pick]mv two function in conv op for good code style ( #20116 ) test=release/1.6 ( #20268 )
* Delete PadFuntion, include padding.h instead.
* move function(IsSymmetricPadding) from conv_cudnn_op.cu/conv_transpose_cudnn_op.cu to padding.h.
4 years ago
zhang wenhui
29a88ad2a1
fix api doc, test=develop, test=document_fix, test=document_preview ( #20252 ) ( #20308 )
* fix api 1.6 doc bpr, data_norm teacher_student
4 years ago
chengjuntao
28937581d1
Fix fluid.data code example and cherry pick to 1.6, test=release/1.6, test=document_fix ( #20362 )
4 years ago
LielinJiang
8fb0635c99
[cherry-pick]Polish english apis' doc for 1.6 ( #20374 )
* Polish english apis' doc (#20198 )
* refine Normal Uniform documnet
* refine eng doc, test=release/1.6, test=document_fix
4 years ago
xiaoting
17f9bff0f8
Polish english apis' doc ( #20184 ) ( #20364 )
* polish en api,test=develop,test=document_fix
* modified api.spec, test=develop,test=document_fix
* modified ops for arc,test=develop,test=document_fix
* update for 1.6, test=develop,test=document_fix
* update API.spec
* Update API.spec
test=develop,test=document_fix
* Update API.spec
test=develop,test=document_fix
4 years ago
Aurelius84
dc7ec7de2e
cherry-pick fix en doc ( #20214 ) test=develop, test=document_fix ( #20335 )
* refine fc/seq_conv/seq_concat en doc test=develop, test=document_fix
* refine seq_pool/reshape/reverse test=develop, test=document_fix (#20233 )
* fix en_doc api of one-hot and embedding (#20187 )
4 years ago
Yibing Liu
b9badff43e
Add detailed error messages for nce layer ( #20231 ) ( #20341 )
* Add detailed error messages for nce layer
* Fix some problems
* Fix unit test coverage
test=release/1.6
4 years ago
Zhang Ting
f25834a509
[cherry-pick] modified docs of group_norm and crop_tensor ( #20339 )
* [cherry-pick] modified doc of group_norm, test=release/1.6, test=document_fix (#20234 )
* [cherry-pick] modified doc of crop_tensor, test=release/1.6, test=document_fix (#20203 )
4 years ago
liu zhengxi
f72d82ccd0
[Cherry-pick] Add C-API for fluid inference api ( #20259 )
* Add capi for fluid inference api (#20092 )
* add capi for fluid inference api, including AnalysisConfig, AnalysisPredictor, PaddleBuf, PaddleTensor, ZeroCopyTensor
* add dll to inference capi (#20180 )
* add dll to inference capi, test=develop
* add if win32 in cmakelists, test=develop
4 years ago
lvmengsi
5f538bc980
[cherry-pick] Update apiexample ( #20247 ) ( #20321 )
* Update apiexample (#20247 ), test=develop, test=document_fix
* update api example, test=develop, test=document_fix
* update api.spec, test=release/1.6, test=document_fix
4 years ago
Chen Weihang
26d9b9e556
Polish English APIs' doc of several Optimizers ( #20166 ) ( #20333 )
test=release/1.6 test=document_fix
4 years ago
chengduo
9612ee605d
temporally disable test_parallel_executor_fetch_feed in Windows CI ( #20347 )
test=release/1.6
4 years ago
wangguanzhong
2639c4f7ff
cherry-pick update en doc, test=develop, test=document_fix ( #20342 )
4 years ago
JesseyXujin
42ea819e50
fix API doc, solve conflict, test=develop, test=document_fix ( #20196 ) ( #20319 )
* fix APIs,test=develop,test=document_fix
* fix conflict, test=develop, test=document_fix
* fix confict, test=develop, test=document_fix
* fix confict, test=develop, test=document_fix
* fix API.spec, test=develop, test=document_fix
* change fluid.layers.data to fluid.data,test=develop, test=document_fix
* fix bug on example code, test=develop, test=document_fix
* fix API.spec, test=develop, test=document_fix
4 years ago
danleifeng
6ce87bf904
[cherry-pick 1.6] fix code example of elementwise op in en_doc ( #20322 )
4 years ago
ShenLiang
538f028ea3
fix the en_doc, test=develop test=document_fix test=document_preview ( #20327 )
4 years ago
wangchaochaohu
b76a6deecc
Cherry Pick Fix error message ( #20164 )
* fix the error message for reduce_mean and reduce_sum op (#20063 )
* fix the error message for reduce_mean and reduce_sum op test=develop
* fix typo test=develop
* fix according review advice test=develop
* fix the test test=develop
* fix test=develop
* Fill constant error message fix (#20075 )
* fix the constant error message test=develop
* fix typo test=develop
* fix typo test=develop
* fix code style test=develop
* fix comment and bugs test=develop
* fix the bug test=develop
* fix and add unittest test=develop
* fix the typo test=develop
* add support for the fill_constant op test=develop
* add test for ci coverage test=develop
4 years ago
Zeng Jinle
907a853d10
add deprecated msg to py_readers, test=release/1.6 ( #20212 )
4 years ago
lvmengsi
d4199901ea
refine en doc ( #20088 ) ( #20215 )
test=release/1.6, test=document_fix
* update en doc
4 years ago
xiaoting
061cb34f70
replace dataset url,test=develop ( #20179 )
4 years ago
lvmengsi
71853ab1cf
add error log for python api and c++ ( #20061 ) ( #20186 )
* add error log
4 years ago
Zhang Ting
87a0a45dc3
[cherry-pick] conv_transpose supports channel_last input, test=release/1.6 ( #20072 ) ( #20178 )
4 years ago
tangwei12
546a0d3cd6
trainer from dataset fetch targets ( #19760 ) ( #20182 )
add executor.FetchHandler for train/infer from the dataset
4 years ago
Chengmo
bad312c3ef
[cherry-pick][release/1.6]Speed GEO-SGD ( #20177 )
* Speed GEO-SGD (#20158 )
* delete debug vlog & add rpc function & fix word2vec bug & speed GEO-SGD
4 years ago
Huihuang Zheng
2691de1899
[cherry pick] Add lod_level parameter to paddle.fluid.data #20065 ( #20095 )
* Add lod_level parameter to paddle.fluid.data
* Add "optional" in API doc for optional parameters
4 years ago
tangwei12
8589c7190d
Trainer heartbeat for async mode ( #19600 ) ( #20183 )
Heartbeat for distributed async training.
4 years ago
silingtong123
3fdb031284
test=release/1.6, Modify the style of function names ( #20118 )
4 years ago
Jiabin Yang
2c6d07570a
test=release/1.6, Fix/auto prune error on leaf ( #20056 ) ( #20170 )
* test=develop, fix docker with paddle nccl problem
* test=develop, Add Variable api and refine dygraph related API
* test=develop, Add Variable api and refine dygraph related API
* test=develop, refine test for new api and error info
* test=develop, refine error info and test_layers
* test=develop, add API.spec
* test=devleop, fix to_string python2 and python3 compat error and refien doc
* test=devleop, add API spec
* test=devleop, update API spec
* test=devleop, update API spec
* test=develop, invoke ci
* test=develop, fix example code
* test=develop, update API spec
* test=develop, fix auto_prune_error_on_leaf
* test=develop, fix auto prune error on loss stop_gradient
* test=develop, remove useless error check
* test=develop, add more ut for sorted gradient
4 years ago
Yibing Liu
ea065e32fe
Refactor linear chain crf op & crf decoding op ( #19982 ) ( #20171 )
* Update crf_decoding api & example
* Update api spec
* Fix linear chain crf api
* Avoid sharing data pointer with input
* Simplify the logic in linear_chain_crf_decoding
* Add unittest for crf_decoding when label & path both are set
* Update API spec
* Add unittest for layers && correct infer_shape in chunk_eval
test=release/1.6
4 years ago
Li Fuchen
3b49372ff3
Set lod level of sequence_unpad's output to 1 in compile time ( #20068 ) ( #20137 )
* Set lod level of sequence_unpad's output to 1 in compile time
test=release/1.6
4 years ago
zhaoyuchen2018
c5fe228c18
[cherry-pick] Add multihead op for ernie opt ( #19933 ) ( #20151 )
test=release/1.6
* Add multihead op for ernie opt
* Refine softmax
* Refine kernel.
* Refine cuda kernel
* Refine cuda version
* Refine cmake
4 years ago
liym27
2faa38cde9
fix conv2d and conv3d: ( #20042 ) ( #20121 )
1.support asymmetric padding;
2.support padding algorithm:"SAME" and "VALID";
3.support channel_last: data_format NHWC and NDHWC;
4.change doc of python API and c++;
test=release/1.6
4 years ago
Chengmo
2467c13703
Add GEO-SGD distribute training algorithm ( #20018 ) ( #20133 )
* refector geo sgd & communicator
4 years ago
danleifeng
43f11b5ee9
[cherry pick]Improve elementwise operators performance in same dimensions ( #20134 )
4 years ago
xiteng1988
2b84f18e6e
fix next_token of controller test=release/1.6 ( #20128 )
4 years ago
石晓伟
411f7b42be
fix analysis_predictor ci, test=release/1.6 ( #20140 )
4 years ago
Zeng Jinle
59a87247a5
refine optimizer name doc, test=release/1.6, test=document_fix ( #20096 )
4 years ago
Zeng Jinle
511981fb28
add deprecated memory optimize doc, test=release/1.6, test=document_fix ( #20112 )
4 years ago