Wojciech Uss
3d744162dd
QAT: support for new models ( #23928 )
...
* QAT: support range-based quantization and scales from attribute
* added support for channelwise
6 years ago
Xing Wu
f6e8bf0d24
update cudnn rnn weights, test=develop ( #23929 )
6 years ago
Yibing Liu
720d18990c
Init complex number neural network ( #24018 )
...
* Init complex number neural network, test=develop
* Improve doc writing, test=develop
* Fix elementwise add & sub, test=develop
* Fix elementwise mul act, test=develop
* a) add ut for complex variable; b) remove arg act in elementwise_ops. test=develop
6 years ago
guofei
96491e43b7
Repair unittest: test_dyn_rnn ( #24031 )
...
Repair unittest: test_dyn_rnn
6 years ago
Qinghe JING
13b03e7ad6
add gather split squeeze stack unsqueeze api ( #24035 )
...
* add gather split squeeze stack unsqueeze api test=develop
* add gather split squeeze stack unsqueeze api test=develop
* fix bug test=develop
* fix bug test=develop
* fix bug test=develop
* fix bug test=develop
* fix bug test=develop
6 years ago
0YuanZhang0
a164b10d05
API/OP error message enhancement ( #23717 )
...
* test=develop
6 years ago
Zeng Jinle
acef55df04
fix isolated var fetch bug, test=develop ( #24070 )
6 years ago
Guo Sheng
54a47cd271
Add tracks_own_finished to Decoder to avoid mismanagement of the finished state in dynamic_decode. ( #23664 )
...
test=develop
6 years ago
Xing Wu
614eb942fc
upload code for tensor.rand ( #23507 )
...
* upload code for tensor.rand
* fix import
* update example, change paddle.tensor.rand to paddle.rand
* change 'variable' to 'Variable', test=develop
change 'variable' to 'Variable' in description, test=develop
* add pre-commit check
* add pre-commit check
* pre-commit check, test=develop
* add more unittest code
* trigger ci, test=develop
* pre-commit check, test=develop
* update api and test comment, test=develop
* update api and test comment, test=develop
* add more type check, test=develop
* add detail error info for device, test=develop
* add unnittest, test=develop
* resolve conflict and pre-commit check, test=develop
6 years ago
Leo Chen
5cccc69f1a
update name generator, test=develop ( #24048 )
...
* update name generator, test=develop
* use c++ unique name generator, test=develop
6 years ago
Guo Sheng
da803415cf
Make layers.reshape/expand/slice in dygraph support var inputs. ( #22920 )
...
* Make layers.reshape/expand/slice in dygraph support var inputs.
Make transpose support size 0.
test=develop
* Update layers.expand and layers.slice to support var inputs.
test=develop
6 years ago
ceci3
488f357728
fix bceloss weight ( #23973 )
...
* update docs, test=develop
* polish eng docs, test=develop
6 years ago
Zhou Wei
6f5669f9bf
Add note about the time cost and change HTTPS to HTTP to avoid unable to download( #24043 )
6 years ago
Kaipeng Deng
10d85208bf
fix test_multiprocess_dataloader_base timeout. test=develop ( #24053 )
6 years ago
liu zhengxi
8dfb240a64
disable trt test, test=develop ( #23984 )
6 years ago
yongqiangma
89cf4f90ec
lod_rank_table error message enhance ( #23613 )
...
* lod_rank_table error message enhance. test=develop
6 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
6 years ago
Zhang Ting
f5d76b50ec
polish the dist doc, test=document_fix ( #23982 )
6 years ago
GaoWei8
62e647c3c0
polish lod_append,lod_reset test ( #23979 )
6 years ago
Kaipeng Deng
80cf3c3c4d
Refine DataLoader support multi-processing ( #23107 )
...
* add DataLoader, Dataset, BatchSampler
6 years ago
wangguanzhong
931cba2e64
add clamp api, test=develop ( #23273 )
...
* add clamp api, test=develop
6 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
6 years ago
silingtong123
f6dbf8e3a4
add 'seed' arguemnt of randint API ( #23809 )
...
* test=develop, add seed arguemnt of randint API
6 years ago
danleifeng
7049f301ee
fix example bug;test=develop ( #23893 )
6 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
6 years ago
liu zhengxi
8e555ba650
OP(pad, pad2d, pad_constant_like) error message enhancement ( #23882 )
...
* enhance pad.* error message, test=develop
6 years ago
zhangchunle
6bd200db66
remove high level api ( #23854 )
6 years ago
liuwei1031
94fdb8eb59
tweak doc of dot and logsumexp, test=develop ( #23925 )
6 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
6 years ago
Yiqun Liu
8d0b0cb4ae
Op(conv2d_fusion) error message enhancement. ( #23596 )
6 years ago
Yang Zhang
011bcc9f52
Add `paddle.nn.loss.MSELoss` ( #23399 )
...
* Add `paddle.nn.loss.MSELoss`
test=develop
* Move to `nn/layer/loss.py`
test=develop
* Add test
test=develop
* Fix dygraph
test=develop
* Increase numel in test
test=develop
* Add test for input with more dimensions
test=develop
6 years ago
0YuanZhang0
2a38f12382
ADD Manual seed op into paddle.framework ( #23537 )
...
* test=develop
Co-authored-by: wuxing03 <wuxing03@baidu.com>
6 years ago
liym27
1507f77a18
Fix bug in convert_call because difference exists between python3 and python2. test=develop ( #23966 )
6 years ago
gfwm0502
455ed26708
Modify English documents of while and while_loop ( #23934 )
...
test=develop test=document_fix
6 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
6 years ago
Kaipeng Deng
20b1b080f7
fix logger propagate. test=develop ( #23961 )
6 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
6 years ago
liym27
0b0adbf9b6
[dy2static]Support recursive call ( #23900 )
...
* [Dy2Stat]Support recursive call.
* Remove Redundant decorator to pass the Py35 unittest temporarily.
6 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
6 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
6 years ago
GaoWei8
e9289e8c22
enhanced lod_append, lod_reset english doc ( #23803 )
6 years ago
Huihuang Zheng
45e48c3c32
[Dy2stat] Add Test and Example Code for Different Access to ProgramTranslator and Fix Related Bug ( #23958 )
...
To prepare for publishing APIs, I added tests for that we can access dy2stat through:
@fluid.dygraph.declarative
@fluid.dygraph.jit.declarative
fluid.dygraph.ProgramTranslator()
fluid.dygraph.dygraph_to_static.ProgramTranslator()
fluid.dygraph.dygraph_to_static.program_translator.ProgramTranslator()
It surprised me that we had bugs on those different usages. I have fixed them.
I also added example codes for these new APIs
This PR also pulls my current PR https://github.com/PaddlePaddle/Paddle/pull/23880 , so the PR history is long. For reviewer information, you could review this PR after https://github.com/PaddlePaddle/Paddle/pull/23880 is merged
6 years ago
Steffy-zxf
cca5f8fa1c
fix paddle.tensor.pow api example typo in api2.0
...
change the exponet_tensor to exponent_tensor in the pow api
6 years ago
Zhou Wei
8002b2beb4
Avoid logging.info be printed many times in dygraph_mode,test=develop ( #23932 )
6 years ago
kinghuin
53fb0e92cc
fix compare and logical ops cond/out parameter doc bug, test=develop ( #23862 )
...
fix compare and logical ops cond/out parameter doc bug,correct the dtype message
6 years ago
GaoWei8
0be4b04d13
Api (lod_append) error message enhancement ( #23541 )
6 years ago
Huihuang Zheng
81c4def96a
[Dy2stat] Rename Dygraph To Static Decorators ( #23880 )
...
1. Rename Dygraph To Static Decorators to declarative
2. dygraph_to_static_func is still using in some training tests, I cannot delete it now.
3. Add some API docs
6 years ago
hutuxian
65f495c9fa
remove print statement to make code clean( #23907 )
6 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
6 years ago
Zhou Wei
66dc8e30f0
move the initialize position of grad_clip to optimizer(__init__),and speed up clip ( #23782 )
6 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
6 years ago
liym27
b3520b14fc
Get answer code from function instead of str. test=develop ( #23904 )
6 years ago
liym27
37ef7c1351
[dy2static]Fix a bug of is_dygraph_api and move BasicApiTransformer to a separate file( #23923 )
...
* Move BasicApiTransformer to a separate file. test=develop
* Fix a bug: A api in module is not a real dygraph api in dygraph_to_static. test=develop
6 years ago
liuwei1031
c645d23519
improve efficiency of dot op in dygraph mode ( #23856 )
...
* improve efficiency of dot op in dygraph mode
* add comments for dot op for dygraph behavior
6 years ago
liu zhengxi
53cfac9492
Fix trt fc fuse test ( #23852 )
...
* fix trt fc fuse test, test=develop
* fix trt_transpose_flatten_concat shape, test=develop
6 years ago
Bai Yifan
477cb1fdb3
Add addcmul, test=develop ( #23411 )
...
* add addcmul, test=develop
6 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
6 years ago
gfwm0502
d8ca66dae2
Modify documents of executor and randn and fix other errors ( #23879 )
...
test=develop
6 years ago
gfwm0502
a756360263
OP/API (While/while_loop/DynamicRNN) : Error Message Enhancement ( #23896 )
...
As the title
6 years ago
lijianshe02
e21b3c273e
add nll_loss op test=develop ( #23758 )
...
* add nll_loss op test=develop
6 years ago
cc
40aa14ec77
Weight quantization support channel_wise_abs_max method to achieve higher accuracy ( #23629 )
...
* Weight quantization support channel_wise_abs_max method to achieve higher accuracy
6 years ago
Chen Weihang
1747bbdbab
disable test imperative data loader exception, test=develop, test=document_fix ( #23933 )
6 years ago
Chen Weihang
fccbc485f5
remove redundant visit func, test=develop ( #23877 )
6 years ago
Liufang Sang
f5fac6fdb2
add paddle.std api ( #23825 )
...
* add paddle.std api test=develop
* update test=develop
* fix example code format test=develop
6 years ago
mapingshuo
f0e743f136
fix AMP and recompute ( #23551 )
...
* allow amp and recompute working together
6 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
6 years ago
zhupengyang
56c54cccbd
Op(prelu/relu/f.relu/f.log_softmax) error message enhancement ( #23792 )
6 years ago
gfwm0502
af149f2595
OP(compare/get_places/shrink_rnn_memory) error message enhancement ( #23780 )
...
As the title.
6 years ago
Qinghe JING
476294183c
fix bug in reduce op ( #23795 )
...
* fix bug in reduce op test=develop
* fix bug in reduce op test=develop
6 years ago
Chen Weihang
5b97b8556e
remove train eval set in static runner, test=develop ( #23834 )
6 years ago
liu zhengxi
7b522183c0
API (create_parameter, create_global_var) error message enhancement ( #23623 )
...
* error message enhancement create_parameter create_global_var, test=develop
* use six.PY2 to use long, test=develop
* fix input dtype for create_parameter, test=develop
6 years ago
zhongpu
1f8d8a5358
remove dygraph api to paddle.imperative, test=develop ( #23628 )
6 years ago
Chengmo
ddd604446b
Fix judge pslib transpiler ( #23720 )
...
* fix judge pslib & ranspiler
6 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
6 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
6 years ago
songyouwei
8f63a3ecff
fix no_grad argspec ( #23790 )
...
test=develop
6 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
6 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
6 years ago
yaoxuefeng
5b69242fab
modify datanorm op test=develop ( #23030 )
6 years ago
suytingwan
3e1676fa9a
Add meshgrid op ( #23736 )
...
* test=develop fix api doc error
6 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
6 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
6 years ago
123malin
2e4196f647
add new api for Paddle2.0: nonzero, index_selct, roll, cross ( #23176 )
6 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
6 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
6 years ago
Bai Yifan
4231d84077
enhance some op/api error message ( #23768 )
...
* enhance error message, test=develop
6 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
6 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
6 years ago
Zeng Jinle
c49791362f
Correct reader device index ( #23802 )
...
* correct reader device index, test=develop
* fix async executor scope var initialization, test=develop
6 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
6 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
6 years ago
yongqiangma
afb2cb7c9c
lod_tensor_to_array error message enhance. ( #23615 )
...
* lod_tensor_to_array error message enhance. test=develop
6 years ago
joanna.wozna.intel
12ba05ce0c
Add scale-matmul fuse pass ( #23734 )
6 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
6 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
6 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.
6 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.
6 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>
6 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
6 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
6 years ago
xujiaqi01
15ce8e21d8
add unit accessor ( #23703 )
...
* add unit accessor in fleet, support DownpourUnitAccessor
* test=develop
6 years ago
mapingshuo
6b4a51bae3
add cuda kernel for seed, test=develop ( #23749 )
...
* add cuda kernel for seed, test=develop
6 years ago
xiaoting
a9fe09f85a
polish error message ( #23696 )
...
* polish error message, test=develop
6 years ago
GaoWei8
ff0ab75662
polish tensor.where codes and english document ( #23687 )
6 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
6 years ago
zhongpu
d77bc12e11
fix install error in py36, test=develop ( #23676 )
6 years ago
zhongpu
2beb6eacba
fix if logic in dygraph ( #23728 )
...
* fix if logic in dygraph, test=develop
* fix bug, test=develop
6 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
6 years ago
Yiqun Liu
9e85d02373
Avoid crash when calling ctx->HasInputs and add the check of shape in fill_copnstant op. ( #23698 )
6 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)
6 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.
6 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++)
6 years ago
hutuxian
6f7077db25
Add logs to debug random fail ( #23731 )
6 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
6 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
6 years ago
wangchaochaohu
fb34bdb40c
API/OP(fill_constant) error message enhancement ( #23584 )
6 years ago
ceci3
25ef38bc05
Fix bce_loss ( #23746 )
...
* fix bce_loss,test=develop
6 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
6 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 )
6 years ago
liuwei1031
b61aaa2c10
add logsumexp op, test=develop ( #23585 )
6 years ago
liuwei1031
2fd728a978
add new dot op( #23418 )
6 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
6 years ago
hong19860320
b8d0750109
Add Sigmoid and sigmoid op in paddle.nn and paddle.nn.functional ( #23334 )
6 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
6 years ago
liym27
fbdf77917e
fix example code of api data/switch_case to keep cn-doc and en-doc consistent ( #23670 )
6 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
6 years ago
FlyingQianMM
b4be5ef5ec
OP(retinanet_detection_output, retinanet_target_assign, sigmoid_focal_loss, deformable_roi_pooling) error message enhancement. test=develop ( #23726 )
6 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
6 years ago
xujiaqi01
70f7c23fd2
fix add dense table ( #23681 )
...
* fix add dense table
test=develop
* fix
test=develop
* fix
test=develop
6 years ago
xujiaqi01
d98084e7ec
add save with prefix ( #23449 )
...
* add save with prefix
* test=develop
6 years ago
Guanghua Yu
588eb8e2ea
Add `paddle.nn.loss.CrossEntropyLoss` op ( #23669 )
...
* add cross_entropy_loss,test=develop
* fix some commnet,test=develop
6 years ago
FDInSky
0a878be817
modify some op for dyg rcnn ( #23648 )
...
* test=develop modify some op for dyg rcnn
6 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
6 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
6 years ago
Chen Weihang
a2315d37cf
remove logging setting, test=develop ( #23715 )
6 years ago
wawltor
05476e9f69
Fix the matmul test case, avoid double and float precision diff
...
reduce the pricision of test case for matmul
6 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.
6 years ago
zhupengyang
6dd9901b3c
add activation ops under paddle.nn and paddle.nn.functional: ReLU, LogSoftmax ( #23258 )
6 years ago
songyouwei
0307393721
API(PRelu) error message enhancement ( #23539 )
...
* err msg enhance for PRelu
* add ut
test=develop
6 years ago
songyouwei
cae9340ec8
API(GRUUnit) error message enhancement ( #23535 )
...
* err msg enhance for GRUUnit
* add ut
test=develop
6 years ago
songyouwei
475de6da22
API(Embedding) error message enhancement ( #23533 )
...
* err msg enhance for Embedding
* add ut
test=develop
6 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
6 years ago
zhupengyang
5b3dd80633
Op(prelu) error message enhancement ( #23616 )
6 years ago
Chen Weihang
0581d74d56
try to fix test imperative se resnet, test=develop ( #23700 )
6 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
6 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
6 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
6 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
6 years ago
Zhang Ting
4773e3f541
add dist op ( #23503 )
...
* add dist op
6 years ago
littletomatodonkey
1c08a2136e
test=develop, add addmm op ( #23384 )
...
add addmm op
6 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
6 years ago
Wojciech Uss
1753860dd0
Enable matmul and cleanup in QAT2 ( #23657 )
6 years ago
songyouwei
4d0efee4f4
Linear revert to matmul op ( #23654 )
...
test=develop
6 years ago
GaoWei8
517929f148
Op (reorder_lod_tensor_by_rank) error message enhancement ( #23552 )
6 years ago
wangchaochaohu
3ea6899f8b
API(fluid.layers.array_read/array_write) error message enhancement ( #23568 )
6 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
6 years ago
silingtong123
f9e2a27963
error message of SpectralNorm OP enhancement ( #23516 )
6 years ago
zhongpu
076dcdfde9
add instance_norm op for dygraph ( #23362 )
...
* add instance_norm op for dygraph, test=develop
* add error message, test=develop
6 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
6 years ago
Zhou Wei
1f83069117
API(to_variable/save_dygraph) error message enhancement( #23683 )
...
* API(to_variable/save_dygraph) error message enhancement
6 years ago
Wilber
286c2e0ede
error message enhancement for py_func op. ( #23565 )
...
error message enhancement for py_func op.
6 years ago
hutuxian
94a3789fd0
Add AfsAPI in PaddleBox ( #23419 )
...
* Involves AfsAPI to resolve slow downloading.
* Mainly used in PaddleBox
6 years ago
liym27
d7dd4e1d36
Add unittest for se_resnet in dygraph_to_static. test=develop ( #23566 )
6 years ago
zhupengyang
7b648ad1a5
Op(relu) error message enhancement ( #23510 )
6 years ago
zhupengyang
5d970b586b
Op(leaky_relu) error message enhancement ( #23627 )
6 years ago
zhongpu
60d1f98a7d
error message enhancement for Pool2D, test=develop ( #23607 )
6 years ago
liym27
f9c9d50e7e
Return VarBase of ProgramTranslator.get_output instead of numpy.ndarray. test=develop ( #23663 )
6 years ago
zhongpu
01a78323a7
API/OP (Conv2DTranspose) error message enhancement ( #23590 )
...
* error message enhancement for Conv2DTranspose, test=develop
* fix error_message, test=develop
6 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
6 years ago
Leo Chen
795a0a9ab4
fix a typo, test=develop ( #23685 )
6 years ago
wangguanzhong
c2f5a3ad34
enhance the error message of roi_align, test=develop ( #23649 )
6 years ago
silingtong123
cec234b1aa
test=develop, error message of tree_conv OP enhancement ( #23574 )
6 years ago
silingtong123
7277df47bb
error message of NCE API enhancement ( #23544 )
...
* error message of NCE API enhancement
6 years ago
Chen Weihang
f10100ebe4
API (save/load series) error message enhancement ( #23644 )
6 years ago
wangchaochaohu
f39899a43d
API(create_tensor) error message enhancement ( #23571 )
6 years ago
Kaipeng Deng
b465bb0de7
fix adaptive_pool2d/pool3d error message. test=develop ( #23658 )
6 years ago
Tao Luo
97b0968744
disable parallel_executor usage in test_profiler ( #23701 )
6 years ago
wawltor
595e9c5a5f
Fix the test case bug for matmul, test=develop ( #23674 )
...
Fix the bug of matmul test_case
6 years ago
songyouwei
a1a95f8108
fix no_grad signature ( #23600 )
...
* fix no_grad signature
test=develop
* check func name instead of doc
test=develop
6 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
6 years ago
zhongpu
d40c52403d
error message enhancement for Linear, test=develop ( #23595 )
6 years ago
zhongpu
c1c8c7e431
error message enhancement for Conv2D, test=develop ( #23561 )
6 years ago
zhupengyang
17bee1d9a0
Op(brelu) error message enhancement ( #23606 )
6 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
6 years ago
Huihuang Zheng
a82ce2b1bb
API/OP (ConditionalBlock) error message enhancement ( #23480 )
...
API/OP (ConditionalBlock) error message enhancement (#23480 )
6 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
6 years ago
wangchaochaohu
81e8fd4a3e
API(fluid.layers.array_length) error message enhancement ( #23547 )
6 years ago
wangguanzhong
6bb8206d03
enhance the error message of box_clip, test=develop ( #23638 )
6 years ago
liym27
8987946fe2
Api/Op (select_input/select_ouput) error message enhancement. ( #23445 )
6 years ago
Aurelius84
fab9464f84
API(fluid.gridents) error message enhancement ( #23450 )
...
* API(fluid.gridents) error message enhancement test=develop
* fix unitest failed test=develop
6 years ago
Aurelius84
d37cd74033
Polish set_optimizer Interface ( #23588 )
6 years ago
Chen Weihang
f301eb7f34
api dygraph layer norm input check, test=develop ( #23534 )
6 years ago
Kaipeng Deng
d7e549f568
fix yolov3_loss gt_score check in dygraph. test=develop ( #23634 )
6 years ago
Zhou Wei
629b6c7896
add the prompt message of repeated settings of regularization,test=develop ( #23355 )
6 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
6 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
6 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
6 years ago
GaoWei8
66cae9157e
Op (lod_reset) error message enhancement ( #23499 )
6 years ago
gongweibao
63bfe0b946
Fix the default value bug of started port in launch.py. ( #23531 )
6 years ago
liym27
4cbed3a3f6
API (layers.data/fluid.data) error message enhancement ( #23427 )
...
* Api (fluid.data/layers.data) error message enhancement. test=develop
6 years ago