FDInSky
7fedf26b87
add linear interpolate operator ( #23357 )
...
* test=develop add linear interpolate operator
6 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
6 years ago
Xing Wu
fff5cfa353
Fix error info ( #23891 )
...
* fix error info for rnn related api
* passed local test, test=develop
* double check the code
* double check the code, test=develop
* update 'shape' check in RNNCell, test=develop
* add long dtype to RNNCell
* fix long type in python3
Co-authored-by: XingWu01 <wuxing@iie.ac.cn>
6 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
6 years ago
yongqiangma
74803f5190
add unbind python api ( #24141 )
...
* add unbind pyhon api. test=develp
6 years ago
zhongpu
61d19a8e1c
fix if logic in dygraph, test=develop ( #24208 )
6 years ago
GaoWei8
ec00d11204
fix lod_reset check dtype ( #24133 )
...
test=develop
6 years ago
Guo Sheng
663eca451d
Fix dygraph dropout seed. test=develop ( #24177 )
6 years ago
HappyAngel
896bda0c98
python API(get_tensor_from_selected_rows and tensor_array_to_tensor)error message enhance, test=develop ( #23636 )
6 years ago
Zhong Hui
9ec9fc0f36
fix the set dtype bug of uniform_random op,support set the dtype
...
fix the bug in inferVartype in the uniform_random op, add the support the set of dtype
6 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
6 years ago
0YuanZhang0
a164b10d05
API/OP error message enhancement ( #23717 )
...
* 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
liu zhengxi
8e555ba650
OP(pad, pad2d, pad_constant_like) error message enhancement ( #23882 )
...
* enhance pad.* error message, test=develop
6 years ago
GaoWei8
e9289e8c22
enhanced lod_append, lod_reset english doc ( #23803 )
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
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
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
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
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
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
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
yaoxuefeng
5b69242fab
modify datanorm op test=develop ( #23030 )
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
123malin
2e4196f647
add new api for Paddle2.0: nonzero, index_selct, roll, cross ( #23176 )
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
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
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
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
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
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
FlyingQianMM
b4be5ef5ec
OP(retinanet_detection_output, retinanet_target_assign, sigmoid_focal_loss, deformable_roi_pooling) error message enhancement. test=develop ( #23726 )
6 years ago
FDInSky
0a878be817
modify some op for dyg rcnn ( #23648 )
...
* test=develop modify some op for dyg rcnn
6 years ago
zhupengyang
5b3dd80633
Op(prelu) error message enhancement ( #23616 )
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
Wilber
286c2e0ede
error message enhancement for py_func op. ( #23565 )
...
error message enhancement for py_func op.
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
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
wangguanzhong
c2f5a3ad34
enhance the error message of roi_align, test=develop ( #23649 )
6 years ago
Kaipeng Deng
b465bb0de7
fix adaptive_pool2d/pool3d error message. test=develop ( #23658 )
6 years ago
zhupengyang
17bee1d9a0
Op(brelu) error message enhancement ( #23606 )
6 years ago
GaoWei8
66cae9157e
Op (lod_reset) error message enhancement ( #23499 )
6 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
6 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
6 years ago
Tao Luo
0b583235f5
Revert "Solve the conflict of ops with the same name. ( #23199 )" ( #23494 )
...
This reverts commit abe3e6906d .
test=develop
6 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
6 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
6 years ago
Kaipeng Deng
21d95be0db
Add inplace abn op ( #22806 )
...
* add inplace_abn_op. test=develop
6 years ago
xujiaqi01
3a45767d49
add fleet pslib pull and push sparse op and push dense op ( #23139 )
...
* add fleet pslib pull and push sparse op and push dense op
* test=develop
6 years ago
Leo Chen
488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators ( #23181 )
...
* expand parameters, test=develop
* support resnet, test=develop
* fix resnet, test=develop
* support duplicable out, test=develop
* support ptb
* fix bugs, test=develop
* support null input, test=develop
* fix bugs, test=develop
* fix batchNorm is_test, test=develop
* refine code, test=develop
* follow comments, test=develop
* follow comments, test=develop
* follow comments, test=develop
* follow comments, test=develop
6 years ago
GaoWei8
20eed5401a
Change fluid.layers.where‘s C++ operator name ( #23250 )
6 years ago
songyouwei
9203aaf185
fix unittest for coverage ( #23007 )
...
test=develop
6 years ago
liym27
44b1343aab
Support LoDTensorArray in stack/concat api for transformation of list dygraph_to_static ( #22987 )
...
* Support that the input(x) of stack api is a LoDTensorArray. test=develop
* Support that the input of concat api is a LoDTensorArray. test=develop
* Add tests to test stack/concat called in dygraph_to_static. test=develop
6 years ago
yaoxuefeng
29a7a52d38
Fix instag ( #22632 )
...
* update
* update test=develop
* update compile set test=develop
* update compile set test=develop
* update test=develop
* update test=develop
* update test=develop
* update compile setting test=develop
* update compile setting test=develop
* update run demo test=develop
* update test=develop
* update test=develop
* fix test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update format test=develop
* update format test=develop
* update style test=develop
* update style test=develop
* change style test=develop
* change style test=develop
* change style test=develop
* add dataset unittest test=develop
* update test=develop
* update for record test=develop
* udpate style for record test=develop
* update for record test=develop
* update for record test=develop
* update for record test=develop
* fix format test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* update test=develop
* fix compile warning test=develop
* add attr default test=develop
* add unittest test=develop
* fix style test=develop
* fix style test=develop
* change out_val_ifempty to out_val_if_empty test=develop
6 years ago
wawltor
1daa66559f
Fix the elementwise_min API BUG, use the elementwise_min replace elementwise_max. ( #22880 )
...
In elementwise_min api doc has the error, all the api just use the elementwise_max op, we just correct the doc.
6 years ago
tianshuo78520a
433cef03e5
fix typo word ( #22784 )
6 years ago
mamingjie-China
a5b0758ff7
fix the doc in elementwise_add elementwise_sub elementwise_mul elementwise_div
...
fix the doc in elementwise ops,add the override function in the doc
6 years ago
tianshuo78520a
d2ba91aad1
fix typo words ( #22653 )
6 years ago
liym27
17a6b50fe3
support num_flatten_dims=-1 of API fc. ( #22634 )
...
* support num_flatten_dims=-1 of API fc. test=develop
* fix name of class Test* and add CUDAPlace test. test=develop
6 years ago
zhouwei25
d86007775f
fix py_func bug when out is list and add unittest case ( #22595 )
6 years ago
Tao Luo
6b7bb6b54a
change check_type_and_dtype to check_variable_and_dtype ( #22465 )
6 years ago
songyouwei
99f5907e02
Fix layer & dygraph circular dependent ( #22334 )
...
* fix circular dependent
* try import layers.nn from dygraph
test=develop
6 years ago
Leo Chen
d4bdbf8cf0
Polish nn code, test=develop ( #22237 )
...
* refine code, test=develop
* reuse contain_var, test=develop
6 years ago
Leo Chen
51cb918a05
update layers used in transformer dygraph model, test=develop ( #22051 )
...
* update layers, test=develop
* update layers for resnet, test=develop
* fix is_test attr, test=develop
* update cycle_gan, test=develop
* update reinforcement_learning, test=develop
* update ocr, test=develop
* fix bug, test=develop
6 years ago
mapingshuo
ccac636d5e
add example for reshape op ( #22129 )
...
* add example for reshape op
6 years ago
zhongpu
cf475f95df
Remove FC in dygraph, modify FC to Linear in sample code ( #22082 )
...
* modify fc to linear in sample code, test=develop
* remove FC, test=develop
* remove warnings, test=develop
* drop fluid/imperative/README.md , test=develop
* change fc to linear, test=develop
* polish code style, test=develop
6 years ago
Double_V
6ea3809143
Support prroi_pool_op with Tensor and LoDTensor rois ( #20649 )
...
1. Add a new input named batch_roi_nums for prroi_pool_op. batch_roi_nums includes the number of roi for each image in batch when rois is Tensor. This information is saved in rois's lod when rois is LoDTensor.
2. add grad check to prroi_pool_op and solve unnormal X grad diff in CPU.
6 years ago
Qinghe JING
288b1e75de
Fix segmentation fault bug in reduce ops ( #22079 )
...
* fix dim=[] bug in reduce ops
6 years ago
Yibing Liu
c1fea3e3e2
Fix example in log_loss doc ( #22052 )
...
* Fix example in log_loss doc, test=develop
* Use none for unknown dim, test=develop, test=document_fix
6 years ago
ceci3
95d79b6d00
update error log for batch_norm_grad ( #22017 )
...
* update error information about batch_norm_grad
* update bn,test=develop
6 years ago
ShenLiang
b68f4e006d
Fix the doc of scatter_nd ( #22015 )
...
fix the doc of scatter
6 years ago
Leo Chen
33f1306753
update layers used in mnist dygraph model, test=develop ( #21947 )
...
* update layers used in mnist dygraph model, test=develop
* fix import issue, test=develop
* add dygraph utils, test=develop
* add unittest, test=develop
6 years ago
Leo Chen
310edc0d0c
Update layers used in ptb model to use auto-generated op functions in dygraph mode ( #21724 )
...
* update layers, test=develop
* fix input numpy, test=develop
* fix bugs, test=develop
* follow commments, test=develop
* update getitem, test=develop
6 years ago
zhouwei25
ecb2419e5c
increase the explanation doc of py_func ( #21631 )
...
* increase example code of py_func, fix some wrong description of English API doc
6 years ago
zhouwei25
e92d113590
fix bug that tuple(Variable) is converted to list(Variable) uncorrectly ( #21687 )
6 years ago
wangchaochaohu
29c3844585
fix doc typo test=develop ( #21566 )
6 years ago
lilong12
de46b15951
Unify the rank of prelu alpha to 4, corresponding to [N, C, H, W], except for the all mode
6 years ago
Aurelius84
4bf115b42d
Fix AdamOptimizer and Scale sample code Bug ( #21478 )
...
* fix adam sample code bug test=document_fix
* fix sample code bug in scale test=document_fix
7 years ago
ruri
94bef03539
Revert "Add masked select api ( #21172 )" ( #21456 )
...
This reverts commit 007c997572 .
7 years ago
wawltor
dbbe6e9cb6
fix the device supported of the op unique and unique_with_counts. ( #21395 )
...
* fix the device supported of the op unique and unique_with_counts.
test=develop
test=document_fix
* Fix the precision of test in the op of unique and unique_with_counts.
test=develop
test=document_fix
7 years ago
Jie Fang
5e813b53c5
nhwc optimization for batchnorm ( #21090 )
7 years ago
Kaipeng Deng
ebfb720a63
add Adam beta1/beta2 support Variable ( #21234 )
...
* add Adam beta1/beta2 support Variable. test=develop
7 years ago
ruri
007c997572
Add masked select api ( #21172 )
7 years ago
Kaipeng Deng
67c836fb5c
batch_norm momentum support variable ( #21246 )
...
* batch_norm momentum support variable. test=develop
* fix format. test=develop
* add batch_norm momentum variable example. test=develop
* move MomentumTensor to training branch. test=develop
* split example. test=develop
* fix doc. test=develop
* fix PADDLE_ENFORCE ci. test=develop
* fix format. test=develop
7 years ago
hutuxian
47a82e38e3
Support data_norm gpu kernel ( #21325 )
...
* support data_norm_op run in CUDA
* add two parameters sync_stats & summary_decay_rate
* add UT
7 years ago
lilong12
41d13209d7
add the framework support for distfc ( #21197 )
...
* add the framework support for distfc and ut, test=develop
* fix the implementation of shard_index_op, test=develop
7 years ago
Yi Liu
0fd1281ef8
fix bug of issue #21259 ( #21287 )
...
pass the argument `allow_out_of_range` of one_hot op to c++ back end.
7 years ago
ShenLiang
1f39a9f17e
fix the bug of scatter_nd, test=develop ( #21257 )
7 years ago
yaoxuefeng
b5d8ba8394
fix data_norm op to avoid impractical normalization result test=develop ( #21152 )
...
* fix auc drop first commit test=develop
* update datanorm op
* update datanorm with enforce test=develop
* update test=develop
* update format test=develop
* update format
* update format test=develop
* add unit test test=develop
* update unit test test=develop
* update format test=develop
* update format test=develop
* update API description test=develop
* update API description test=develop
* update format test=develop
* fix codes as comments test=develop
* fix description as comments test=develop
* fix description as comments test=develop
* update codes.. test=develop
7 years ago
Zhang Ting
9cbe7bccba
modified error message and API doc for channel_last supported Op ( #21002 )
...
* modified error message for conv and conv_transpose, test=develop
* modified doc of conv and conv_transpose op, test=develop
* modified the expression for error message, test=develop
* modified error message for group_norm op, test=develop
* modified detail of Attr(data_format) or Attr(data_layout)
* add ValueError in API doc for maxout op, test=develop
7 years ago
hong
835119c777
disable reshape inplace in dygraph model; test=develop ( #21157 )
7 years ago
Tao Luo
3976bbe2ce
add input type and dtype check template, and update some APIs check ( #21161 )
...
* add input type and dtype check template, and update some APIs check
* refine check template, and update some APIs check in nn.py
* update some APIs check in loss.py
test=develop
7 years ago
Tao Luo
8f659d4345
Split some APIs from nn.py to loss.py ( #21117 )
...
* Split some APIs from nn.py to loss.py
test=develop
* fix test_detection unit-test
test=develop
7 years ago
lilong12
e249d9a3e2
fix the computation for dx (grad for x) for prelu operation. ( #20949 )
...
* set the default value of alpha for prelu to 0.25, test=develop
* add the call to __syncthreads(), test=develop
* fix the implementation of cpu prelu, test=develop
* repair the implementation of element mode prelu, test=develop
* modify test_prelu_op.py, test=develop
7 years ago
Tao Luo
78cc1ca616
Split some APIs from nn.py to rnn.py and sequence_lod.py ( #21030 )
...
* split some APIs from nn.py to rnn.py
* split some APIs from nn.py to sequence_lod.py
test=develop
* fix unit-test bug
test=develop
* fix test_layers unit-test bug
test=develop
7 years ago
hong
72e0969b27
fix uniform random ( #21009 )
...
* fix uniform random; test=develop
* add uniform random test; test=develop
7 years ago
Wojciech Uss
226bc22a29
Remove fuse_with_relu argument from batch_norm constructor ( #21028 )
...
test=develop
7 years ago
liym27
f0e95a6049
Polish error messages of pool_2d/3d and add Raises in English document. test=develop ( #21017 )
7 years ago
Zhang Ting
de9bec607e
lrn supports channel_last input, test=develop ( #20954 )
7 years ago
liym27
7b4cb655bb
keep the size of symmetric padding is 2 for 2d and 3 for 3d. test=develop ( #20903 )
7 years ago
Zhang Ting
8d1e9f0f7e
maxout supports channel_last input ( #20846 )
...
* maxout support channel_last input, test=develop
* modified details of Input(X) and Attr(groups, axis) in doc, test=develop
7 years ago
liym27
6802539a2e
support Tensor for split and concat, support -1 in num_or_sections, add check num_or_sections ( #20780 )
...
* improve split and concat op:
1. support Tensor for argument 'dim' in split op.
2. support Tensor for argument 'axis' in concat op.
test=develop
* redefine function GetDataFromTensor and set unknown output shape to - 1.
test=develop
* add check: Attr(sections) match Input(X). test=develop
* support Tensor for attr(sections) and attr(sections) can contain -1.
add check for attr(sections).
test=develop
* modify error message for concat and call Resize only when necessary. test=develop
7 years ago
liym27
84d221b667
improve unsqueeze op to support int, Tensor for argument axes ( #20824 )
...
* improve unsqueeze op to support int, Tensor and Tensor list for argument axes.
test=develop
* call Resize only when necessary. test=develop
7 years ago
silingtong123
03d7f3ddb2
Make shape tensor support int32 ( #20757 )
...
* Make shape tensor support int32
7 years ago
Bai Yifan
6bdf99d37a
fix dcn doc about Mask introduction, test=develop, test=document_fix ( #20836 )
7 years ago
Zhang Ting
5a8d885d72
All elements in attr(shape) of crop_tensor can be -1 and int32/64 kernel registered ( #20756 )
...
* All elements in attr(shape) of crop_tensor can be -1, test=develop, test=document_preview
* fix the bug that attr(offsets) should be initialized, test=develop
7 years ago
石晓伟
37cd43545a
update the infer shape of matmul, test=develop ( #20717 )
...
* update the infer shape of matmul, test=release/1.6
* add unittests of matmul, test=release/1.6
* change func names, test=develop
7 years ago
zhongpu
702aad5a0a
remove assert statement to support sqeeze op in drgraph, test=develop ( #20763 )
7 years ago
Zhang Ting
80c97e560d
fix bias_attr's bug of conv and conv_transpose, test=develop ( #20704 )
7 years ago
zhongpu
efa10937bd
fix elementwise_floordiv_op and elementwise_mod_op ( #20534 )
...
* fix elementwise_floordiv_op and elementwise_mod_op, test=develop
* fix API.spec, test=develop
* fix API.spec, test=develop
7 years ago
danleifeng
46797f53de
fix small bug of error message for elementwise_add and elementwise_mul ( #20619 )
...
* fix error message for elementwise_add/mul;test=develop
* fix type error message;test=develop
7 years ago
石晓伟
a4753f3a79
Optimize error message of mean_op and matmul_op ( #20413 )
...
* add data type check, test=develop
* polish error messages, test=develop
* polish error messages, test=develop
* Remove support for the CPU architecture matmul, test=develop
* fix syntax bug, test=develop
7 years ago
JesseyXujin
2ff18e537f
add expand_as op, test=develop ( #20565 )
...
* add expand_as op, test=develop
* add expand_as op,test=develop
* add expand_as op,test=develop
* add nn.py, test=develop
* delele paddle_enforce, test=develop
7 years ago
lijianshe02
5c41805dc9
update mul_op input data type check test=develop ( #20552 )
7 years ago
Guo Sheng
bd99df715a
Fix basic_gru and docs of gru_unit and dynamic_gru ( #19393 )
...
* Fix docs of gru_unit and dynamic_gru.
Fix basic_gru in rnn_impl.py.
Add error messages for param_attr setting in layer_norm api.
Add int64 dtype for expand.
test=develop
* Reopen unit-tests of basic_gru/basic_lstm in rnn_impl.py.
test=develop
* Add unit test for layer_norm api.
test=develop
* Remove the deprecated gru doc fix. test=develop
* Fix basic_gru test coverage. test=develop
* Update API.spec. test=develop
* Update API.spec. test=develop
* Fix test_basic_gru coverage test. test=develop
* Update test_basic_gru in test_layers to use fluid.data
test=develop
* Update test_basic_gru for coverage. test=develop
7 years ago
Yuan Shuai
172e91c008
Refine error message of transpose_op ( #20437 )
...
* Refine error message of transpose.
* Fix transpose, multiplex, unsqueeze, unstack. test=develop, test=document_preview, test=document_fix
7 years ago
Diego Zhang
27d1ef6081
Refine seq enum expand mask pad ( #20344 )
...
* disable nccl test
* Update version.
* fix term core only
* fix transpiler error
* fix protobuf memory leak (#11177 )
fix protobuf memory leak
* "change eigen mirror"
* refine en doc sequence enum pad expand mask d2s
* refine seq enum expand mask pad test=develop, test=document_fix
* remove cn char test=document_fix
* spec test=document_fix
* code style test=document_fix
* test=document_fix
* test=document_fix
* test=document_fix
* test=document_fix
* test=document_fix
* test=document_fix
7 years ago
hong19860320
512c0bb04d
refine the en api doc of ones, zeros, reverse, assign, increment, hsigmoid and create_py_reader_by_data ops ( #20343 )
...
* refine the en api doc of ones, zeros, reverse, increment, hsigmoid and create_py_reader_by_data ops
test=develop, test=document_preview, test=document_fix
* refine eng doc for hsigmoid and create_py_reader_by_data ops
test=develop, test=document_preview, test=document_fix
* update API.spec
test=document_fix
* Fix the parameter name axis of reverse op in eng doc
test=develop, test=document_fix
* Update API.spec
test=develop, test=document_fix
* Refine eng doc of zeros, ones, reverse and assign op
test=develop, test=document_fix
* Update API.spec for assign, ones, zeros and reverse
test=develop, test=document_fix
* Fix data type of reverse op in eng doc
test=develop, test=document_fix
* Update API.spec for reverse op
test=develop, test=document_fix
7 years ago
Guo Sheng
dfd1eee7f7
Add seq2seq api related code ( #19820 )
7 years ago
silingtong123
e87cabb7f2
updates document of sequence_softmax, sequence_scatter, sequence_unpad ( #20269 )
7 years ago
silingtong123
d5aa2dd818
fix doc, updates API documents of uniform_random and uniform_random_batch_size_like ( #20316 )
7 years ago
liym27
5219efb14f
fix reshape input(x) error check on float16. test=develop ( #20529 )
7 years ago
LielinJiang
faa8e30a14
Set batch norm and data norm argument 'do_model_average_for_mean_and_var' default as True ( #20421 )
...
* fix_norm_model_average_bug
* test=develop
* refine comment test=develop
* refine comment test=develop
7 years ago
hong19860320
4d0d5e4cc7
refine eng doc for hard_sigmoid op ( #20442 )
...
* refine eng doc for hard_sigmoid op
test=develop
test=document_fix
* refine the description of hard_sigmoid
test=develop
test=document_fix
* update API.spec
test=document_fix
* Refine the decription of parameters of HardSigmoid op
test=develop, test=document_fix
* Update API.spec for hard_sigmoid op
test=develop, test=document_fix
7 years ago
Aurelius84
22823df2e2
enhance embedding error message test=develop ( #20246 )
...
* enhance embedding error message test=develop
* enforce .h error test=develop
* fix unittest code test=develop
* Fix fp16 dtype in embedding test=develop
* add import warnings test=develop
7 years ago
zhupengyang
95524a4d30
fix APIs: relu, relu6, hash ( #20416 )
...
* fix APIs: relu, relu6, hash
test=develop
test=document_fix
* fix relu6 doc
test=develop
test=document_fix
* fix API.spec
test=develop
test=document_fix
* add description link for hash
test=develop
test=document_fix
7 years ago
zhaoyuchen2018
057bce4d45
Refine topk stack squeeze api en doc ( #20367 )
...
* Refine topk stack squeeze api en doc
test=develop
test=document_fix
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* Refine api en doc
test=develop
test=decument_fix
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* refine api.spec and returns
test=develop
test=document_fix
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
7 years ago
lijianshe02
211f5b0319
enhance mul_op input error message test=develop ( #20414 )
...
* enhance mul_op input error message test=develop
7 years ago
wawltor
eb526e3f08
fix sign op input error check on float16 ( #20472 )
...
fix sign op input error check
test=develop
7 years ago
Guo Sheng
101e20e92e
Update some en api docs ( #20496 )
...
* Fix api docs. test=document-fix
* Fix en docs. test=develop
* Fix the doc of dynamic_gru. test=document_fix
* Update API.spec. test=document_fix
* Fix codestyle test=develop, test=document_fix
7 years ago
GaoWei8
5ea2cc6733
fix API:cos, exp, ceil, elu, brelu English doc ( #20032 )
...
* fix API:cos, exp, ceil, elu, brelu English doc
test=develop
test=document_fix
7 years ago
ruri
e705fede11
refine 13 en docs ( #20312 )
...
* refine 13 en doc
7 years ago
wopeizl
3044a62f2a
fix the precise roi poop op test=develop ( #20126 )
...
* fix the precise roi poop op test=develop
add roi backward implementation, fix the output-channel
7 years ago
Aurelius84
2213ae6bf9
Fix fp16 in input.dtype check in layers.fc ( #20467 )
...
* Add fp16 in input.dtype check test=develop
* Add warning of fp16 in CPU test=develop
* add unittest code for fp16 test=develop
* fix float16 list error test=develop
7 years ago
qingqing01
df3025c3ee
Polish En doc for some APIs. ( #20418 )
...
* Polish En doc for some APIs
* Update some comments and API.spec
7 years ago
Wilber
2893cd1ae0
modify english api ( #20159 )
...
* modify english api test=develop test=document_fix
- leaky_relu
- less_than
- log
- logical_and
- logical_or
- logical_xor
- logical_not
7 years ago
zhouwei25
b1218d056b
fix English Doc of API:layers.py_func/sum ( #20329 )
...
* fix English Doc of API:layers.py_func/sum
7 years ago
zhongpu
0b321c8a2f
fix APIs, to_variable、NCE、PRelu、softmax、rankloss for dygraph, test=document_fix, test=develop ( #20142 )
7 years ago
wangchaochaohu
508127b180
fix some en doc ( #20281 )
...
* fix some en doc test=develop test=document_fix
* fix new fluid.data API.spec test=develop test=document_fix
* fix typo test=develop, test=document_fix
* fix typo test=develop test=document_fix
* fix typo test=develop test=document_fix
* fix test=develop test=document_fix
* fix according review test=develop test=document_fix
* fix review test=develop test=document_fix
* fix according review advice test=develop test=document_fix
* fix the doc test=develop test=document_fix
* fix API.spec test=develop test=document_fix
7 years ago
Guanghua Yu
bc4c7a9eb6
Fix english doc api: sequence_slice, sigmoid_cross_entropy_with_logits, ssd_loss, DetectionMAP, detection_map ( #20405 )
...
* Fix english doc api: sequence_slice, sigmoid_cross_entropy_with_logits, ssd_loss, DetectionMAP, detection_map
7 years ago
silingtong123
9ee288ac87
test=develop, fix the parameter seed failed to work ( #20412 )
7 years ago
Yibing Liu
899ab30df0
Fix several api docs ( #20282 )
...
* Fix several api docs
test=develop, test=document_fix
7 years ago
Pei Yang
6f9e64d443
refine en api doc of [shape, scale, split, selu, soft_relu, scatter], test=develop, test=document_fix ( #20264 )
7 years ago
wangchaochaohu
5c649d9a1e
fix the reduce api en doc ( #20223 )
...
* fix the reduce api en doc test=document_fix test=develop
* fix the fluid.data test=develop test=document_fix
* fix the API.spec test=develop test=document_fix
* fix according the review test=develop test=document_fix
* fix the confilict test=develop test=document_fix
7 years ago
DuYao
76a5819728
update English document ( #20330 )
...
* update English document, test=document_fix
* update api.spec, test=document_fix
* update api.spec, test=document_fix
* update, test=document_fix
7 years ago
liu zhengxi
e34fccbc48
update the api en doc ( #20307 )
...
* update the api en_doc of has_inf, has_nan, cumsum, double_buffer and mul, test=document_fix
* update the API.spec for apis, test=document_fix
7 years ago
wangchaochaohu
1288ac2983
fix expand bug ( #20340 )
...
* fix expand bug test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
7 years ago
Youwei Song
ba78a0c7c2
polish 3 LSTM en doc ( #20383 )
...
* polish en doc, test=document_fix, test=develop
* update sample code, test=document_fix, test=develop
* fix sample typo, test=document_fix, test=develop
7 years ago
Feiyu Chan
91693b9cee
fix document for swish, thresholded_relu, gaussian_randdom
7 years ago
SunGaofeng
a73e1f68b4
fix document of 11 APIs ( #20278 )
...
* modify document of 11 APIs
test=develop
test=document_fix
* fix dtype to data type and description of name parameter
7 years ago
zhongpu
9ca417f1d0
fix APIs, update norm op, test=develop ( #20119 )
...
* update norm op, test=develop, test=document_fix
* fix norm api, test=develop, test=document_fix
7 years ago
Kaipeng Deng
3833b511a6
refine en API doc ( #20206 )
...
* refine en doc. test=develop. test=document_fix
7 years ago
Zhang Ting
0652f15810
fix Attr(scale)'s bug for image_resize and modified unittest, test=develop ( #19983 )
7 years ago
wawltor
ade9bc04d3
Fix some english doc api, shenze tools group ( #20300 )
...
* test=document_fix
Fix english doc api, invloves the op of greater_equal,greater_than,less_equal,not_equal,
rank,rsqrt,diag,linspace,reduce_all,reduce_any,sign,where,zeros_like,unique_with_counts.
* Fix some format problem in the op of sign and greather_than.
test=develop
test=document_fix
* Fix the example of zeros_like, and update api.spec
test=develop
test=document_fix
7 years ago
huangjun12
b347ca084e
Fix document of APIs, test=develop, test=document_fix ( #20314 )
7 years ago
hong
fa43e80e19
New save load interface ( #20148 )
...
* add new save load interface; test=develop
* add new save interface; test=develop
* add save load interface ;
* fix save load error;
* fix dygraph set dict bug;
* add save load unit test; test=develop
* fix test_imperative_optimizer bug; test=develop
* fix unitest optimizer bug; test=develop
* fix code coverage; test=develop
* fix converage; test=develop
* add document for apis; test=develop
* fix unitest error; test=develop
* fix save load unit test error; test=develop
* fix error message; test=develop
* change set_parameter set_optimizer to save_dygraph; test=develop
* add load_graph check; test=develop
* fix api spec; test=develop
7 years ago
FDInSky
e2c7b6821a
test=develop enhance uniform_random op python api ( #20295 )
7 years ago
LielinJiang
282c9e7cb2
Polish english apis' doc ( #20198 )
...
* refine Normal Uniform documnet
7 years ago
chengjuntao
9acdb6e83a
Fix fluid.data code example ( #20236 )
...
* fix fluid.data code example, test=develop, test=document_preview, test=document_fix
7 years ago
liym27
3d006fa630
fix English document of expand/pow/reshape/slice. test=develop, test=document_fix ( #20280 )
7 years ago
danleifeng
3a0f93b3f9
fix error message for elementwise_add/mul ( #20283 )
7 years ago
liym27
670937e11d
add input type and dtype check for reshape op. ( #20099 )
...
enhance shape error messages for reshape op.
test=develop
7 years ago
Aurelius84
729f5846cc
enhance shape error message of fc API ( #20172 )
...
* add api check in fc test=develop
* enforce shape error info of sum op test=develop
* fix spelling test=develop
* print x_dims info test=develop
* enhance shape error info test=develop
7 years ago
Yibing Liu
d849e9835f
Add detailed error messages for nce layer ( #20231 )
...
* Add detailed error messages for nce layer
test=develop
* Fix some problems
test=develop
* Fix unit test coverage
test=develop
7 years ago
wangguanzhong
866400e9f1
update en doc of example,test=develop, test=document_fix ( #20235 )
7 years ago
Tao Luo
134d809e23
fix softmax input error check on float16 ( #20273 )
...
test=develop
7 years ago
whs
54df1ad4c7
Fix en doc of warpctc, affine_grid, generate_proposals ( #20262 )
7 years ago
Aurelius84
73cf08d694
fix en_doc api of one-hot and embedding ( #20187 )
...
* fix en_doc of one-hot and embedding test=develop, test=document_fix
* modify into fluid.data test=develop, test=document_fix
* modify api.spec test=develop, test=document_fix
* fix api.spec conflict, test=develop, test=document_fix
7 years ago
GaoWei8
318d5bba64
add input type and dtype check for elu_op ( #20106 )
...
* elu input check
test=develop
* test=develop
7 years ago
Liufang Sang
53535b4f18
fix en api doc ( #20245 )
7 years ago
Bai Yifan
fb21a743ae
Fix fluid.data code example ( #20227 )
...
* fix fluid.data code example, test=develop, test=document_preview, test=document_fix
* use None instead of -1 in shape, test=develop, test=document_preview, test=document_fix
7 years ago
Double_V
98da70f63f
fix API en doc ( #20261 )
...
* test=develop,test=document_preview, test=document_fix
* test=develop,test=document_preview, test=document_fix
* fix API.spec, test=develop,test=document_preview, test=document_fix
7 years ago
lvmengsi
40b3af9720
Update apiexample ( #20247 )
...
* update api example, test=develop, test=document_fix
7 years ago
zhoushiyu
1106fbbd01
fix cvm and DataFeedDesc apis ( #19994 )
...
* fix cvm and DataFeedDesc apis test=develop test=document_preview test=document_fix
* add ref and rst tensor type test=develop test=document_preview test=document_fix
* change API.spec test=develop test=ducument_fix
* fix fluid.data test=develop test=document_preview test=document_fix
* change API.spec test=develop test=document_preview test=document_fix
* fix cvm example test=develop test=document_preview test=document_fix
* change API.spec test=develop test=document_preview test=document_fix
* fix cvm example test=develop test=document_fix
* fix cvm example test=develop test=document_fix
* change api.spec example test=develop test=document_fix
7 years ago
Yi Liu
4da243003e
update the example of shard_index ( #20272 )
...
test=develop
test=document_fix
7 years ago
Aurelius84
a38d1835b5
refine seq_pool/reshape/reverse test=develop, test=document_fix ( #20233 )
...
* refine seq_pool/reshape/reverse test=develop, test=document_fix
* modify api.spec test=develop, test=document_fix
7 years ago
Zhang Ting
7e140d870a
modified doc of group_norm, test=develop, test=document_fix ( #20234 )
7 years ago
Zhang Ting
2087f77120
modified doc of crop_tensor, test=develop, test=document_fix ( #20203 )
7 years ago
zhang wenhui
6bc4d48875
fix api doc, test=develop, test=document_fix, test=document_preview ( #20252 )
...
* fix api 1.6 doc bpr, data_norm teacher_student
7 years ago
ShenLiang
d26276e3ac
fix doc, test=develop test=document_fix test=document_preview ( #20249 )
7 years ago
danleifeng
5da814292a
fix code example of elementwise op in en_doc ( #20242 )
...
fix code example of elementwise op in en_doc
7 years ago
zhaoyuchen2018
5ebf4078dc
add input type and dtype check for squeeze ( #20100 )
...
* Add input check and refine error message
* Refine test case and comments
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
7 years ago
wawltor
08c8f0c534
Fix api, add input type and dtype check for sign_op ( #20138 )
...
* test=develop
Add input type and dtype check for sign_op.
* test=develop
Fix the api text format in sign op.
* test=develop
Fix the api examples in sign op add update the api.spec.
7 years ago
JesseyXujin
407efcf7b1
fix API doc, solve conflict, test=develop, test=document_fix ( #20196 )
...
* fix APIs,test=develop,test=document_fix
* fix conflict, test=develop, test=document_fix
* fix confict, test=develop, test=document_fix
* fix confict, test=develop, test=document_fix
* fix API.spec, test=develop, test=document_fix
* change fluid.layers.data to fluid.data,test=develop, test=document_fix
* fix bug on example code, test=develop, test=document_fix
* fix API.spec, test=develop, test=document_fix
7 years ago
Aurelius84
c80b7694eb
refine fc/seq_conv/seq_concat en doc ( #20214 )
...
* refine fc/seq_conv/seq_concat en doc test=develop, test=document_fix
* modify into fluid.data test=develop, test=document_fix
7 years ago
Bai Yifan
131b1dc324
Fix api doc, test=develop, test=document_preview, test=document_fix ( #19947 )
7 years ago
lvmengsi
59a7c222ea
refine en doc ( #20088 )
...
* update en doc
7 years ago
ShenLiang
c5cff9971a
fix doc of eye、gather_nd、scatter_nd、scatter_nd_add、center_loss ( #19990 )
...
* fix doc, test=document_fix test=document_preview
7 years ago
Zhang Ting
cf6919bf6e
conv_transpose supports channel_last input, test=develop, test=document_preview ( #20072 )
7 years ago
lvmengsi
76ba55e891
add error log for python api and c++ ( #20061 )
...
* add error log
7 years ago
Yibing Liu
01ad8d2e06
Refactor linear chain crf op & crf decoding op ( #19982 )
...
* Update crf_decoding api & example
test=develop
* Update api spec
test=develop
* Fix linear chain crf api
test=develop
* Avoid sharing data pointer with input
test=develop
* Simplify the logic in linear_chain_crf_decoding
* Add unittest for crf_decoding when label & path both are set
test=develop
* Update API spec
test=develop
* Add unittest for layers && correct infer_shape in chunk_eval
test=develop
7 years ago
wangchaochaohu
6e73e90bfb
fix the error message for reduce_mean and reduce_sum op ( #20063 )
...
* fix the error message for reduce_mean and reduce_sum op test=develop
* fix typo test=develop
* fix according review advice test=develop
* fix the test test=develop
* fix test=develop
7 years ago
liym27
3aa331d97e
fix conv2d and conv3d: ( #20042 )
...
1.support asymmetric padding;
2.support padding algorithm:"SAME" and "VALID";
3.support channel_last: data_format NHWC and NDHWC;
4.change doc of python API and c++;
test=develop, test=document_preview
7 years ago
wangguanzhong
da892cafd5
Refine api doc ( #20037 )
...
* refine doc, test=document_fix
* add API.spec,test=develop,test=document_fix
7 years ago
silingtong123
f1eebf75aa
improve op uniform_random, argument shape support tensor and tensor in list ( #19786 )
...
* test=develop, argument shape support tensor and tensor in list
* test=develop,Increasing the coverage of CI tests
* test=develop, modify the document and update API.spec
* test=develop, modify the doc and update API.spec
* test=develop, modify the doc and update API.spec
* test=develop, modify the interface of UniformInitializer
* test=develop, modify the interface of XavierInitializer and MSRAInitializer
* test=develop, modify based on review's comments
* test=develop, modify based on review's comments
* test=develop, modify based on review's comments
7 years ago