Commit Graph

1929 Commits (2101dfd2b3552defe4e6e14f7eb96321ffe41fc2)

Author SHA1 Message Date
wawltor f26f7c3603
Add some error meesage and dtyp, dtyep check for some ops (#23762)
6 years ago
wawltor b822f74cd4
Add the error raise for some operators, add some test cases
6 years ago
wangchaochaohu fb34bdb40c
API/OP(fill_constant) error message enhancement (#23584)
6 years ago
ceci3 cd1de0e2c5
API/OP error message enhancement (#23691)
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
mamingjie-China cdbe5707e9
API(argsort, argmax, argmin, cast, diag) error message enhancement
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
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)
6 years ago
zhupengyang 5b3dd80633
Op(prelu) error message enhancement (#23616)
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)
6 years ago
Wilber 286c2e0ede
error message enhancement for py_func op. (#23565)
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)
6 years ago
wangguanzhong c2f5a3ad34
enhance the error message of roi_align, test=develop (#23649)
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
zhupengyang 17bee1d9a0
Op(brelu) error message enhancement (#23606)
6 years ago
Huihuang Zheng a82ce2b1bb
API/OP (ConditionalBlock) error message enhancement (#23480)
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
Kaipeng Deng d7e549f568
fix yolov3_loss gt_score check in dygraph. test=develop (#23634)
6 years ago
GaoWei8 66cae9157e
Op (lod_reset) error message enhancement (#23499)
6 years ago
liym27 4cbed3a3f6
API (layers.data/fluid.data) error message enhancement (#23427)
6 years ago
liym27 067134f1b3
API (Switch) error message enhancement. test=develop (#23459)
6 years ago
David Lin 118e585b8c
rename op fluid.layers.matmul to paddle.matmul (#23375)
6 years ago
wangchaochaohu 29c4fae112
Tensor value support (#23491)
6 years ago
wawltor 08e3d9c0dc
Add the matmul, elementwise_euqal, elementwise_sum ops to API2.0 (#23437)
6 years ago
Tao Luo 0b583235f5
Revert "Solve the conflict of ops with the same name. (#23199)" (#23494)
6 years ago
Zhen Wang abe3e6906d
Solve the conflict of ops with the same name. (#23199)
6 years ago
Feiyu Chan 81f1402f6c
Add functional convolutions in paddle.nn.functional (#23408)
6 years ago
liym27 03deb41d73
API (switch_case) error message enhancement. test=develop (#23429)
6 years ago
liym27 cd348dc467
API (case) error message enhancement. test=develop (#23428)
6 years ago
YuHaoXiang ee58ad62b6
import core in rnn.py (#23394)
6 years ago
liym27 b7b0b3595b
Add unittest for transformer prediction in dygraph_to_static (#23207)
6 years ago
songyouwei 738c84644b
support tensor array create read write in dygraph (#23200)
6 years ago
Kaipeng Deng 21d95be0db
Add inplace abn op (#22806)
6 years ago
wangchaochaohu 2fe0758f67
fix the doc of fill_constant test=develop (#23336)
6 years ago
xujiaqi01 3a45767d49
add fleet pslib pull and push sparse op and push dense op (#23139)
6 years ago
Leo Chen 488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators (#23181)
6 years ago
GaoWei8 20eed5401a
Change fluid.layers.where‘s C++ operator name (#23250)
6 years ago
liym27 6af480ca33
Support int64 for op assign_value. test=develop (#23179)
6 years ago
Aurelius84 d6f72c4fcc
Add parameter(learning_rate) in NoamDecay (#23156)
6 years ago
Aurelius84 cc8ca8cea9
Polish error Info in while_loop (#23183)
6 years ago
Zeng Jinle acfc9b8a70
Reader sequential and inference partial feed (#22699)
6 years ago
Zhang Ting 0d8f40d2b2
remove init_on_cpu and force_init_on_cpu APIs, test=develop (#22202)
6 years ago
Aurelius84 9ef7f6e898
support to modify dict and list in while_loop (#23083)
6 years ago
liym27 91a2627251
fix bug in select_input: set var type of output to be the same as input. test=develop (#23076)
6 years ago
Feiyu Chan 01ab8a0619
add approximation for gelu, test=develop (#22961)
6 years ago
songyouwei 9203aaf185
fix unittest for coverage (#23007)
6 years ago
liym27 44b1343aab
Support LoDTensorArray in stack/concat api for transformation of list dygraph_to_static (#22987)
6 years ago
yaoxuefeng 29a7a52d38
Fix instag (#22632)
6 years ago
wawltor 1daa66559f
Fix the elementwise_min API BUG, use the elementwise_min replace elementwise_max. (#22880)
6 years ago
tianshuo78520a 433cef03e5
fix typo word (#22784)
6 years ago
FlyingQianMM 88776e40b9
fix SyntaxError in examples in retinanet_target_assign English API, test=develop (#22774)
6 years ago
songyouwei b813c948f0
support control flow cond in dygraph mode (#22693)
6 years ago
songyouwei 60aaa7158b
dygraph support while_loop op (#22714)
6 years ago
Huihuang Zheng 1b561da1f7
Change API doc example code to python3 style print (#22735)
6 years ago
mamingjie-China a5b0758ff7
fix the doc in elementwise_add elementwise_sub elementwise_mul elementwise_div
6 years ago
tianshuo78520a d2ba91aad1
fix typo words (#22653)
6 years ago
liym27 17a6b50fe3
support num_flatten_dims=-1 of API fc. (#22634)
6 years ago
zhouwei25 d86007775f
fix py_func bug when out is list and add unittest case (#22595)
6 years ago
xiaoting 3f0ca61a82
fix noam decay example, test=develop,test=document_fix (#22557)
6 years ago
guofei 9ed59da443
Modify english document and unittest of while_loop (#22615)
6 years ago
guofei 614a2a4f98
modify English document while_loop (#22573)
6 years ago
FDInSky e28833a80e
Fix doc of detection's img_info param (#22458)
6 years ago
Guo Sheng 31b5464632
Add support for dynamic_decode(while) training. (#22231)
6 years ago
guofei 3a59a7a11f
Make assign op support LoDTensorArray and modify while_loop API (#22309)
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)
6 years ago
Li Fuchen 51e147a130
fix the en doc and example code of warpctc (#22325)
6 years ago
Leo Chen d4bdbf8cf0
Polish nn code, test=develop (#22237)
6 years ago
123malin 985bceac53
Bug fix for sparse recorder (#21969)
6 years ago
Leo Chen 51cb918a05 update layers used in transformer dygraph model, test=develop (#22051)
6 years ago
Zhang Ting e587bc62f9
remove useless code, test=develop (#22111)
6 years ago
mapingshuo ccac636d5e
add example for reshape op (#22129)
6 years ago
zhongpu cf475f95df Remove FC in dygraph, modify FC to Linear in sample code (#22082)
6 years ago
Double_V 6ea3809143 Support prroi_pool_op with Tensor and LoDTensor rois (#20649)
6 years ago
liym27 de56887bef
add Note in the doc of old control flow ops. test=develop,test=document_fix (#22108)
6 years ago
Feiyu Chan 14aebc7a95
add erf op (#21785)
6 years ago
Huihuang Zheng 1ce6ab9cc6
Refine doc of data based on requirement. (#22098)
6 years ago
Qinghe JING 288b1e75de Fix segmentation fault bug in reduce ops (#22079)
6 years ago
liym27 7d8d45991a
control flow: support optimizer called (#21851)
6 years ago
ShenLiang 3fab86ffa6 add package for centerloss (#21806)
6 years ago
Liufang Sang 5b8837897d add shape description in accuracy api doc (#22011)
6 years ago
Yibing Liu c1fea3e3e2 Fix example in log_loss doc (#22052)
6 years ago
mapingshuo 81030125a3
convert input vars' dtype for range op (#22028)
6 years ago
ceci3 95d79b6d00
update error log for batch_norm_grad (#22017)
6 years ago
ShenLiang b68f4e006d Fix the doc of scatter_nd (#22015)
6 years ago
Leo Chen 33f1306753
update layers used in mnist dygraph model, test=develop (#21947)
6 years ago
hutuxian 27decacb8a
fix aucop stat shape (#21846)
6 years ago
Leo Chen 310edc0d0c
Update layers used in ptb model to use auto-generated op functions in dygraph mode (#21724)
6 years ago
FDInSky 6b9fbcf3ad Update iou_similarity op to support non-normalized bbox (#21671)
6 years ago
guofei 46f9184aff Modify the while_loop API (#21844)
6 years ago
Leo Chen a25418b32c
Set dtype of compare op's output to bool (#21864)
6 years ago
hong 957e182a90
revert a+b axis change; test=develop (#21821)
6 years ago
Leo Chen c96f06f2f6
add unary operator __neg__, test=develop (#21787)
6 years ago
zhouwei25 ecb2419e5c increase the explanation doc of py_func (#21631)
6 years ago
Kaipeng Deng 943a44492b
yolo_box OP add Attr(clip_bbox). (#21620)
6 years ago
zhouwei25 e92d113590 fix bug that tuple(Variable) is converted to list(Variable) uncorrectly (#21687)
6 years ago
Leo Chen 9c481e12ba
Patch math method for VarBase using auto-generated op functions (#21656)
6 years ago
Huihuang Zheng 99331fa113
Fix current block in math_patch_op (#21189)
6 years ago
Huihuang Zheng a1a5adc9b8
Refine English Doc of cond API (#21609)
6 years ago
guofei 835ea12cde Control flow API: while_loop (#21276)
6 years ago
Huihuang Zheng 1dcf6a7212
Add Much Complex Test and Fix Bugs for Control Flow cond API (#21532)
7 years ago
Feiyu Chan 2057df7ac0 add fluid.layers.gelu & doc (#21515)
7 years ago
wangchaochaohu 29c3844585
fix doc typo test=develop (#21566)
7 years ago
danleifeng 657053f262 remove elementwise x_should_larger_than_y restriction;test=develop (#21517)
7 years ago
hong 08483a6819
Add dygraph linear warm up decay (#21186)
7 years ago
lilong12 de46b15951
Unify the rank of prelu alpha to 4, corresponding to [N, C, H, W], except for the all mode
7 years ago
Leo Chen cdd46d7e02
Split VarBase from Python Variable for Dygraph (#21359)
7 years ago
wangchaochaohu 4c9b3dafa7
fill_constant_batch_size_like OP precious problem fix (#21337)
7 years ago
ruri 2445fef386
Fix density sample (#21506)
7 years ago
lilong12 0bc8bdf724
set dim[0] to -1 if dim[0] < 0 during compiling for c_allgather op (#21402)
7 years ago
Aurelius84 4bf115b42d
Fix AdamOptimizer and Scale sample code Bug (#21478)
7 years ago
ruri 94bef03539
Revert "Add masked select api (#21172)" (#21456)
7 years ago
ruri 3706ea67f8
fix sample code in density prior box
7 years ago
liym27 beec87b911
fix bug in example codes of API case and switch_case. test=develop,test=document_fix (#21477)
7 years ago
hutuxian 7e68bc896b
refactor AUC OP and add its CUDA Kernel (#21336)
7 years ago
wawltor dbbe6e9cb6
fix the device supported of the op unique and unique_with_counts. (#21395)
7 years ago
Huihuang Zheng 32959e031e
Add English Document for cond API (#21452)
7 years ago
Jie Fang 5e813b53c5 nhwc optimization for batchnorm (#21090)
7 years ago
Huihuang Zheng 630be31952
Fix Cond Bug for Nested Control Flow (#21340)
7 years ago
zhaoyuchen2018 b16274556a
Add dscending for argsort (#21400)
7 years ago
Kaipeng Deng ebfb720a63
add Adam beta1/beta2 support Variable (#21234)
7 years ago
ruri 007c997572
Add masked select api (#21172)
7 years ago
Kaipeng Deng 67c836fb5c
batch_norm momentum support variable (#21246)
7 years ago
Zeng Jinle b97fc16d21
fix lod_reset bug, test=develop (#21392)
7 years ago
hutuxian 47a82e38e3
Support data_norm gpu kernel (#21325)
7 years ago
lilong12 41d13209d7
add the framework support for distfc (#21197)
7 years ago
wangchaochaohu 6514f52e46
fix the fill_constant op precious problem (#21322)
7 years ago
lijianshe02 7fcaa39b36
fix Print_op input dtype list error test=develop (#21326)
7 years ago
Yi Liu 0fd1281ef8
fix bug of issue #21259 (#21287)
7 years ago
ShenLiang 1f39a9f17e fix the bug of scatter_nd, test=develop (#21257)
7 years ago
lijianshe02 382cf5d7e3
add input type and input data type check for Print_op test=develop (#21250)
7 years ago
liym27 b0fc822747 Add control flow api: case (#21114)
7 years ago
yaoxuefeng b5d8ba8394
fix data_norm op to avoid impractical normalization result test=develop (#21152)
7 years ago
Zhang Ting 9cbe7bccba modified error message and API doc for channel_last supported Op (#21002)
7 years ago
liym27 9247528252 Control flow API: switch_case (#21103)
7 years ago
ruri aeb887911f
Refine edit distance cn (#21121)
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)
7 years ago
Tao Luo 8f659d4345
Split some APIs from nn.py to loss.py (#21117)
7 years ago
lilong12 e249d9a3e2
fix the computation for dx (grad for x) for prelu operation. (#20949)
7 years ago
Huihuang Zheng e64d55f04e
Add basic Python Cond Layer (#21050)
7 years ago
Tao Luo 78cc1ca616
Split some APIs from nn.py to rnn.py and sequence_lod.py (#21030)
7 years ago
LielinJiang 06063b7001 add op locality_aware_nms, test=develop (#20976)
7 years ago
Huihuang Zheng 1957192f05
Add select_input_op and select_output_op (#21016)
7 years ago
hong 72e0969b27
fix uniform random (#21009)
7 years ago
Wojciech Uss 226bc22a29 Remove fuse_with_relu argument from batch_norm constructor (#21028)
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)
7 years ago
liym27 6802539a2e support Tensor for split and concat, support -1 in num_or_sections, add check num_or_sections (#20780)
7 years ago
liym27 84d221b667 improve unsqueeze op to support int, Tensor for argument axes (#20824)
7 years ago
silingtong123 03d7f3ddb2 Make shape tensor support int32 (#20757)
7 years ago
Huihuang Zheng 95ba4bd2ab
Add shape and type check at read_op (#20754)
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)
7 years ago
Aurelius84 28dd2a58df
refine Categorical and MultivariateNormalDiag en doc (#20723)
7 years ago
石晓伟 37cd43545a
update the infer shape of matmul, test=develop (#20717)
7 years ago
zhongpu 702aad5a0a remove assert statement to support sqeeze op in drgraph, test=develop (#20763)
7 years ago
wangguanzhong 9a3e22aad4
move nms2 to contrib, test=develop (#20709)
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)
7 years ago
liym27 ae4ddbc821 add fill_constant input(shape) dtype check. test=develop (#20620)
7 years ago
danleifeng 46797f53de fix small bug of error message for elementwise_add and elementwise_mul (#20619)
7 years ago
石晓伟 a4753f3a79 Optimize error message of mean_op and matmul_op (#20413)
7 years ago
zhupengyang 01209b5161 add input type and dtype check for cast_op (#20070)
7 years ago
zhupengyang 5e65c753ea enhance input type chec for concat (#20584)
7 years ago
JesseyXujin 2ff18e537f
add expand_as op, test=develop (#20565)
7 years ago
lijianshe02 5c41805dc9
update mul_op input data type check test=develop (#20552)
7 years ago
Zeng Jinle 40effc61af
Refine py_reader exit (#20331)
7 years ago
Guo Sheng bd99df715a
Fix basic_gru and docs of gru_unit and dynamic_gru (#19393)
7 years ago
Yuan Shuai 172e91c008
Refine error message of transpose_op (#20437)
7 years ago
hong19860320 f567214b6a
Fix the error message of zeros op (#20476)
7 years ago
liym27 fc6ec3b9f6 fill_constant support Tensor; (#20521)
7 years ago
Guo Sheng c7ae6c62cd
Fix the assign data check (#20564)
7 years ago
Diego Zhang 27d1ef6081
Refine seq enum expand mask pad (#20344)
7 years ago
guofei 9b85f40140 Modify English documents (#20452)
7 years ago
Yiqun Liu ce1b25cc8b
Polish the English documentation of sums (#20495)
7 years ago
zhaoyuchen2018 8fb569e5b9
Fix api doc example bug and polish square doc (#20491)
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)
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)
7 years ago
hong19860320 4d0d5e4cc7
refine eng doc for hard_sigmoid op (#20442)
7 years ago
Aurelius84 22823df2e2
enhance embedding error message test=develop (#20246)
7 years ago
hong19860320 9707ded37e
Fix the error message of assign op (#20508)
7 years ago
zhupengyang 3997743a5b add input type and dtype check, enhance shape error message for concat_op (#20101)
7 years ago
zhupengyang 95524a4d30 fix APIs: relu, relu6, hash (#20416)
7 years ago
zhaoyuchen2018 057bce4d45
Refine topk stack squeeze api en doc (#20367)
7 years ago
JesseyXujin 843bdbaae1
add input type and dtype check for accuracy_op (#20399)
7 years ago