Wilber
dbe2497768
fix mkldnn concat bug. test=develop ( #24722 )
5 years ago
Leo Chen
de8b4f42cf
rename inplace/no_need_buffer inferer, part 1, test=develop ( #24711 )
5 years ago
Chen Weihang
7fa9f16c17
Polish reader folder error message ( #24698 )
...
* polish reader error message, test=develop
* fix detail error, test=develop
* reset activation dcudnn change, test=develop
5 years ago
Liufang Sang
55b664a131
remove pow to speed up in dequantize_log op ( #24607 )
...
* remove pow in speed up in dequantize_log test=develop
* remove pow in speed up in dequantize_log test=develop
* fix unittest test=develop
5 years ago
Jacek Czaja
ca68b13f85
[oneDNN] Fix to elementwise_add grad ( #24639 )
5 years ago
Adam
586b587519
Add isCached() check in Softmax handler ( #24637 )
...
* Update isCached() to be thread freindly
test=develop
* Add isCached() check inside Softmax handler
test=develop
* Fix PaddleEnforce() message
test=develop
5 years ago
jinyuKING
6ca44cbaa3
API/OP(sequence_first_step, sequence_last_step, sequence_mask, beam_search, beam_search_decode) error message enhancement ( #24590 )
5 years ago
ShenLiang
837dd47a96
Add lod in gather/scatter ( #24613 )
...
* add lod msg in gather and scatter_op, test=develop
5 years ago
Jacek Czaja
3292f0ef58
[onednn] elementwise add broadcasting support ( #24594 )
5 years ago
Guo Sheng
fe8d006f7e
API/OP(sequence_expand_as) error message enhancement ( #23712 )
...
* API/OP(sequence_expand_as) error message enhancement.
test=develop
Co-authored-by: FrostML <380185688@qq.com>
5 years ago
yaoxuefeng
16817c70fc
OP(datanorm lookupsparsetable lookuptable) error message enhancement ( #24506 )
...
* OP(datanorm lookupsparsetable lookuptable) error message enhancement
* fix test=develop
* fix test=develop
* fix test=develop
* fix test=develop
* fix test=develop
* fix test=develop
* fix test=develop
5 years ago
liu zhengxi
fff9faae72
API(dynamic_gru, chunk_eval, BeamSearchDecoder) error message enhancement ( #24513 )
...
* dynamic_gru err_msg enhancement, test=develop
* chunk_eval err_msg enhancement and fix crf_decoding output type, test=develop
* BeamSearchDecoder err msg enhancement, test=develop
* fix doc for chunk_eval, test=develop
* refine lod err msg for chunk_eval, test=develop
5 years ago
wangchaochaohu
c4dd596de6
cusum op optimization for GPU kernel ( #24321 )
5 years ago
Leo Chen
d43e4047ff
refine err msg, test=develop ( #24550 )
5 years ago
liym27
615a8bfcf4
Support int32 int64 and fix bug ( #24407 )
...
* Compatible int32 and int64 for attr in op slice/strided_slice. test=develop
* Polish code in nn.py test=develop
* Fix bug: set the same dtype for the inputs of elementwise_add. test=develop
* Convert int32 to int64 in slice op to avoid data overflow. test=develop
* Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
5 years ago
lilong12
a13a4dbc7b
Improving error reporting messages for ops ( #24438 )
...
* improve error reporting message
5 years ago
123malin
45ef6ff338
test=develop, error info improvement ( #24496 )
5 years ago
Adam
dcf17f4813
Add isCached() mechanism to elementwise_add DNNL ( #24563 )
...
* Add isCached() mechanism to elementwise_add
test=develop
* Hide code inside handler
test=develop
5 years ago
pawelpiotrowicz
db2b6b6568
Hide globals & redesign restore PR ( #24279 )
...
test=develop
5 years ago
Jiawei Wang
4a105f803e
SamplingID Op fix error print ( #24521 )
...
* fix error print for sampling_id_op
* fix spell err
* fix spell err test=develop
5 years ago
ShenLiang
53e3c53423
fix error message, test=develop ( #24425 )
5 years ago
ruri
ea2c498712
Fix err message ( #24507 )
...
* fix error message, test=develop
5 years ago
Wilber
4ec7287602
fix compile when with_nccl=off. test=develop ( #24444 )
5 years ago
chajchaj
e5a624935f
Enhance error message of cross_entropy_op, sigmoid_cross_entropy_with_logits_op ( #24485 )
...
* error message of cross_entropy_op, test=develop
* fix bug : can't use platform::errors::InvalidArgument in HOSTDEVICE, test=develop
* fix bug: recovery the check_variable_and_dtype for rank_loss and bpr_loss, test=develop
5 years ago
FDInSky
526a211774
update conv error info ( #24430 )
...
* test=develop update conv error info
* test=develop update iou_similarity error info
* test=develop update some error info based review
5 years ago
Yibing Liu
a9520db24e
Format error message for ops ( #24482 )
...
* Format error message for ops, test=develop
* Fix check in sequence_expand, test=develop
5 years ago
Yang Zhang
2644cb819d
Remove extraneous comma in error messages ( #24478 )
...
which messes up the formatting
test=develop
5 years ago
suytingwan
05c9642dc3
Update paddle enforce message ( #24498 )
...
* test=develop error message update
5 years ago
lijianshe02
9f83f0fe69
API/OP (group_norm, layer_norm, random_crop, unpool) error message enhancement ( #24413 )
...
* API/OP (group_norm, layer_norm, unpool) error message enhancement test=develop
5 years ago
hutuxian
7f85dfeb18
Upgrade Error Message for AucOP & MultiplexOP ( #24458 )
5 years ago
WangXi
027f9953bc
Optimize error message, include dgc, nccl, size op ( #24456 )
5 years ago
gongweibao
f1c57d648c
Enhance error message of prefetch_op, proximal_adagrad_op, proximal_gd_op ( #24436 )
5 years ago
danleifeng
d98e1182a1
fix check and error message for flatten hash is_empty op ( #24434 )
...
fix check info for flatten hash is_empty op; test=develop
5 years ago
liu zhengxi
417b576c34
API(dynamic_lstm, dynamic_lstmp) error message enhancement ( #24450 )
...
* update err msg for dynamic_lstm and dynamic_lstmp, test=develop
5 years ago
wangchaochaohu
53bdee64e6
add tensor support for gaussian_random_op test=develop ( #24389 )
5 years ago
qingqing01
da4a1db7bb
Refine error message in some OPs ( #24443 )
...
test=develop
5 years ago
Xing Wu
479c47f316
fix error info for transpose sequence_conv_pool max_sequence_len sequ… ( #24437 )
...
* fix error info for transpose sequence_conv_pool max_sequence_len sequence_erase, test=develop
* fix error info for transpose sequence_conv_pool max_sequence_len sequence_erase, test=develop
* update modify, test=develop
* update modify, test=develop
* fixed some modifications, test=develop
5 years ago
WuHaobo
1c00732dd0
Polish PADDLE_ENFORCE of unfold_op ( #24423 )
5 years ago
MRXLT
71ff32b65d
update error message for unstack op and lamb op; test=develop ( #24439 )
5 years ago
ForFishes
05c3bc3bf6
fix error message, test=develop ( #24447 )
...
fix scatter and scatter_nd op error message
5 years ago
ceci3
633aaea07e
Update err message ( #24422 )
...
* update err info, test=develop
* update, test=develop
5 years ago
Chen Weihang
05d20e5793
API/OP (Some SL API) error message enhancement ( #24441 )
...
* polish some sl api error message, test=develop
* polish python input check of stride slice, test=develop
* fix unittest bugs, test=develop
5 years ago
tangwei12
a97d5a6153
fix op error, test=develop ( #24451 )
5 years ago
Yang Zhang
7c17ed57e0
Refine `squared_l2_distance_grad` error message ( #24409 )
...
test=develop
5 years ago
huangjun12
046b7ebc03
refine Error message of modified_huber_loss ( #24417 )
...
* refine Error message of modified_huber_loss, test=develop
* refine Error message style, test=develop
5 years ago
zhang wenhui
621a4085b9
enhance cvm bpr_loss adam adagrad adamax ftrl error message, test=develop ( #24452 )
5 years ago
Li Fuchen
e58619295e
OP(rank_loss, similarity_focus, squeeze) error message enhancement ( #24448 )
...
* enhance rank_loss error message, test=develop
* enhance similarity_focus error message, test=develop
* enhance squeeze error message, test=develop
5 years ago
wangguanzhong
abb49df26f
Enhance yolo_box & yolov3_loss ( #24370 )
...
* add scale_x_y for yolo_box, test=develop
* refine eps in iou_similarity, test=develop
5 years ago
mapingshuo
d1bb76a2f7
fix error log, test=develop ( #24419 )
...
* fix error log: resahpe, range, reverse.
5 years ago
Bai Yifan
f1c4c14c7a
Fix fsp_op error message,test=develop ( #24405 )
...
* fix fsp_op error message,test=develop
5 years ago
Kaipeng Deng
6435d1b4b8
fix PADDLE_THROW in spectral_norm_op.h. test=develop ( #24414 )
5 years ago
wangguanzhong
cd327e66df
optimize error message, test=develop ( #24420 )
5 years ago
FDInSky
7fedf26b87
add linear interpolate operator ( #23357 )
...
* test=develop add linear interpolate operator
5 years ago
Liufang Sang
e24575c8ba
fix error message in accuracy_op.h test=develop ( #24416 )
5 years ago
wawltor
2de5075a6d
Fix the elementwise ops in broadcast in the process of backward ( #24319 )
...
* Remove the error in the elementwise op, use the backup mode to calculate
5 years ago
Wojciech Uss
fddf442470
add batch size to the mkldnn matmul cache key ( #24408 )
...
test=develop
5 years ago
Chen Weihang
aa0f254fbe
Add macro BOOST_GET to enrich the error information of boost :: get ( #24175 )
...
* add new macro BOOST_GET_SAFELY & unittests, test=develop
* add different macro type, test=develop
* fix get macro type in executor, test=develop
* four macro part change backup
* using one macro for all case, test=develop
* revert attribute change, test=develop
* change to three func to solve gcc4.8 bug, test=develop
* polish some details, test=develop
5 years ago
Pei Yang
9c073bbd53
skip pyramid_hash on jetson platforms to avoid compile error. test=develop ( #24371 )
5 years ago
guofei
70bc488979
Fix the error of recurrnet op in multithreading in eval process ( #24357 )
...
CreateStepScopes in recurrent op also clears scopes, which can cause segmentation fault un multi-threading. We add a lock in this PR but it may slow the computation process. We will fix in another way in next PR.
5 years ago
Aurelius84
1ed8baf9c8
[dy2static] Support for static graph training with @declarative decorator ( #24259 )
...
* support to train in static
* support to independent decorator
* remove in_dygraph_mode condition in ProgramTranslator
* fix import param_guard and add train/eval test=develop
* Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
5 years ago
Huihuang Zheng
8a1a2af82e
Add Assert Op ( #24280 )
...
1. To make ProgramTranslator to support `assert` grammar, this PR adds `assert` python API and C++ code.
2. Fix a bug: graph_pattern_detector.h #include <gtest/gtest_prod.h> but didn't declared dependency at CMakeLists, which can cause single build failure.
3. Refactoring `Formatter` in print_op to make it reusable and reuse the formatter to print in assert op.
5 years ago
Guo Sheng
4a5de14426
Remove cusolver potrfBatched support on Windows. ( #24338 )
...
test=develop
test=win_gpu
5 years ago
Feiyu Chan
420707c26e
API/OP (margin_rank_loss, nce, row_conv, positive_negative_pair) erro… ( #24246 )
...
* API/OP (margin_rank_loss, nce, row_conv, glu, positive_negative_pair) error message enhancement, test=develop
* add unittest for glu, test=develop
5 years ago
liym27
ac9a7eeea4
[Dy2Stat]Support list pop ( #24250 )
...
* Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py
* Add comments in ConditionalBlock.
* Support list pop last item.
* Support pop the i-th item.
* Support an empty tensor array as Input in assign op and set the kernel type is float.
5 years ago
Zhang Ting
b71abeee1b
use 32 bit index to improve activation ops ( #24206 )
...
* improve activation ops performance, test=develop
* use 32bit only GPU computation, test=develop
5 years ago
liym27
803559499d
[Dy2Stat]Support LoDTensorArray for slice op ( #23091 )
...
* Support LoDTensorArray for slice op.
* Support read elements of list in dygraph_to_static
* Fix infershape add test for infershape.
* Support Tensor for Attr(starts) and Attr(ends).
* Use new interfaces in VarTypeInference.
5 years ago
Feiyu Chan
78cd3dd507
fix kron_op: when only one input needs gradient, test=develop ( #24269 )
...
fix kron_op: when only one input needs gradient
5 years ago
Li Fuchen
5dc069d050
OP(warpctc, add_position_encoding, scaled_dot_product_attention) error message enhancement ( #24261 )
...
* enhance add_position_encoding error message, test=develop
* enhance warpctc & scaled_dot_product_attention error message, test=develop
* modified error message and ctest of scaled_dot_product_attention, test=develop
5 years ago
liym27
19511dfa25
Fix bug in assign op: support to infer shape for LOD_TENSOR_ARRAY. ( #24268 )
5 years ago
Sylwester Fraczek
e1a7a88057
added reshape transpose matmul fuse pass ( #23754 )
5 years ago
Tao Luo
d7850dcdc0
add noavx_axpy and noavx_axpy_noadd ( #24207 )
...
* remove double registery for pyramid_hash op
* add noavx_axpy and noavx_axpy_noadd
test=develop
5 years ago
Chen Weihang
9b851ba216
[dy2static] Add print transformer and unify print format ( #24068 )
...
* add print transformer & unify print format, test=develop
* remove using of dygraph_to_static_func, test=develop
* remove python stdout capture, test=develop
* fix compatibility problems for PY2, test=develop
* fix detail error, test=develop
* fix type analysis bug, test=develop
* fix print tuple compatible error in PY2, test=develop
* replace get_func to declarative, test=develop
* fix detail bug, test=develop
* fix some detail problems, test=develop
* change visit_call in print transformer, test=develop
5 years ago
Li Fuchen
077e5a0fe5
Add trace op ( #23873 )
...
* add trace op, test=develop
* Optimized the implementation of trace op, test=develop
* fix a bug of include in trace_op.h, test=develop
* move trace API from creation to math, test=develop
* modified en doc. test=develop
* add complex trace api
* add complex sum api, test=develop
* modified en doc of complex sum and trace, test=develop
* modified doc and trace API, test=develop
* modified en doc of trace and sum, test=develop
* modified comment in complex kron API, test=develop
* OP Should Not Have Unused Input, test=develop
* add GetExpectedKernelType, test=develop
5 years ago
Yiqun Liu
ecfddebbef
Add the implementation of inverse ( #23310 )
5 years ago
HappyAngel
8ea325aa53
c++ API ( average_accumulates, tensor_array_to_tensor and average_accumulates) error message enhance. test=develop ( #23631 )
5 years ago
ShenLiang
0fb9b208ab
Add batch_fc op in contrib ( #24017 )
...
* add batch fc op, test=develop
* add batch_fc_op, test=develop
* fix untest, test=develop
* rm check_dygraph, test=develop
* fix comment, test=develop
* fix comment, test=develop
5 years ago
liuwei1031
9a93f6aae0
improve efficiency of runtime InferVarType ( #22778 )
...
* save InferVarType changes, test=develop
* remove code comments, test=develop
* tweak code, test=develop
* fix compilation warning, update merge_ids_op split_ids_op to new interface, test=develop
* modify fused_bn_activation_op, test=develop
* fix error of fused_bn_activation_op, test=develop
* fix PADDLE_ENFORCE and unittest coverage issue, test=develop
* tweak PADDLE_ENFORCE messages, test=develop
* improve unittest coverage, test=develop
* add StaticGraphInferVarType class, test=develop
* rebase develop branch, test=develop
* fix unittest error, test=develop
* remove comments, test=develop
* improve unittest coverage, test=develop
* imporve error message and imporve unittest coverage, test=develop
* upgrade InferVarType API, test=develop
* tweak pyfunc error message, test=develop
* fix compilation conflict - save_combine_op, test=develop
5 years ago
hong
bfb60efb1f
change compare forece_cpu default value; test=develop ( #23888 )
5 years ago
Chengmo
28a558e867
Update index sample ( #24109 )
...
* update index sample
5 years ago
Feiyu Chan
e01262e691
add kron op ( #24105 )
...
* add kron op and its python API, doc and unittests.
* add kron in paddle.complex
5 years ago
lijianshe02
a398464e77
API/OP (affine_channel, group_norm, layer_norm, random_crop, unpool, … ( #24118 )
...
* API/OP (affine_channel, group_norm, layer_norm, random_crop, unpool, log_loss) error message enhancement test=develop
5 years ago
Guo Sheng
a8c0fb4e86
Add cholesky_op ( #23543 )
...
* Add cholesky_op forward part. test=develop
* Complete cholesky_op forward part. test=develop
* Add cholesky_op backward part. test=develop
* Complete cholesky_op backward part. test=develop
* Refine cholesky_op error check and docs. test=develop
* Add grad_check unit test for cholesky_op. test=develop
* Fix sample code in cholesky doc. test=develop
* Refine some error messages of cholesky_op. test=develop
* Refine some error messages of cholesky_op. test=develop
* Remove unused input in cholesky_grad. test=develop
* Remove unused input in cholesky_grad. test=develop
* Fix stream for cusolverDnSetStream. test=develop
* Update PADDLE_ENFORCE_CUDA_SUCCESS from cholesky_op to adapt to latest code.
test=develop
* Add CUSOLVER ERROR in enforce.h
test=develop
* Fix the missing return value in cholesky. test=develop
5 years ago
Jacek Czaja
461e6a01ec
[DNNL] activations Inplace support ( #24123 )
5 years ago
qingqing01
b059fb955d
Add trainable_statistics in attr for batch_norm. ( #24072 )
...
* Add trainable_statistics in attr for batch_norm
* Unifying behavior of dynamic graph and static graph
5 years ago
arlesniak
d31a174f51
added fusing matmul-transpose-reshape pass ( #23866 )
5 years ago
石晓伟
46f3139c7f
supports loading model from memory, test=develop ( #24098 )
5 years ago
xiaoting
96ffebef55
fix bicubic, change int to floor ( #24063 )
...
* change int to floor, test=develop
* fix unittest, test=develop
5 years ago
Zeng Jinle
ab2e284235
fix compilation failure ( #24091 )
5 years ago
0YuanZhang0
a164b10d05
API/OP error message enhancement ( #23717 )
...
* test=develop
5 years ago
Zhaolong Xing
35148d17f7
[BUG]: Head number can only be > 1 on multihead op ( #23974 )
...
* support the head number == 1
test=develop
* fix slice op error.
test=develop
5 years ago
Jacek Czaja
c6c65c65c7
[DNNL] Added elementwise_add mkl-dnn inplace ( #23477 )
5 years ago
Zhou Wei
76d78c6387
fix conv_fusion_op conflict,test=develop ( #24020 )
5 years ago
wangguanzhong
931cba2e64
add clamp api, test=develop ( #23273 )
...
* add clamp api, test=develop
5 years ago
zhaoyuchen2018
a28a63a943
OP(fusion_gru) error message enhancement. test=develop ( #23591 )
...
* OP(fusion_gru) error message enhancement. test=develop
* refine code, test=develop
* Refine inout log, test=develop
* Refine description, test=develop
5 years ago
Zhou Wei
7817003795
Optimize the error messages of paddle CUDA API ( #23816 )
...
* Optimize the error messages of paddle CUDA API, test=develop
* fix the error messages of paddle CUDA API, test=develop
* Refactoring PADDLE_ENFORCE_CUDA_SUCCESS, and apply to curand/cudnn/cublas/NCCL,test=develop
* remove build_ex_string,test=develop
* merge conflict,test=develop
5 years ago
silingtong123
f6dbf8e3a4
add 'seed' arguemnt of randint API ( #23809 )
...
* test=develop, add seed arguemnt of randint API
5 years ago
Li Fuchen
87d8dc3dc0
add diag_embed op ( #23385 )
...
* add diag_embed op, test=develop
* add TestCase of diag_embed API
* Modified diag embed python API teastcase from dygraph to static graph, test=develop
* delete useless log and trigger ci, test=develop
* modified float16 of diag_embed, test=develop
* modified en doc of diag_embed
* trigger ci, test=develop
* add fp16 in dtype check of python API, test=develop
* modified __init__ and fix a big, test=develop
* modified a test bug of test_bicubic_interp_op and test_trilinear_interp_op, test=develop
* modified to use one kernel on cpu and cuda, test=develop
5 years ago
liu zhengxi
8e555ba650
OP(pad, pad2d, pad_constant_like) error message enhancement ( #23882 )
...
* enhance pad.* error message, test=develop
5 years ago
ShenLiang
30bd7e1c83
Add rank_attention_op attributes for GPU memory in contrib ( #23915 )
...
* optimize rank_attention, test=develop
* use the paddle memory pool, test=develop
* set max size, test=develop
* limit the max size, test=develop
* fix the head of cu, test=develop
* add AsDispensable, test=develop
5 years ago
Yiqun Liu
8d0b0cb4ae
Op(conv2d_fusion) error message enhancement. ( #23596 )
5 years ago