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
Jacek Czaja
8b88cd5167
[oneDNN] Fix to inplace pass ( #24442 )
...
* - Disabling inplace pass
test=develop
- Disable cycles
test=develop
- fix
test=develop
- Enhancement to in-place
- Lint fixes
test=develop
* - Lint fixes
test=develop
5 years ago
Bai Yifan
f1c4c14c7a
Fix fsp_op error message,test=develop ( #24405 )
...
* fix fsp_op error message,test=develop
5 years ago
Jacek Czaja
d0307145a3
[oneDNN] disabling oneDNN inplace pass ( #24406 )
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
Tao Luo
72c370c8d2
remove unused test_multi_thread_helper.h ( #24399 )
...
test=develop
5 years ago
hutuxian
123255cf9f
change InitializeGPU to InitializeGPUAndLoadModel ( #24377 )
...
* Add InitializeGPUAndLoadModel to solve random hang when downloading sparse parameters.
* Update SaveBase to solve test problem.
5 years ago
qingqing01
43625bdabd
Add a high-level API with traning and inference into Paddle. ( #24293 )
...
* Merge hapi into Paddle
Hapi is a high level API for training and inference.
The main modules include Model, Loss, Metrics, Dataset.
Also includes common modules and models in NLP and computer vision, such as BERT, ResNet.
These modules are developed by:
0YuanZhang0, guoshengCS heavengate, LielinJiang, qingqing01, xyzhou-puck huangjun12, wangxiao1021, zhangyang.
5 years ago
Tao Luo
63da846de0
remove old inference C++ tests ( #24368 )
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
wangchaochaohu
01e45a06f6
add dependency for conda test=develop ( #24318 )
5 years ago
hong
67f66f0904
Fix get item out of range error ( #24339 )
...
* raise index error when slice out of range; test=develop
* add uni test; test=develop
* fix format error; test=develop
* add comment for py::index_error; test=develop
* polish error message; test=develop
* polish error message; test=develop
5 years ago
Wojciech Uss
db052009c7
Enabled quantize all and skip missing in QAT ( #24281 )
...
* Enabled quantize all and skip missing in QAT
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
Pei Yang
8c296dea75
fix compile error(cpuid.h not found) on nvidia jetson platforms. test=develop ( #24329 )
5 years ago
Guo Sheng
4a5de14426
Remove cusolver potrfBatched support on Windows. ( #24338 )
...
test=develop
test=win_gpu
5 years ago
Tao Luo
c1df7048c7
add UT for mkldnn_cache_capacity ( #24336 )
...
* add UT for mkldnn_cache_capacity
test=develop
* fix comparison of integer expressions of different signedness
test=develop
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
joanna.wozna.intel
356f5ee220
[Refactoring] Unify op-dequant squashes ( #24277 )
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
Tao Luo
9eedf05d2f
solve mklml memory leak on windows ( #24015 )
...
* solve mklml memory leak on windows
test=develop
* remove unused msvcr120.dll
test=develop
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
xujiaqi01
1034ca316f
add timeout and http store in communication ( #23436 )
...
* add timeout and http store in communication, add revert and confirm in fleet
* test=develop
5 years ago
Guo Sheng
1fc6cc502a
Fix cusolver loader for Windows ( #24157 )
...
* Fix cusolver loader for Windows in dynamic_loader.cc. test=develop
* Fix missing CUSOLVER_ROUTINE_EACH_R1.
test=gpu
test=develop
* Add unsupprot for cusolver on Windows temporarily. test=develop
* Fix GetCusolverDsoHandle error message. test=develop
5 years ago
wawltor
d1e1d85881
add the graph batch reader for pslib mode ( #24178 )
...
Add the pslib graph batch reader mode, add the test case for this change
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
joanna.wozna.intel
b43b46e619
[INT8] Add requant-op squash ( #24143 )
5 years ago
石晓伟
17ac6e2580
update the analysis predictor for multi-stream support, test=develop ( #24046 )
...
* update the analysis predictor, test=develop
* update the unit test, test=develop
* no priority set before the inferface determined, test=develop
* interface name generalization, test=develop
5 years ago
hutuxian
3e2bc8715f
Try to fix UT Random Fail ( #24223 )
5 years ago
lidanqing
61ec30f030
Update QAT INT8 2.0 doc ( #24127 )
...
* update local data preprocess doc
* update for 2.0 QAT
test=develop
test=document_fix
* update benchmark data
test=develop
test=document_fix
Co-authored-by: Wojciech Uss <wojciech.uss@intel.com>
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
Huihuang Zheng
3047b69f94
Make Allocation Smaller on BuddyAllocatorTest to Decrease CI Failure ( #24205 )
...
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
wangchaochaohu
fa43d74a3a
fix the intermediate node of graph for fusion group test=develop ( #24184 )
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
Tao Luo
e3179ea2f5
refine ccache statistics show ( #24167 )
...
test=develop
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
wangchaochaohu
2270864019
Fusion group optimize for cuda codegen( #23940 )
5 years ago
ShenLiang
94dfb7d770
opt the postprocess, test=develop ( #24155 )
5 years ago
Chengmo
28a558e867
Update index sample ( #24109 )
...
* update index sample
5 years ago
Zhang Ting
ab8f8fa70d
fix example code, test=develop, test=document_fix ( #24139 )
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
Jacek Czaja
eb411613e9
[DNNL] refine activations Inplace support ( #24145 )
5 years ago
wangchaochaohu
6bf26ef156
fix warning mac compiler ( #24138 )
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
wangchaochaohu
6ba7c3ac92
Reduce the construction time of fuction about profiler ( #24117 )
5 years ago
Zhang Ting
fb0729ee7f
avoid warnings in MAC compile ( #24124 )
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
hutuxian
aa0330f451
Add some print log before running UT ( #24071 )
5 years ago
Tao Luo
34b4153e97
show statistics summary of ccache ( #24125 )
...
test=develop
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
a67eea9f00
polish code by adding final, test=develop, test=develop ( #24114 )
5 years ago
Zeng Jinle
ab2e284235
fix compilation failure ( #24091 )
5 years ago
石晓伟
34d7d6aef0
declare the stream::Priority as enum class, test=develop ( #24013 )
5 years ago
Pei Yang
695a53c874
remove conv_bn_fuse_pass and fc_fuse_pass in trt int8 calibration. test=develop ( #23805 )
5 years ago
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
zhangchunle
735e9ccce0
modify paddle_build.sh ( #24062 )
5 years ago
tianshuo78520a
109ffffbb2
Update code format ( #24000 )
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
tianshuo78520a
19235e8525
add cpu ci job check_style ( #23617 )
5 years ago
zhangchunle
6bd200db66
remove high level api ( #23854 )
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
tianshuo78520a
f77d0afc15
Drop the number of concurrent compile ( #23890 )
5 years ago
zhongpu
9242d72a69
fix docker build for paddle openblas version, test=develop ( #23266 )
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
iducn
146bed767b
Delete reviewer for diff_unittest.py ( #23787 )
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
FDInSky
0a878be817
modify some op for dyg rcnn ( #23648 )
...
* test=develop modify some op for dyg rcnn
5 years ago
ceci3
ab05cdc46e
Add bce_loss op ( #23388 )
...
* add bce_loss
* fix mistake
* replace paddle_enforce,test=develop
* fix,test=develop
* update,test=develop
* remove duplicate,test=develop
* update,test=develop
* update error,test=develop
* update,test=develop
* fix unittest, test=develop
* update, test=develop
5 years ago
joanna.wozna.intel
5ee099ca57
Op-requant squash ( #23665 )
...
* Op-requant squash
test=develop
* Add matmul to op-requant test
test=develop
5 years ago
Zhang Ting
9bc1e0a156
fix the CI random failure for dist op ( #23743 )
5 years ago
Zeng Jinle
54d3b5a1eb
enhance err_msg, test=develop ( #23714 )
5 years ago
Michał Gallus
a63bcf9ae7
[DNNL][INT8][FP32] MatMul ( #23395 )
...
* Initial FP32 DNNL MatMul Implementation
* Implement int8 DNNL MatMul
* Unify in-kernel-naming, clean UTs
* MatmuL: Introduce op caching
* Final adjustments
test=develop
* Remove dy_graph disablement
test=develop
* Change dnnl header name to new one
test=develop
* Contrain multi head check to prevent fails
test=develop
* Resolve dnnl header problems on MAC CI
* Variable namings to kernel and skip_grad_ci added
test=develop
* Prevent MAC CI from failing
* Prevent windows build from failing
test=develop
* Modify UTs to conform to the rules
* Modify MatMul aux functions namings
test=develop
5 years ago
liuwei1031
6c332ad6c6
imporve error messages for conv, conv_transpose, cos_sim, group_norm ( #23675 )
...
* imporve error messages for conv, conv_transpose, cos_sim, group_norm
5 years ago
zhupengyang
5b3dd80633
Op(prelu) error message enhancement ( #23616 )
5 years ago
Zhang Ting
4773e3f541
add dist op ( #23503 )
...
* add dist op
5 years ago
littletomatodonkey
1c08a2136e
test=develop, add addmm op ( #23384 )
...
add addmm op
5 years ago
zhaoyuchen2018
7b5e23c034
OP(fusion_gru) error message enhancement. test=develop ( #23599 )
...
C++ OP enhancement.
5 years ago
Chengmo
8c0bdde934
Add Tdm sampler op in Contrib ( #23290 )
...
* add tdm sampler op
* fix compile bug
* fix compile bug
* fix compile bug
* fix compile bug
* test=develop, add tdm sampler unittest
* fix tdm sampler unittest
* fix input var name bug
* update tdm sampler unittest
* fix unittest
* fix unittest
* update tdm sampler unittest
* add tdm exe run unittest
* fix infershape
* test=develop, add doc
* test=develop, fix gcc8 compile bug & unittest bug
* test=develop, fix unittest
* test=develop, fix T one & zero
* test=develop, add unittest check
* test=develop, add doc smaple code & fix dype set
* test=develop, fix dtype
* test=develop, fix compile bug
* test=develop, fix unittest
* test=develop, fix unittest
* test=develop, check py3 unittest
* test=develop,fix unittest
* test=develop, fix py3&py2 unittest diff
* test=develop, fix sample code
* test=develop, fix sample code
* test=develop, fix sample code
* test=develop, fix error message
5 years ago
GaoWei8
517929f148
Op (reorder_lod_tensor_by_rank) error message enhancement ( #23552 )
5 years ago
Pei Yang
28f04c6a5e
refine shuffle channel errmsg, test=develop ( #23520 )
5 years ago
Leo Chen
b59426b52a
Enhance error msg of imperative code ( #23572 )
...
* fix init_gflags with 'python -c', test=develop
* enhance error msg related Tracer, test=develop
* refine err msg, test=develop
* follow comments, test=develop
5 years ago
Wilber
1ac9db4354
error message enhancement for fusion_seqpool_concat_op. test=develop ( #23563 )
...
error message enhancement for fusion_seqpool_concat_op
5 years ago
Wilber
286c2e0ede
error message enhancement for py_func op. ( #23565 )
...
error message enhancement for py_func op.
5 years ago
hutuxian
94a3789fd0
Add AfsAPI in PaddleBox ( #23419 )
...
* Involves AfsAPI to resolve slow downloading.
* Mainly used in PaddleBox
5 years ago
liym27
06d4aa4e73
API (BuildStrategy) error message enhancement. ( #23462 )
5 years ago
Zeng Jinle
674355a097
fix GET_DATA_SAFELY ptr, test=develop ( #23679 )
5 years ago
zhongpu
37fcf03af7
Op (Save/Load) error message enhancement, test=develop ( #23650 )
5 years ago
silingtong123
c6d14bc839
show the exception messages of cpp inference library in msvc ( #23702 )
5 years ago
Tao Luo
e4f1b1c5e1
solve mklml memory leak ( #23557 )
5 years ago
Zhen Wang
84cd45f674
Solve the conflict of ops with the same name, test for CI. ( #23573 )
...
* solve the conflict of ops with the same name. test=develop
5 years ago
wangguanzhong
c2f5a3ad34
enhance the error message of roi_align, test=develop ( #23649 )
5 years ago
silingtong123
cec234b1aa
test=develop, error message of tree_conv OP enhancement ( #23574 )
5 years ago
Kaipeng Deng
b465bb0de7
fix adaptive_pool2d/pool3d error message. test=develop ( #23658 )
5 years ago
Zhaolong Xing
f345607115
Refine transpose flatten concat error message ( #23625 )
...
* refine fusion_transpose_flatten_concat_op log
test=develop
* fix ci error
test=develop
5 years ago
Chen Weihang
df538439f5
api build strategy error polish, test=develop ( #23546 )
5 years ago
Zeng Jinle
7f3e0eaad1
refine error msg, test=develop ( #23589 )
5 years ago
Zeng Jinle
ea22515ae4
pimpl to polish code, test=develop ( #23597 )
5 years ago
zhaoyuchen2018
42d67dacb6
OP(minus) error message enhancement. test=develop ( #23621 )
...
C++ error message enhancement.
5 years ago
Huihuang Zheng
a82ce2b1bb
API/OP (ConditionalBlock) error message enhancement ( #23480 )
...
API/OP (ConditionalBlock) error message enhancement (#23480 )
5 years ago
Yiqun Liu
4489f0d304
Op(fetch) error message enhancement. ( #23542 )
5 years ago
Zhen Wang
2cf27260ae
OP(fake_quantize) error message enhancement ( #23550 )
...
* improve error messages of fake_quantize op. test=develop
* update the bit_length error info. test=develop
5 years ago
Zhen Wang
1cf64e00fc
improve error messages of fake_dequantize_op. test=develop ( #23556 )
5 years ago
mozga-intel
3baaee9aab
Remove: NGraph engine from PDPD repository ( #23545 )
...
* Remove the NGraph engine from PDPD repository
1. Each operator was removed from the operator's directory
2. Each test was removed from the unittest directory
3. The parallel executor support was removed from the PDPD
4. The CMake file was removed from the PDPD
5. The NG flags were removed from the repository
test=develop
* Remove ngraph from:
1. Cmake file
2. Python file
test=develop
5 years ago
wangchaochaohu
81e8fd4a3e
API(fluid.layers.array_length) error message enhancement ( #23547 )
5 years ago
Zhang Ting
1b8fe70e48
fix VLOG, test=develop ( #23327 )
5 years ago
wangguanzhong
6bb8206d03
enhance the error message of box_clip, test=develop ( #23638 )
5 years ago
liym27
8987946fe2
Api/Op (select_input/select_ouput) error message enhancement. ( #23445 )
5 years ago
Zeng Jinle
979fb35e23
update print signatures( #23619 )
5 years ago
Wilber
5f22478a93
error message enhancement for repeated fc. test=develop ( #23562 )
...
error message enhancement for repeated fc
5 years ago
Wilber
a5bdf485d5
fill op error message enhancement. test=develop ( #23560 )
...
fill op error message enhancement
5 years ago
GaoWei8
2c4b57e94b
Op (concat) error message enhancement ( #23523 )
5 years ago
Chen Weihang
45880f604b
API(Program) error message enhancement ( #23519 )
...
* polish api program error message, test=develop
* fix condition error, test=develop
* fix test prune error, test=develop
* fix coverage problem, test=develop
5 years ago
GaoWei8
66cae9157e
Op (lod_reset) error message enhancement ( #23499 )
5 years ago
liym27
dc225ed2fc
OP (tensor_array_read_write) error message enhancement. test=develop ( #23468 )
5 years ago
joanna.wozna.intel
3cb5623dad
Add matmul dequant squash ( #23505 )
...
test=develop
5 years ago
Pei Yang
3d5d217030
Revert "[Paddle-TRT] Add hard_sigmoid and hard_swish support(support MobilenetV3) ( #23536 )", test=develop ( #23642 )
...
This reverts commit cdc6d4e292
.
5 years ago
Pei Yang
eb11633611
batch_norm trt converter error message, test=develop ( #23620 )
5 years ago
wangchaochaohu
c1187cd6f4
Fp16 refine for fusion group ( #23472 )
5 years ago
joanna.wozna.intel
ce08fdcf2b
Add support for INT8 matmul in C-API quantization ( #23463 )
...
* Integrate matmul with cpu_quantize_pass
test=develop
* Add matmul checking scales
test=develop
* Change condition of matmul quantization
test=develop
* Remove redundant var
test=develop
5 years ago
GaoWei8
c068512f34
Implement a new C++ operator where and API tensor.where ( #23220 )
5 years ago
石晓伟
9b82e4c183
change the cmake and apis of lite engine, test=develop ( #22934 )
...
* change the cmake and apis of lite engine, test=develop
* change the cmake of lite engine, test=develop
5 years ago
Yiqun Liu
55d0c8fde7
Enhance the error message of feed_op. ( #23526 )
5 years ago
Huihuang Zheng
71b5f1d2b2
OP (recurrent) error message enhancement ( #23481 )
...
* OP (recurrent) error message enhancement
5 years ago
Aurelius84
8674a82c03
Op (Scope) error message enhancement ( #23458 )
...
* Op (Scope) error message enhancement test=develop
5 years ago
Pei Yang
cdc6d4e292
[Paddle-TRT] Add hard_sigmoid and hard_swish support(support MobilenetV3) ( #23536 )
...
* add hard_sigmoid trt op converter
* add hard_swish op converter and plugin. test=develop
5 years ago
Pei Yang
42655ef721
Add full_like op. ( #23364 )
...
* add full_like op. test=develop
* add dygraph support. test=develop
* increase coverage. test=develop
5 years ago
Zhang Ting
480530c4e3
API(place-related) error message enhancement ( #23515 )
5 years ago
guofei
ca7bd2beb1
Add a function to update FLAGS ( #22851 )
...
* Add a function to update FLAGS
test=develop
* Add a function to update FLAGS
test=develop
* expr flags
* Add a function to update FLAGS
test=develop
* distinguish public/private vars, test=develop
* fix windows issues, test=develop
* expr flag
* Add functions to get and set FLAGS
test=develop
* Add functions to get and set FLAGS
test=develop
* Add functions to get and set FLAGS
test=develop
* Add functions to get and set flags
test=develop
* Add functions to get and set FLAGS
test=develop
* Add a function to update FLAGS
test=develop
* Add a function to update FLAGS
test=develop
* Add functions to get and set flags in Paddle
test=develop
Co-authored-by: sneaxiy <sneaxiy@126.com>
5 years ago
wangchaochaohu
d085f79228
fix untime fail for output var stop_gradient=True for fusion group ( #23317 )
5 years ago
Adam
62aff0a7ac
Add DNNL GELU kernels ( #22426 )
5 years ago
silingtong123
009c049e82
Add randint op API ( #23337 )
...
* add randint op
5 years ago
qingqing01
6162cf2f2e
Make optimizer consistent in dygraph and static-graph and remove some LOG-INFO. ( #23426 )
...
* Make optimizer consistent in dygraph and static-graph and remove some LOG-INFO
5 years ago
wangchaochaohu
29c4fae112
Tensor value support ( #23491 )
...
* add support for value tensor support of fill_constant Op
5 years ago
Chengmo
426912df5a
Add Index sample OP ( #23218 )
...
* add index_sample op
5 years ago
zhangchunle
638d924d89
Op (FusionSquaredMatSub) error message enhancement. ( #23498 )
5 years ago
ShenLiang
c706ff20a3
fix conflict, test=develop ( #23298 )
5 years ago
ShenLiang
5223e2bbc4
Add a new DataFeed named PaddleBoxDataFeed ( #23321 )
...
* add paddleboxdatafeed
* add ifdef linux and boxps
* add untest for datafeed
* fix untest of test_paddlebox_datafeed
* fix untest
* rename function
5 years ago
Chen Weihang
75bd350710
Implement StaticModelRunner to support dygraph fine-tune static graph pre-training model ( #23171 )
...
* static model runner basic implement, test=develop
* add run program op to execute loaded program, test=develop
* refactor static model runner & run program op, test=develop
* reset engine.cc to resolve conflict
* adapt the change of dygraph double grad, test=develop
* refactor impl to solve control flow error, test=develop
* clear debug code, test=develop
* fix ci str compatible error & checkout dygraph grad maker & add example, test=develop
* hide api & add op test, test=develop
* fix run program op test places error, test=develop
* fix program by review comment, test=develop
* delete change var desc name, test=develop
* fix other program by review comment, test=develop
* remove _static_graph_guard, test=develop
* add selectedrows test, test=develop
* remove desc parser, test=develop
* fix detail program, test=develop
* change socpe create & add test, test=develop
5 years ago
cc
9297f49e4b
[OP] Add randperm op ( #23292 )
5 years ago
Kaipeng Deng
d223a24904
Fix inplace_abn compile error on Windows ( #23464 )
...
* fix inplace_abn windows compile error. test=develop
5 years ago
Tao Luo
0b583235f5
Revert "Solve the conflict of ops with the same name. ( #23199 )" ( #23494 )
...
This reverts commit abe3e6906d
.
test=develop
5 years ago
wawltor
6577f91b74
Add the sum op to API 2.0, add some parameters for new api
...
* Add the sum op to API 2.0, test=develop
* Fix the import meesage in common_ops_import
5 years ago
石晓伟
36b82eae0e
refine the doc of paddle_api.h, test=develop ( #23402 )
...
* refine the doc of paddle_api.h, test=develop
* fix documents, test=develop
5 years ago
WuHaobo
c4d0305239
add tril op and triu op ( #23469 )
...
add tril op and triu op
5 years ago
yongqiangma
eb035f24d1
add unbind op ( #23359 )
...
* add unbind op
unbind(tensor, dim=0):
说明:移除指定维后,返回一组数组,包含了沿着指定维切片后的各个切片。
tensor(Tensor) -- 输入Tensor
dim(int) -- 删除的维度
示例:
Input = [[1,2],
[3,4],
[5,6]]
axis = 0
Output[0] = [1,2]
Output[1] = [3,4]
Output[2] = [5,6]
5 years ago
zhangchunle
fd9b7bdb3d
Op (FusedEmbeddingSeqPool) error message enhancement. ( #23454 )
5 years ago
Chen Weihang
16315d3d9e
Delete Ref & VectorRef and add GetDataSafely ( #22997 )
...
* delete invalid check inferface Ref & VectorRef, test=develop
* fix vector ref delete error, test=develop
* try the new check inferface, test=develop
* change all related code with new check macro, test=develop
* remove static assert, test=develop
* polish detail, test=develop
* skip coverage problem, test=develop
* add new check macro, test=develop
5 years ago
Zhen Wang
abe3e6906d
Solve the conflict of ops with the same name. ( #23199 )
...
* solve the conflict of ops with the same name. test=develop
5 years ago
wawltor
0b092d05f1
Add the argmax op to API 2.0, and update some parameters
...
* Add the argmax op to API 2.0, test=develop
* Fix the compiler problem in arg_max op, test=develop
* Fix the import meesage in common_ops_import, test=develop
* Fix the default dtype of arg_min_max, test=develop
5 years ago
Leo Chen
f297a33285
Dev/fix init flags ( #23465 )
...
* fix init_gflags with 'python -c', test=develop
* add test, test=develop
* use sys.executable instead of python, test=develop
* keep dummy, test=develop
5 years ago
Zhaolong Xing
6a23850a3f
add init value to varis in analysis config. ( #23442 )
5 years ago
wawltor
915341e3de
Add the zeros, ones, ones_like, zeros_like for api 2.0, test=develop ( #23471 )
...
Update the new api ops of creation ops to the api 2.0
5 years ago
Zhen Wang
56b50c97f8
Add allclose_op ( #23335 )
...
* Add allclose Op, and its function is analogous to numpy.allclose. It returns True if two tensors are elementwise equal within a tolerance.
5 years ago
kinghuin
948c57d84b
move sin, sqrt, tanh, atan to paddle.tensor.math and add a new parameter "out" ( #23387 )
...
* sin sqrt tanh atan add out, test=develop
* optimize doc, test=develop
* add dygraph test, test=develop
5 years ago
Chengmo
a2e9af5663
Add Tdm child OP in contrib ( #23241 )
...
* add tdm child op
5 years ago
Wilber
9676ac1c5c
Add flip op. ( #23255 )
...
* add flip op
5 years ago
tianshuo78520a
d8a21ef6f3
test=develop;fix error ( #23467 )
5 years ago
Feiyu Chan
81f1402f6c
Add functional convolutions in paddle.nn.functional ( #23408 )
...
* add functional conv
* add test and doc for function convs, test=develop
* update ConvTransposeOp's InferShape and error message, test=develop
5 years ago
Zhaolong Xing
70782e6379
[Inference doc]: refine paddle_api.h doc ( #23354 )
...
* refine paddle api doc
test=develop
* fix comments
test=develop
5 years ago
Feiyu Chan
bcafe3179a
add MKL computation back to gelu's non-approximate part ( #23420 )
5 years ago
zhongpu
dbfbd7eac4
support Exhaustive search in dygraph ( #23415 )
...
* use global conv cache; test=develop
* use singleton cache; test=develop
* fix format error; test=develop
* add cudnn helper header; test=develop
* fix header error; test=develop
* fix mac unitest; test=develop
* fix mac unitest; test=develop
* fix file format; test=develop
* fix include file error, test=develop
* remove kernel_configs_ in class ExecutionContext and kernel_configs_map_ in class OperatorWithKernel, test=develop
* fix test_elementwise_mul_op_dim, test=develop
* fix compile error, test=develop
Co-authored-by: phlrain <phliuhongyu@126.com>
5 years ago
zhaoyuchen2018
01d7ccd4b6
Fix elementwise compile error, test=develop ( #23381 )
...
elementwise function used before definition then failed in cuda 8, move it ahead.
5 years ago
gongweibao
24a063f6ac
Add fleet checkpoint on local fs and remote fs(such as hdfs) for EDL ( #22586 )
5 years ago
Zeng Jinle
0c23e3ff4d
fix Tracer::NoGrad, test=develop ( #23443 )
5 years ago
channings
a2e10930cf
update linspace, equal operators to API 2.0 ( #23274 )
...
* update linspace, equal operators to API 2.0, test=develop
* equal support higher performance CUDA kernel, test=develop
* update comment of equal&linspace operator, test=develop
* update comment of equal&linspace operator, test=develop
5 years ago
zhaoyuchen2018
4fe9ca6959
improve elementwise performance. ( #23405 )
...
* improve elementwise performance.
* Add contiguous check, test=develop
5 years ago
wangchaochaohu
5c60778731
polish the code of fusion group test=develop ( #23370 )
5 years ago
Leo Chen
a62599a888
[feature] prune program by feed and fetch_list automatically ( #22474 )
...
* prune train program by fetch_list, test=develop
* add unittest for prune, test=develop
* fix pruned feed, test=develop
* support ParallelExecutor and feed prune, test=develop
* add comments, test=develop
* update unittest, test=develop
* update unittests, test=develop
* remove debug code, test=develop
* support cond in clone, test=develop
* support cond in prune, test=develop
* support multiple minimize, test=develop
* support cache, test=develop
* fix _copy_param_info_from, test=develop
* support python2 str, test=develop
* remove debug code, test=develop
* fix bug of caching CompiledProgram, test=develop
* fix multi_device issue, test=develop
* tmp
* support tuple in fetch_list and overriding use_prune, test=develop
* dont use nonlocal in python2, test=develop
* remove nonlocal, test=develop
* code clean, test=develop
* code clean, test=develop
* feed list, test=develop
* test adam, test=develop
* follow comments, test=develop
* reduce duplicate code, test=develop
* update comments, test=develop
5 years ago
Chen Weihang
7f1ad510bd
Add op inout check macro to simplify error message writing ( #23430 )
...
* add op inout check macro, test=develop
* fix enforce_test, test=develop
5 years ago
Yiqun Liu
bc2981e998
Disable test_code_generator and test_post_training_quantization_mobilenetv1 ( #23440 )
5 years ago
Zeng Jinle
29337f4e17
fix conflict of inferne partial feed with gpu parallel ssa graph executor, test=develop ( #23400 )
5 years ago
Pei Yang
7e439780d9
add full paddle_analysis_config.h APIs. ( #23215 )
5 years ago
zhongpu
bfb07aafe8
Revert "Exhaustive search ( #22821 )", test=develop ( #23401 )
...
This reverts commit 48144e4099
.
5 years ago
liym27
b7b0b3595b
Add unittest for transformer prediction in dygraph_to_static ( #23207 )
...
* Add unittest for transformer prediction in dygraph_to_static.
* fix bug in fill_constant api.
* Make transpose support size 0. test=develop
5 years ago
xujiaqi01
93ea9dd27a
fix stat var in hogwild worker ( #23367 )
...
* fix stat var in hogwild worker
* test=develop
5 years ago
joanna.wozna.intel
8c463700e1
Add default pass attributes ( #23042 )
5 years ago
zhongpu
48144e4099
Exhaustive search ( #22821 )
...
* use global conv cache; test=develop
* use singleton cache; test=develop
* fix format error; test=develop
* add cudnn helper header; test=develop
* fix header error; test=develop
* fix mac unitest; test=develop
* fix mac unitest; test=develop
* fix file format; test=develop
* fix include file error, test=develop
* remove kernel_configs_ in class ExecutionContext and kernel_configs_map_ in class OperatorWithKernel, test=develop
* fix test_elementwise_mul_op_dim, test=develop
Co-authored-by: phlrain <phliuhongyu@126.com>
5 years ago
Adam
da7c73f847
Delete is_test attribute from activation operators ( #23318 )
...
* Delete is_test from activation operators
test=develop
* Revent unneeded changes
test=develop
5 years ago
Kaipeng Deng
21d95be0db
Add inplace abn op ( #22806 )
...
* add inplace_abn_op. test=develop
5 years ago