0YuanZhang0
a164b10d05
API/OP error message enhancement ( #23717 )
...
* test=develop
5 years ago
Zeng Jinle
acef55df04
fix isolated var fetch bug, test=develop ( #24070 )
5 years ago
Zeng Jinle
3ca700a987
code clean, test=develop ( #24060 )
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
hutuxian
9ff558a46f
Optimize DataFeed ( #23957 )
...
* Make batch_float_feasigns & batch_uint64_feasigns as member variable
5 years ago
Leo Chen
5cccc69f1a
update name generator, test=develop ( #24048 )
...
* update name generator, test=develop
* use c++ unique name generator, test=develop
5 years ago
石晓伟
db6d867383
add boost dependency to cuda_stream ( #24032 )
5 years ago
wawltor
5c669ad1c2
Add the support dygraph out attribute for the op of mm in api2.0 ( #23978 )
...
Fix the dygraph mode in matmul, add the support in Linear Op
5 years ago
石晓伟
d2584a7082
New feature: thread local allocator, test=develop ( #23989 )
...
* add the thread_local_allocator, test=develop
* refactor the thread_local_allocator, test=develop
* provides option setting strategy, test=develop
5 years ago
Kaipeng Deng
80cf3c3c4d
Refine DataLoader support multi-processing ( #23107 )
...
* add DataLoader, Dataset, BatchSampler
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
ShenLiang
7f0b2c7407
fix memory leaking problem of dataset, test=develop ( #23955 )
5 years ago
mapingshuo
7d4002e06a
restrict block num of layer_norm_grad cuda block to 128 ( #23878 )
...
restrict block num of layer_norm_grad cuda kernel to 128, test=develop
5 years ago
Zhaolong Xing
133f1fc123
[Eernie TRT]: add slice op and add emb eltwise layernorm fp16 support ( #23723 )
...
* refine ernie trt dynamic shape support
1. add slice op converter
2. add emb eltwise layernorm fp16 support
test=develop
* fix dynamic shape test ut
test=develop
* fix comments.
test=develop
* fix comments
test=develop
5 years ago
guofei
2b896c1f6b
Support LoDTensorArray in fetch ( #23645 )
...
* Support LoDTEnsorArray in fetch op
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
* Support LoDTensorArray in fetch
test=develop
5 years ago
Qinghe JING
ad7ac4c607
create bmm op and move several api from fluid.layers to tensor ( #23457 )
...
* add gradient check to reduce ops
* add skip gradient check to reduce ops test=develop
* modify stack api test=develop
* add bmm op and move serval ops from fluid.layers to tensor test=develop
5 years ago
Yiqun Liu
071a702060
Fix the error misjudgment when there are control nodes in graph. ( #23943 )
5 years ago
GaoWei8
490db7f325
add paddle.tensor interface ( #23801 )
...
* add paddle.tensor
test=develop
* polish gpu where codes
test=develop
* polish test code
test=develop
5 years ago
lidanqing
2291634c5c
Add user local data preprocess support ( #23692 )
...
* add local data preprocess support for imagenet
test=develop
* add local data2bin tests
test=develop
* locally two tests passed
test=develop
* change according to reviews
test=develop
5 years ago
Liufang Sang
771c3b297f
update enhance error message for Initializer, smooth_l1 ( #23912 )
...
* update enhance error message test=develop
* update details test=develop
5 years ago
Zhang Ting
b89dd86fb6
Update eigen ( #23203 )
...
* update eigen, test=develop
* remove patches, test=develop
* add definition of -fabi-version, test=develop
* add patch for TensorBlock.h, test=develop
* test windows, test=develop
* only update eigen for Linux, test=develop
* add code comments, test=develop
5 years ago
GaoWei8
0be4b04d13
Api (lod_append) error message enhancement ( #23541 )
5 years ago
hutuxian
df64a96686
support set_test_mode and set comlog level( #23905 )
5 years ago
石晓伟
2d01cc85c4
DeviceContext Split, test=develop ( #23737 )
...
* supports thread-binding stream, test=develop
* avoid using thread_local variables in dtor, test=develop
* modify the stream priority enum, test=develop
5 years ago
huangjun12
8af85922d0
Error message enhancement of 6 op ( #23759 )
...
* enhance error message test=develop
* fix CI test of 3 op test=develop
* fix bug caused by the diff of long type in py2 and py3, test=develop
5 years ago
Zhang Ting
318dfa0d4f
remove eval in eigen function when dtype is fp16 ( #23845 )
5 years ago
Zhong Hui
361c6ccc01
OP error message enhancement of l2_normalize, matmul, mean, etc
...
* fix error message of l2_normalize, matmul, mean, etc.
* add the test case for those ops
5 years ago
chenhaoze
b7d185d6ca
OP clip, merge_lod_tensor, convert/elementwise error message enhancement ( #23742 )
...
* OP clip, merge_lod_tensor, convert/elementwise error message enhancement. test=develop
5 years ago
gfwm0502
d8ca66dae2
Modify documents of executor and randn and fix other errors ( #23879 )
...
test=develop
5 years ago
gfwm0502
a756360263
OP/API (While/while_loop/DynamicRNN) : Error Message Enhancement ( #23896 )
...
As the title
5 years ago
Zhang Ting
b88662254b
use 32 bit index to improve expand op ( #23899 )
...
* use 32 bit index to improve expand op, test=develop
* remove redundant code, test=develop
5 years ago
lijianshe02
e21b3c273e
add nll_loss op test=develop ( #23758 )
...
* add nll_loss op test=develop
5 years ago
yiicy
f5f76e610d
fusion_seqconv_eltadd_relu error message enhancement. ( #23554 )
5 years ago
Double_V
b4daea13f4
API/OP (center_loss, fluid.one_hot, prroi_pool, roi_pool, ctc_greed_decoder) error message enhancement ( #23794 )
...
* error message enchanced, test=develop
* error message enchanced for APIs, test=develop
* error message enhanced for roi_pool, test=develop
* update added code, test=develop
* update fluid/input.py, test=develop
* update fluid/input.py ,test=develop
* fix code style, test=develop
* fix lower converage, test=develop
* error message enhanced for roi pool, test=develop
5 years ago
zhupengyang
56c54cccbd
Op(prelu/relu/f.relu/f.log_softmax) error message enhancement ( #23792 )
5 years ago
guofei
c2a60bb1fa
Correct the wrong name in the flag comment ( #22977 )
...
Correct the name [`FLAGS_sync_nccl_allreduce`](https://www.paddlepaddle.org.cn/documentation/docs/zh/advanced_guide/flags/others_cn.html#flags-sync-nccl-allreduce ) based on the information from our official website.
5 years ago
gfwm0502
af149f2595
OP(compare/get_places/shrink_rnn_memory) error message enhancement ( #23780 )
...
As the title.
5 years ago
zhaoyuchen2018
f0b08123b2
OP(fused_embedding_fc_lstm) error message enhancement. test=develop ( #23527 )
...
* API(fused_embedding_fc_lstm) error message enhancement. test=develop
C++ API enhancement.
* Refine code, test=develop
* Refine code. test=develop
5 years ago
zhaoyuchen2018
ef72de6fe0
API(Print) error message enhancement. test=develop ( #23521 )
...
Enhance print op c++ error message.
5 years ago
Zhong Hui
1066f59bf7
fix compile problem on windows and some invalid argument check
...
Fix the compile problem in norm op in the windows env, add delete some invalid argument
5 years ago
Zeng Jinle
82f3348ad0
remove useless comment in layer.cc, test=develop, test=document_fix ( #23847 )
5 years ago
Bai Yifan
fc1b140aba
Refine error message, test=develop ( #23823 )
...
* refine error message, test=develop
5 years ago
yiicy
de3e299dbb
fusion_seqexpand_concat_fc error message enhancement, test=develop ( #23558 )
5 years ago
yiicy
a1e7387919
Variable error message enhancement, test=develop ( #23548 )
5 years ago
wangguanzhong
93aa66902d
enhance the error message, test=develop ( #23646 )
...
* enhance the error message of box_coder, test=develop
* enhance error message in box_decoder_and_assign
* enhance error message of collect_fpn_proposals
* enhance errror message of distribute_fpn_proposals
* enhance error message of multiclass_nms, test=develop
5 years ago
xiaoting
7de0a25b5e
Add `nn.interpolate ` ( #23434 )
...
* add nn.interpolate, test=develop
* fix interpolate typo, test=develop
* formate code, test=develop
* fix unitest, test=develop
* add test layers, test=develop
* add test layers, test=develop
* extract common function, test=develop
* reduce the threads for cuda10, test=develop
* update unitest, test=develop
* polish unitest, test=develop
* add dygraph test, test=develop
* format description, test=develop
* add 5D input check, test=develop
* fix doc, test=develop
5 years ago
huzhiqiang
5fe3b63824
[error message enhancement] fused_elemwise_activation_op and fusion_conv_inception_op ( #23686 )
5 years ago
Liufang Sang
9549b78691
OP Normal, Uniform, Xavier Initializer, smooth_l1, mean_iou error message enhancement ( #23751 )
...
* enhance error message test=develop
* enhance error message test=develop
* change to INOUT_CHECK test=develop
5 years ago
yaoxuefeng
5b69242fab
modify datanorm op test=develop ( #23030 )
5 years ago
suytingwan
3e1676fa9a
Add meshgrid op ( #23736 )
...
* test=develop fix api doc error
5 years ago
Yang Zhang
648f1d5b3f
API/OP error message enhancement ( #23684 )
...
* `l1_norm` error message enhancement
test=develop
* `norm` error message enhancement
test=develop
* `squared_l2_norm` error message enhancement
test=develop
* `squared_l2_distance` error message enhancement
test=develop
* `conv_shift_op` error message enhancement
test=develop
* `sample_logits_op` error message enhancement
test=develop
* Fix format
test=develop
* use `PADDLE_ENFORCE_EQ` for '||' conditional
test=develop
* Fix string format
test=develop
* Add test for `sample_logits`
test=develop
* Add error message
test=develop
* Use ordered dict for outputs
test=develop
* Hard code fetch list so that order is deterministic
test=develop
* Fix license header year
test=develop
5 years ago
Yi Liu
14e7041c6d
Fix CUDAHandleHolder destruction problem. ( #23772 )
...
eagerly release cuda resources before cuda enviroment destroying
test=develop
5 years ago
123malin
2e4196f647
add new api for Paddle2.0: nonzero, index_selct, roll, cross ( #23176 )
5 years ago
xiaogang
f11af6a935
enhance attention_lstm and param_attr error message ( #23678 )
...
* enhance attention_lstm and param_attr error message
* fix: fix param_attr type check
5 years ago
Bai Yifan
4231d84077
enhance some op/api error message ( #23768 )
...
* enhance error message, test=develop
5 years ago
kinghuin
dd3ae0236a
optimize compare and logical ops error info, add test case for this ops
...
* optimize compare and logical ops error info
* add out and cond dtype test
5 years ago
Zeng Jinle
c49791362f
Correct reader device index ( #23802 )
...
* correct reader device index, test=develop
* fix async executor scope var initialization, test=develop
5 years ago
Pei Yang
c528f1d4f3
[Paddle-TRT] Add hard_sigmoid and hard_swish support(support MobilenetV3) ( #23672 )
...
* add hard_sigmoid trt op converter
* add hard_swish op converter and plugin. test=develop
* add macro to adapt lower trt version. test=develop
5 years ago
Pei Yang
015acdbfb1
Refine error message of leaky_relu, tensorrt_engine, split, prelu op converter ( #23661 )
5 years ago
danleifeng
222a5137b3
Add new tensor in API2.0: max,min,t,eye,log1p ( #23228 )
...
add new tensor: max,min,t,eye,log1p; test=develop
5 years ago
LutaoChu
289edf3962
elementwise ops error message enhancement,the python error message had add before
...
Those ops add the kernel message enhancement, as follows
paddle.fluid.layers.elementwise_add
paddle.fluid.layers.elementwise_div
paddle.fluid.layers.elementwise_floordiv
paddle.fluid.layers.elementwise_max
paddle.fluid.layers.elementwise_min
paddle.fluid.layers.elementwise_mod
paddle.fluid.layers.elementwise_mul
paddle.fluid.layers.elementwise_pow
paddle.fluid.layers.elementwise_sub
5 years ago
Kaipeng Deng
e7e7cb5f5e
Split inplace_abn & batch_norm infershape ( #23755 )
...
* Fix elementwise compile error, test=develop
* split inplace_abn & batch_norm InferShape. test=develop
* fix type. test=develop
* fix message. test=develop
* fix ENFORCE. test=develop
Co-authored-by: zhaoyuchen <zhaoyuchen01@baidu.com>
5 years ago
joanna.wozna.intel
12ba05ce0c
Add scale-matmul fuse pass ( #23734 )
5 years ago
Chen Weihang
532079a222
API (CompiledProgram) error message enhancement ( #23559 )
...
* api compild program error polish, test=develop
* fix coverage problem, test=develop
* fix details & add unittests, test=develop
* add test for coverage, test=develop
5 years ago
wawltor
f3d7db98f1
Add the support of bool list for assign_value op ( #23774 )
...
* Add the support of bool list for assign value, test=develop
* Fix the assign op test case for bool dtype, test=develop
5 years ago
Zhong Hui
03e737aca7
Add new norm api, support frobenius norm and p-order vector norm. ( #23716 )
...
* Add new norm api, support frobenius norm and p-order vector norm. test==develop
* combine test files, add more attr checks. test=develop
5 years ago
mapingshuo
6b4a51bae3
add cuda kernel for seed, test=develop ( #23749 )
...
* add cuda kernel for seed, test=develop
5 years ago
xiaoting
a9fe09f85a
polish error message ( #23696 )
...
* polish error message, test=develop
5 years ago
GaoWei8
ff0ab75662
polish tensor.where codes and english document ( #23687 )
5 years ago
Yuan Shuai
529795655c
API/OP (clip_by_norm/clip) error message enhancement ( #23603 )
...
* error message enhance for clip_by_norm. test=develop
* fix clip_by_norm. test=develop
* fix clip error message. test=develop
5 years ago
zhongpu
b4b6763ab2
fix bug for exhaustive_search in conv_fusion_op, test=develop ( #23727 )
5 years ago
LielinJiang
dfe2f94993
Enhance some op error message ( #23711 )
...
* enhance error msg. test=develop
* print invalid argment
* update comment, test=develop
* fix enforce not meet specification
* fix enforce not meet specification, test=develop
5 years ago
Kaipeng Deng
63232e4941
Update OP_INOUT_CHECK ( #23757 )
...
* update NotFound -> OP_INOUT_CHECK: grid_sampler, kldiv_loss, spectral_norm, temporal_shift. test=develop
5 years ago
Yiqun Liu
9e85d02373
Avoid crash when calling ctx->HasInputs and add the check of shape in fill_copnstant op. ( #23698 )
5 years ago
Steffy-zxf
ac4da77aa6
update error info of ops,add some test cases for raise message ( #23750 )
...
1. update error info of the ops (abs, acos, asin, atan, ceil, cos, exp, floor, log, pow, reciprocal, round, rsqrt, sin, sqrt, square, tanh)
2. add the unittests of the above refered ops (test error info)
5 years ago
mamingjie-China
17588bbeed
API(has_inf, has_nan, cumsum, fsp_matrix, increment) error message enhancement, test=develop ( #23769 )
...
* API(argsort, argmax, argmin, cast, diag) add error message,and the same time add the test cases for those apis.
5 years ago
Zhaolong Xing
3acb047a20
[Paddle-TRT]: add eltwise,pool2d, prelu, scale, concat, gelu dynamic shape support ( #23396 )
...
* add elementwise pool2d, prelu, shuffle channel
test=develop
* add scale and refine concat eltwise conveter
test=develop
* refine elementwise converter
test=develop
* refine ut test and enforce error.
test=develop
* modify const cast
test=develop
5 years ago
Huihuang Zheng
1d3b0134ca
Error Message Enhancement ( #23483 )
...
This PR enhances error messages of several API/OPs:
ParallelExecutor (python && C++)
Executor (python && C++)
StaticRNN (python)
IfElse (python)
cond (python)
split_lod_tensor (python && C++)
5 years ago
wawltor
f26f7c3603
Add some error meesage and dtyp, dtyep check for some ops ( #23762 )
...
Those ops include,scale, sum, sums,unique_with_counts,unique,
wherre, add error message and test case
5 years ago
wawltor
b822f74cd4
Add the error raise for some operators, add some test cases
...
Add the error raise for those cases
aassign isfinite linspace ones_like zeros_like zeros ones
5 years ago
wangchaochaohu
fb34bdb40c
API/OP(fill_constant) error message enhancement ( #23584 )
5 years ago
ceci3
25ef38bc05
Fix bce_loss ( #23746 )
...
* fix bce_loss,test=develop
5 years ago
ceci3
cd1de0e2c5
API/OP error message enhancement ( #23691 )
...
* error enhance,test=develop
* update,test=develop
* update type, test=develop
* replace inout_check, test=develop
5 years ago
zhupengyang
2787944c2b
Ops(relu6/selu/soft_relu/softshrink/stanh/swish/thresholded_relu/hard_shrink/hard_sigmoid/hard_swish/hsigmoid/maxout) error message enhancement ( #23718 )
5 years ago
Chen Weihang
0b6f09e74f
Op (Save/LoadCombine) error message enhancement ( #23647 )
...
* op save/load_combine error msg polish, test=develop
* fix detail error, test=develop
5 years ago
liuwei1031
2fd728a978
add new dot op( #23418 )
5 years ago
mamingjie-China
cdbe5707e9
API(argsort, argmax, argmin, cast, diag) error message enhancement
...
* API(argsort, argmax, argmin, cast, diag) error message enhancement, test=develop
5 years ago
chenhaoze
9b06dd8628
Add three passes and api reference of paddle_pass_builder. test=develop ( #23741 )
...
* Add three passes and api reference of paddle_pass_builder.h
5 years ago
FlyingQianMM
b4be5ef5ec
OP(retinanet_detection_output, retinanet_target_assign, sigmoid_focal_loss, deformable_roi_pooling) error message enhancement. test=develop ( #23726 )
5 years ago
Zhaolong Xing
ed5766ffbc
refine act conv2d pool2d trt converter log ( #23605 )
...
* refine act conv2d pool2d fc, trt converter log
test=develop
* fix comments
test=develop
5 years ago
xujiaqi01
d98084e7ec
add save with prefix ( #23449 )
...
* add save with prefix
* test=develop
5 years ago