songyouwei
8f63a3ecff
fix no_grad argspec ( #23790 )
...
test=develop
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
Xing Wu
840ac2b302
Cudnn rnn layers api ( #23390 )
...
* add cudnn compatiable rnn cell api for dygraph
* update sample code
* update some typos
* fix specify name in param_attr problem
* add pre-commit check
* remove duplicate import, test=develop
* add unittest coverage, test=develop
* make code more tight, test=develop
* cudnn_compatibale -> use_cudnn_impl, test=develop
* change api name, 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
wawltor
17ec3ab23e
Fix the scale fp16 dtype support for scale op, delete the fp16 test caseraise for scale
...
Fix the scale fp16 dtype support for scale op, and delete the test case for fp16 case
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
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
Feiyu Chan
600cb8c828
Add row_conv and hsigmoid into paddle.nn(functional and layer) ( #23517 )
...
* add approximation for gelu, test=develop
* add functional conv
* add test and doc for function convs, test=develop
* update ConvTransposeOp's InferShape and error message, test=develop
* add hsigmoid, row_conv in paddle.nn(functional and layer), test=develop
* fix hyperlinks in docstring
5 years ago
Bai Yifan
4231d84077
enhance some op/api error message ( #23768 )
...
* enhance error message, test=develop
5 years ago
FlyingQianMM
a93f333527
fix sample code diff for OP(retinanet_detection_output, retinanet_target_assign), fix `gamma` default value for OP(sigmoid_focal_loss) ( #23744 )
...
* fix sample code diff for OP(retinanet_detection_output, retinanet_target_assign), fix default value for OP(sigmoid_focal_loss). test=develop
* fix float value. test=develop
* add int type for gamma and alpha.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
Yibing Liu
1b5122ba07
Add variance computing layer for tensor ( #23770 )
...
* Add variance computing layer for tensor
* Format input data types
* Remove unnecessary expand operation
* Some fixes in doc
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
yongqiangma
afb2cb7c9c
lod_tensor_to_array error message enhance. ( #23615 )
...
* lod_tensor_to_array error message enhance. test=develop
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
guofei
73f421f782
Add new API : randn ( #23211 )
...
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* aAdd new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
* Add new API : randn
test=develop
5 years ago
wawltor
8188d83be3
Fix some sample codes in api2.0,include zeros, pow, mul, ones_like, zeros_like
...
In those ops, some api has execute run error, fix those op, and format some sample code.
5 years ago
mamingjie-China
7c3fa5ff27
fix doc bug in cast OP, change 'float15' to 'float16' in support dtypes
...
raw doc: bool, float15, float32, float64, int8, int32, int64, uint8.
new doc: bool, float16, float32, float64, int8, int32, int64, uint8.
5 years ago
liym27
0bbad002df
[dy2static] Revert to usage of 'assign' in test_transformer ( #23777 )
...
* Add the support of bool list for assign value, test=develop
* Fix the assign op test case for bool dtype, test=develop
* Revert to usage of 'assign' in test_transformer. test=develop
Co-authored-by: wawltor <fangzeyang0904@hotmail.com>
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
xujiaqi01
15ce8e21d8
add unit accessor ( #23703 )
...
* add unit accessor in fleet, support DownpourUnitAccessor
* 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
d77bc12e11
fix install error in py36, test=develop ( #23676 )
5 years ago
zhongpu
2beb6eacba
fix if logic in dygraph ( #23728 )
...
* fix if logic in dygraph, test=develop
* fix bug, test=develop
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
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
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
hutuxian
6f7077db25
Add logs to debug random fail ( #23731 )
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
liuwei1031
b61aaa2c10
add logsumexp op, test=develop ( #23585 )
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
hong19860320
b8d0750109
Add Sigmoid and sigmoid op in paddle.nn and paddle.nn.functional ( #23334 )
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
liym27
fbdf77917e
fix example code of api data/switch_case to keep cn-doc and en-doc consistent ( #23670 )
5 years ago
Aurelius84
d265b16aed
Support transform two independent functions in dygraph_to_static_output ( #23652 )
...
* Spport transform two independed function in dygraph_to_static_output test=develop
* fix unittest error test=develop
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
Wojciech Uss
2383a9f7ee
[Doc update] Update for QAT INT8 MKL-DNN document ( #23361 )
...
* Update for QAT INT8 MKL-DNN document, added info on VNNI in Windows, benchmark results added and updated
5 years ago
xujiaqi01
70f7c23fd2
fix add dense table ( #23681 )
...
* fix add dense table
test=develop
* fix
test=develop
* fix
test=develop
5 years ago
xujiaqi01
d98084e7ec
add save with prefix ( #23449 )
...
* add save with prefix
* test=develop
5 years ago
Guanghua Yu
588eb8e2ea
Add `paddle.nn.loss.CrossEntropyLoss` op ( #23669 )
...
* add cross_entropy_loss,test=develop
* fix some commnet,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
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
Chen Weihang
a2315d37cf
remove logging setting, test=develop ( #23715 )
5 years ago
wawltor
05476e9f69
Fix the matmul test case, avoid double and float precision diff
...
reduce the pricision of test case for matmul
5 years ago
Huihuang Zheng
4c57e3951a
Temporary Disable Flaky test_cond Under Windows ( #23424 )
...
The flaky windows test is hard to debug. It just has an exit code 0xc0000374 without any log so we don't know where and why. The probability of failure is about 1/50.
I spent 3 days and found it happened only when using PE + control flow + Windows. Exit code 0xc0000374 indicates heap corruption or access violation, but I found the memory is enough during debugging. There is no failed test under 500+ linux tests. I suspect the reason is multiple thread difference between Windows and Linux but I don't have time to completely debug it now. I will temporary disable the test and fix it in next days.
5 years ago
zhupengyang
6dd9901b3c
add activation ops under paddle.nn and paddle.nn.functional: ReLU, LogSoftmax ( #23258 )
5 years ago
songyouwei
0307393721
API(PRelu) error message enhancement ( #23539 )
...
* err msg enhance for PRelu
* add ut
test=develop
5 years ago
songyouwei
cae9340ec8
API(GRUUnit) error message enhancement ( #23535 )
...
* err msg enhance for GRUUnit
* add ut
test=develop
5 years ago
songyouwei
475de6da22
API(Embedding) error message enhancement ( #23533 )
...
* err msg enhance for Embedding
* add ut
test=develop
5 years ago
songyouwei
dc1901f48e
API(BilinearTensorProduct) error message enhancement ( #23528 )
...
* err msg enhance for BilinearTensorProduct
test=develop
* rebase dev
test=develop
* add ut
test=develop
5 years ago
zhupengyang
5b3dd80633
Op(prelu) error message enhancement ( #23616 )
5 years ago
Chen Weihang
0581d74d56
try to fix test imperative se resnet, test=develop ( #23700 )
5 years ago
Chen Weihang
a7b8d46fa6
Fix Program API doc sample code error ( #23635 )
...
* fix program sample code error, test=develop, test=document_fix
* fix detail error, test=develop, test=document_fix
* fix typo, test=develop, test=document_fix
5 years ago
Chen Weihang
189dbccc4b
Fix compiled program API sample code error ( #23653 )
...
* fix compiled program sample code error, test=develop, test=document_fix
* remove cn code in doc, test=develop, test=document_fix
5 years ago
Aurelius84
2ca5801d8c
API(append_backward) error message enhancement ( #23446 )
...
* API/OP (append_backward) error message enhancement test=develop
* polish check_type test=develop
* fix unittest failed test=develop
* merge develop test=develop
5 years ago
Aurelius84
d1f9a26c95
Refine mechanism of calling outer function in dy2static ( #23688 )
...
* Refine mechanism of calling outer function test=develop
* fix typo test=develop
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
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
Wojciech Uss
1753860dd0
Enable matmul and cleanup in QAT2 ( #23657 )
5 years ago
songyouwei
4d0efee4f4
Linear revert to matmul op ( #23654 )
...
test=develop
5 years ago
GaoWei8
517929f148
Op (reorder_lod_tensor_by_rank) error message enhancement ( #23552 )
5 years ago
wangchaochaohu
3ea6899f8b
API(fluid.layers.array_read/array_write) error message enhancement ( #23568 )
5 years ago
liu zhengxi
eda7ff054b
Refine example code in en doc ( #23549 )
...
* refine example code in en doc, test=develop, test=document_fix
* update shape to make it meaningful, test=develop, test=document_fix
5 years ago
silingtong123
f9e2a27963
error message of SpectralNorm OP enhancement ( #23516 )
5 years ago
zhongpu
076dcdfde9
add instance_norm op for dygraph ( #23362 )
...
* add instance_norm op for dygraph, test=develop
* add error message, test=develop
5 years ago
songyouwei
cb36478a36
add LayerList insert and extend ( #23377 )
...
* add LayerList insert and extend
test=develop
* add index range check
test=develop
* add sample codes
test=develop
* refine sample code
test=develop
5 years ago
Zhou Wei
1f83069117
API(to_variable/save_dygraph) error message enhancement( #23683 )
...
* API(to_variable/save_dygraph) error message enhancement
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
d7dd4e1d36
Add unittest for se_resnet in dygraph_to_static. test=develop ( #23566 )
5 years ago
zhupengyang
7b648ad1a5
Op(relu) error message enhancement ( #23510 )
5 years ago
zhupengyang
5d970b586b
Op(leaky_relu) error message enhancement ( #23627 )
5 years ago
zhongpu
60d1f98a7d
error message enhancement for Pool2D, test=develop ( #23607 )
5 years ago
liym27
f9c9d50e7e
Return VarBase of ProgramTranslator.get_output instead of numpy.ndarray. test=develop ( #23663 )
5 years ago
zhongpu
01a78323a7
API/OP (Conv2DTranspose) error message enhancement ( #23590 )
...
* error message enhancement for Conv2DTranspose, test=develop
* fix error_message, test=develop
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
Leo Chen
795a0a9ab4
fix a typo, test=develop ( #23685 )
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
silingtong123
7277df47bb
error message of NCE API enhancement ( #23544 )
...
* error message of NCE API enhancement
5 years ago
Chen Weihang
f10100ebe4
API (save/load series) error message enhancement ( #23644 )
5 years ago
wangchaochaohu
f39899a43d
API(create_tensor) error message enhancement ( #23571 )
5 years ago
Kaipeng Deng
b465bb0de7
fix adaptive_pool2d/pool3d error message. test=develop ( #23658 )
5 years ago
Tao Luo
97b0968744
disable parallel_executor usage in test_profiler ( #23701 )
5 years ago
wawltor
595e9c5a5f
Fix the test case bug for matmul, test=develop ( #23674 )
...
Fix the bug of matmul test_case
5 years ago
songyouwei
a1a95f8108
fix no_grad signature ( #23600 )
...
* fix no_grad signature
test=develop
* check func name instead of doc
test=develop
5 years ago
Aurelius84
c9b3bdbfcb
API(program_guard) error message enhancement ( #23452 )
...
* API(program_guard) error message enhancement test=develop
* fix Cycle import test=develop
* polish code according comment test=develop
5 years ago
zhongpu
d40c52403d
error message enhancement for Linear, test=develop ( #23595 )
5 years ago
zhongpu
c1c8c7e431
error message enhancement for Conv2D, test=develop ( #23561 )
5 years ago
zhupengyang
17bee1d9a0
Op(brelu) error message enhancement ( #23606 )
5 years ago
songyouwei
b11340a437
support Layer level train/eval mode ( #22463 )
...
* Layer add training attr, add Dropout Layer
* add unit test for Dropout
test=develop
* minor fix
test=develop
* add missing args
test=develop
* support global flag in dropout, add docs
test=develop
* minor fix
test=develop
* minor fix
test=develop
* refine code comments
test=develop
* refine Dropout
test=develop
* fix ut
test=develop
* arg expansion
test=develop
* sample code update
test=develop
* prop -> p
test=develop
* fix ut
test=develop
* minor check fix
test=develop
5 years ago
Huihuang Zheng
a82ce2b1bb
API/OP (ConditionalBlock) error message enhancement ( #23480 )
...
API/OP (ConditionalBlock) error message enhancement (#23480 )
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
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
Aurelius84
fab9464f84
API(fluid.gridents) error message enhancement ( #23450 )
...
* API(fluid.gridents) error message enhancement test=develop
* fix unitest failed test=develop
5 years ago
Aurelius84
d37cd74033
Polish set_optimizer Interface ( #23588 )
5 years ago
Chen Weihang
f301eb7f34
api dygraph layer norm input check, test=develop ( #23534 )
5 years ago
Kaipeng Deng
d7e549f568
fix yolov3_loss gt_score check in dygraph. test=develop ( #23634 )
5 years ago
Zhou Wei
629b6c7896
add the prompt message of repeated settings of regularization,test=develop ( #23355 )
5 years ago
Leo Chen
02b4e989b8
fix pruned_program_cache_key of Operator ( #23594 )
...
* fix init_gflags with 'python -c', test=develop
* fix pruned_program_cache_key of Operator, test=develop
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
Feiyu Chan
078dd05b73
add Conv2D/Conv2DTranspose/Conv3D/Conv3DTranspose in paddle.nn.layer ( #23488 )
...
* add Conv/ConvTranspose layers in paddle.nn.layer, test=develop
* add example code in docstring, test=develop
* update unittests to work with test_runner, test=develop
5 years ago
GaoWei8
66cae9157e
Op (lod_reset) error message enhancement ( #23499 )
5 years ago
gongweibao
63bfe0b946
Fix the default value bug of started port in launch.py. ( #23531 )
5 years ago
liym27
4cbed3a3f6
API (layers.data/fluid.data) error message enhancement ( #23427 )
...
* Api (fluid.data/layers.data) error message enhancement. test=develop
5 years ago
liym27
067134f1b3
API (Switch) error message enhancement. test=develop ( #23459 )
...
* API (Switch) error message enhancement.
* fix bug: dtype of out in api isfinite is set incorrectly. The dtype should be bool.
5 years ago
GaoWei8
c068512f34
Implement a new C++ operator where and API tensor.where ( #23220 )
5 years ago
Aurelius84
8674a82c03
Op (Scope) error message enhancement ( #23458 )
...
* Op (Scope) error message enhancement test=develop
5 years ago
songyouwei
c435110a3f
support no_grad inplace operating ( #22522 )
...
* support no_grad atomic operating
test=develop
* rm create param api
test=develop
* refine sample code
test=develop
* clean impl
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
Chen Weihang
d349a622f0
api dygraph batch norm type check, test=develop ( #23525 )
5 years ago
zhongpu
8d95a10906
fix if logic in dygraph, test=develop ( #23512 )
5 years ago
liym27
316ea5499f
Revert to usage of 'fill_constant' in test_transformer. test=develop ( #23529 )
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
guofei
cb1a2512dc
Make the place parameter default ( #23094 )
...
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
* Make the place parameter default
test=develop
5 years ago
wangchaochaohu
d085f79228
fix untime fail for output var stop_gradient=True for fusion group ( #23317 )
5 years ago
wangchaochaohu
b76f3b2727
add test for fill_value Tensor and refine the doc of full Op ( #23524 )
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
zhongpu
ea6a251c0b
fix sample code, test=develop ( #23448 )
5 years ago
cc
25628587f1
Collect output scale for quantized op and fused op ( #23369 )
...
* Collect output scale for quantized op and fused op
* Post_training_quantizaion sets batch_generator to support lod tensor
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
David Lin
118e585b8c
rename op fluid.layers.matmul to paddle.matmul ( #23375 )
...
* rename op paddle.fluid.matmul to paddle.matmul
* modify original API fluid.layers.matmul,and add new API paddle.matmul
5 years ago
wangchaochaohu
29c4fae112
Tensor value support ( #23491 )
...
* add support for value tensor support of fill_constant Op
5 years ago
Zhou Wei
e8efaee92d
update gradient clip english doc for new gradient clipping strategy
...
梯度裁剪的策略进行了升级,配合修复相应的 裁剪API、minimize、ParamAttr 的API英文文档。
对应API变动的文档: #23224
对应中文文档PR:PaddlePaddle/FluidDoc#1942
5 years ago
Chengmo
426912df5a
Add Index sample OP ( #23218 )
...
* add index_sample op
5 years ago
liym27
660489acac
Add log and check predicted scores. test=develop ( #23506 )
5 years ago
Bai Yifan
9bc223c8a2
fix test_graph_wrapper failure on cudnnv7, test=develop ( #23451 )
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
wawltor
08e3d9c0dc
Add the matmul, elementwise_euqal, elementwise_sum ops to API2.0 ( #23437 )
...
* Add the matmul, elementwise_euqal, elementwise_sum ops to API2.0
* Fix the import meesage in common_ops_import
* Update the test cast for mm
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
Steffy-zxf
2d0933c378
Add two new ops paddle.tensor.mul(), paddle.tensor.pow() ( #23485 )
...
* add new op paddle.tensor.mul(x, y, x_num_col_dims=1, y_num_col_dims=1, out=None, name=None)
* add new op paddle.tensor.pow(input, exponent, out=None, name=None)
* add the aboved two new ops unittest (test api param out and name)
5 years ago
WuHaobo
c4d0305239
add tril op and triu op ( #23469 )
...
add tril op and triu op
5 years ago
wangchaochaohu
3eb12bd100
refine the usage of paddle.full test=develop ( #23484 )
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
LutaoChu
4c675a450f
Add 2 new ops: paddle.tensor.div() and paddle.tensor.add() to API2.0( #23352 )
...
* add new op paddle.tensor.div(x, y, out=None, name=None)
* add gpu and dygraph unittests.
* Performance optimization: scale op is not called when alpha=1.
* op error message optimization.
5 years ago
Huihuang Zheng
036121b731
[Dy2stat] Make loop_transformer supports class variable ( #23478 )
...
This CR makes two changes:
1. In old loop_transformer, if a class variable, such as "self.a, foo.bar" is a loop var, the Dy2stat will fail because `def func(self.foo)` is not legal syntax. We support class variable by renaming.
2. After https://github.com/PaddlePaddle/Paddle/pull/22892 is merged, we can support `while x < 10` in dygraph. I enable those tests in corresponding Dy2stat
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
mamingjie-China
1a8d6ee371
add a new op paddle.sort() to API 2.0 test=develop ( #23470 )
...
* add a new op paddle.tensor.sort(), test=develop
* add a new op paddle.sort(), test=develop
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
Aurelius84
4955c97ee8
Add unitTest for `Tensor==constant` for ifElse in dygraph2static ( #23407 )
...
* Add unitTest for `Tensor==constant` for ifElse in dygraph2static test=develop
5 years ago
Wilber
9676ac1c5c
Add flip op. ( #23255 )
...
* add flip op
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
gongweibao
24a063f6ac
Add fleet checkpoint on local fs and remote fs(such as hdfs) for EDL ( #22586 )
5 years ago
xujiaqi01
ebae6fb6b9
fix gen_worker_desc in hogwild ( #23423 )
...
* fix gen_worker_desc in hogwild, it may cause error in transpile mode
* test=develop
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
liym27
03deb41d73
API (switch_case) error message enhancement. test=develop ( #23429 )
5 years ago
liym27
cd348dc467
API (case) error message enhancement. test=develop ( #23428 )
5 years ago
cc
3ea7c59f76
Set fuse_all_reduce_ops=false for quantization test, test=develop ( #23413 )
5 years ago
zhongpu
7ca836d3da
support if logic for Variable in dygraph ( #22892 )
...
* support if logic for Variable in dygraph, test=develop
* fix test_learning_rate_scheduler.py, test=develop
* fix optest, test=develop
* fix error message, test=develop
* fix optest,test=develop
* fix comment, test=develop
5 years ago
zhongpu
166a1ae902
support forward hook for dygraph ( #22443 )
...
* support forward hook for dygraph, test=develop
* add optest for forward_hook in dygraph, test=develop
* add optest, test=develop
* polish code, test=develop
* add sample code, test=develop
* rename forwrd_hook to forward_post_hook, test=develop
* fix the api description, test=develop
* fix api description, test=develop
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
cc
7c55a94de5
Disable test_quantization_scale_pass unittest for random error, test=develop ( #23441 )
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
XiaoguangHu
8cf2c38ccb
fix error in paddle.tensor test=develop ( #23433 )
5 years ago
YuHaoXiang
ee58ad62b6
import core in rnn.py ( #23394 )
5 years ago
xujiaqi01
21f59779ea
fix dump slot in strategy ( #23398 )
5 years ago
Zeng Jinle
f217837654
fix gc transformer ut, test=develop ( #23421 )
5 years ago
wangchaochaohu
17babe4d55
add full op API ( #23112 )
5 years ago
Zhou Wei
7fda333ac1
add new method of gradient_clip, better to use,test=develop ( #23224 )
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
songyouwei
738c84644b
support tensor array create read write in dygraph ( #23200 )
...
* support tensor array create read write in dygraph
test=develop
* minor fix
test=develop
* support tensor_array_to_tensor
test=develop
* add while loop case and err msg
test=develop
* refine ut
test=develop
5 years ago
Leo Chen
f944b0f6fc
Dev/add l1 loss ( #23322 )
...
* add L1Loss
* support L1Loss, test=develop
* add test, test=develop
* fix batch, test=develop
* follow comments, 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
Wojciech Uss
9fd9067455
handle conv2d activations in older QAT models ( #23202 )
5 years ago
Kaipeng Deng
21d95be0db
Add inplace abn op ( #22806 )
...
* add inplace_abn_op. test=develop
5 years ago
Zeng Jinle
3a21980b78
add reader dependency pass, test=develop ( #23301 )
5 years ago
wangchaochaohu
2fe0758f67
fix the doc of fill_constant test=develop ( #23336 )
5 years ago
Huihuang Zheng
1d4d89baf8
[Dy2stat] Add data_layer_not_check ( #23351 )
...
1. Add data_layer_not_check because it is needed in dygraph_to_static where input can be variable size
2. Remove warnings in static analysis because python cannot do exact static analysis
5 years ago
wangchaochaohu
d280106007
Add support for attr type Op and add fill_constant Op and scale Op ( #23163 )
...
* add attr support for fusion group and add support for fill_constant and scale Op
5 years ago