ceci3
1d3b27cae8
add double grad compute for batch norm ( #27296 )
...
* add double grad compute for batch norm,test=develop
* fix unittest, test=develop
* remove unuse tensor,test=develop
* add format,test=develop
* update, test=develop
6 years ago
Wilber
39546aa2f3
Add pass compatible and unit test. ( #27377 )
6 years ago
furnace
515efe4240
add empty_like op (python, and unit test), use c++ implementation of empty op, ( #27287 )
...
and optimize the c++ implmentation of empty op as PR#26659 reviews,
and add bool for shape op.
6 years ago
zhupengyang
ac9afa024b
paddle.nn.functional.logsigmoid -> log_sigmoid ( #27277 )
6 years ago
Leo Chen
f402d8d8c0
fix bug when axis is a tensor with more than 1 element ( #27263 )
6 years ago
ShenLiang
5bd84b22c4
revert divide ( #27202 )
6 years ago
wangguanzhong
a28ae86e11
Enhance ops to support LoD as input for dygraph detection models. ( #25316 )
...
* enhance collect_op for dygraph, test=develop
* enhance detection ops with lod, test=develop
* support none bbox left in generate_proposals, test=develop
* unfiy MultiLevelRoisNum, test=develop
* update core.ops, test=develop
* add op register for new input & output, test=develop
6 years ago
yaoxuefeng
0dab0fc23c
add back triu in fluid ( #27135 )
6 years ago
yinhaofeng
dc00bd67ff
delate some wrong message test=develop, test=document_fix ( #26595 )
...
* delate some wrong message test=develop, test=document_fix
* delate some wrong message
6 years ago
Leo Chen
d6ee0868a4
fix unsqueeze in dygraph ( #27107 )
...
* fix unsqueeze in dygraph
* add test
* add test
6 years ago
wangchaochaohu
041f4ab842
refine linspace Op for dtype setting( #27071 )
6 years ago
wangchaochaohu
c3b314c373
refine the error of message test=develop ( #27067 )
6 years ago
wangchaochaohu
8fa3d367ed
Remove "TypeError" from some files as required ( #27019 )
6 years ago
AshburnLee
d843706230
add shape check for fill_constant OP and remove doc of type error ( #26919 )
6 years ago
Zhou Wei
352ac149ee
update doc of paddle.to_tensor ( #26820 )
...
update doc of paddle.to_tensor
6 years ago
zhupengyang
6a09b8f1cb
erase Raises and refine doce of random functions ( #26901 )
6 years ago
Leo Chen
1275659ccc
refine paddle.stack ( #26886 )
...
* refine paddle.stack
* support TensorArray
* add test
* fix coverage problem
* fix coverage problem
* fix sample code
6 years ago
joejiong
2f50aa227e
add deprecated information to the top of an API docstring ( #26818 )
...
As the title
6 years ago
tangwei12
ebc5f99789
add embedding 2.0 ( #26649 )
...
* add embedding 2.0
* add embedding support input int32
6 years ago
pangyoki
4a57880d91
support default dtype for distribution APIs ( #26695 )
...
* set default dtype for distribution API
* Add unittest
* Add unittest
* fix import get_default_dtype problem
* delete change under fluid.layers.nn
* little change
6 years ago
ruri
db68e08589
[API2.0]Unify pooling function and add adaptive max pooling function ( #26483 )
6 years ago
lilong12
2675cae758
add deprecated decorator for old apis expand and expand_as ( #26759 )
...
* add deprecated, test=develop
6 years ago
Jack Zhou
c282db3a93
add broadcast feature for elementwise logical op
...
add broadcast feature for elementwise logical op
6 years ago
Feiyu Chan
f4083010a7
Add unified RNN APIs ( #26588 )
...
* Add RNN related apis in paddl.nn
test=develop
* new rnn api, cell almost done
* add new progresses in rnn APIs for 2.0
* refine rnn APIs and docstrings.
* add unittets
* disable gpu tests when paddle is not compiled with cuda support
* remove unnecessary imports
* fix docstring
* add to no_sample wlist
* backport to python2 to avoid yield from
* add **kwargs, fix typos
* update docstrings for birnn
* rename argument for SimpleRNN and SimpleRNNCell, fix sample code
* add default value for initial_states in fluid.layers.birnn
Co-authored-by: guosheng <guosheng@baidu.com>
6 years ago
Zhang Ting
97cebfa4d3
add dtype for unique ( #26655 )
...
* update doc, test=document_fix
* add attr(dtype)
* refine code
6 years ago
wangchaochaohu
a31dbc8f85
add deprecated for gather api and refine the doc of gather api ( #26579 )
6 years ago
joejiong
da1efe24d5
Throws TypeError When Logical APIs Do Broadcast Operation ( #26490 )
...
As the title.
Co-authored-by: wujionghao <wujionghao@email.com>
6 years ago
ShenLiang
0e81626081
add div, floor_div, remainder ( #26562 )
...
* add div, floor_div, remainder
6 years ago
yaoxuefeng
33cffdf3d7
fix datanorm op add attr bug test=develop ( #25000 )
6 years ago
wangchaochaohu
ebf9b2125e
add paddle.gather for API2.0 ( #26455 )
6 years ago
wangchaochaohu
9219b79104
gather_nd Op for API 2.0 refine ( #26540 )
6 years ago
zhupengyang
e6675f4f4d
normal: support mean and std tensor; randn = standard_normal ( #26367 )
6 years ago
ShenLiang
0ca10d310c
add paddle.static.data ( #26525 )
...
* add static data
6 years ago
WangXi
ed102ea1b5
【API】Add sign and tanh api ( #26357 )
6 years ago
WangXi
45711dade7
【API】rename div to divide, add floor_divide, remainder ( #26434 )
6 years ago
LutaoChu
4e0c6d91aa
add paddle.tensor.linalg.diag API, diag_v2 OP and CUDA kernel
...
add paddle.tensor.linalg.diag API, diag_v2 OP and CUDA kernel.
6 years ago
zhupengyang
f8863e0603
leaky_relu and LeakyReLU: alpha->negative_slope ( #26216 )
6 years ago
ShenLiang
c609066074
Add Matmul op ( #26411 )
...
* add matmul_v2
6 years ago
huangjun12
412eca679f
[API2.0] add dropout, dropout2d and dropout3d in nn.functional and nn.layer ( #26111 )
...
* [API2.0] add dropout, dropout2d and dropout3d, test=develop
* refine Interface and assertion after review, test=develop
* fix alias p=1 and use scale, test=develop
* fix doc and training, test=develop
* fix doc in Dropout2D, test=develop
6 years ago
wangchaochaohu
07c1c47bc9
refine the doc of OPs ( #26551 )
6 years ago
zhupengyang
57e124298d
var, std: input->x, adjust attr order, remove out, add docs ( #26446 )
6 years ago
wangchaochaohu
65d8d16516
add decorator for deprecated Ops ( #26373 )
6 years ago
wawltor
61273973ad
delete module path for the activation ops, test=develop ( #26515 )
6 years ago
Zhou Wei
ce7d5263e6
[2.0API]Bind method for tensor and Variable ( #26416 )
...
* binding tensor method
* binding tensor method
* binding tensor method
* Binding methods for class Tensor and Variable
6 years ago
Yang Zhang
e662d1e0b7
Update `paddle.clamp` ( #25906 )
...
* Update `paddle.clamp`
rename to `paddle.clip`
add fast path for dygraph mode
remove `out`
rename `input` -> `x`
update doc sample
* Fix leftover `Variable` wording
* Indent doc with spaces
* Remove `:alias` in docs
* Update `enable_imperative` -> `disable_static`
* Remove `imperative`
also trigger CI
* Update tests for better coverage
* Rebase to fix `cosine_similarity`
* Fix `cosine_similarity` some more
6 years ago
Qi Li
8d194524ba
hardtanh prelu softmax, test=develop ( #26431 )
6 years ago
wangchaochaohu
bdb805505e
【API2.0】add numel API for paddle test=develop ( #26311 )
6 years ago
wangchaochaohu
2073ffc04d
Enhance the data type of linspace API ( #26247 )
6 years ago
guofei
bb7fd0974f
Add paddle.tensor.math.prod ( #26351 )
...
* Add new API: paddle.prod
test=develop
6 years ago
hong19860320
40d193ed17
Add the ReLU6, Tanhshrink, SELU, Softplus, Softshrink and Softsign for the api 2.0 ( #26376 )
6 years ago
liym27
adba432f27
[API 2.0] Add api paddle.reshape(x, shape, name) ( #26338 )
...
(1) Add api paddle.reshape(x, shape, name);
(2) Use Tensor replaces Variable. test=develop
6 years ago
WuHaobo
a57d63a0f2
Fix erf ( #26426 )
6 years ago
yukavio
8c48c7daec
Add new one hot function in nn.functional ( #26183 )
...
* add input.py file
* write input.py
* fix init file
* add unit tests
* fix dygraph and input shape
* Revert "fix dygraph and input shape"
This reverts commit 89ad8664124c1872640b68c0a4418c377ad6aa6f.
* fixed pylint
* fix deprecated
* fix old op
* fix old op
* set check_dygraph=True
* Revert "set check_dygraph=True"
This reverts commit a8e93e33281f84e5f6fbc2b4bf05ea3e63611519.
* test commit
* fix doc and change test file name
6 years ago
GaoWei8
1fbee267d4
remove scope in cudnn lstm ( #25188 )
6 years ago
Qi Li
61800f4a1e
elu gelu relu logsigmoid, test=develop ( #26304 )
...
* logsigmoid and LogSigmoid, test=develop
* add elu gelu relu, test=develop
* update to_variable to to_tensor, test=develop
* address review comments, test=develop
* address review comments, test=develop
* change to_variable to to_tensor in test, test=develop
6 years ago
Wilber
3ec0bcbbb8
[Bug] Fix prune for save_inference_model about transformer ( #25347 )
6 years ago
Sylwester Fraczek
abfdffa039
add use_mkldnn attribute to ops in dygraph ( #25773 )
6 years ago
wawltor
00e08ce07b
add the sigmoid, Sigmoid for the api 2.0 ( #26171 )
...
Update the sigmoid, Sigmoid layer for the api2.0
6 years ago
wangchaochaohu
b48ab36b76
fix the typo test=develop ( #26310 )
6 years ago
Zhou Wei
6de463d3d1
expose and unify the Tensor concepts to the user ( #25978 )
...
* expose and unify the Tensor concepts to the user
* expose tensor to user
* add copy place for Tensor
* add copy place for Tensor
* add note
* add macro PADDLE_WITH_CUDA
* remove RUN_TYPE=DIST
* fix some error
6 years ago
LielinJiang
e4033a06d5
add Class KLDivLoss and function kl_div ( #25977 )
...
* add Class KLDivLoss and function kl_div
6 years ago
liu zhengxi
daad625121
fix rnncell errmsg ( #26298 )
6 years ago
MRXLT
b2d41e2acd
fix unstack op doc ( #26043 )
6 years ago
zhupengyang
7a89a0a7be
hardshrink and Hardshrink: add class, threshold default 0.5 ( #26198 )
6 years ago
wangchaochaohu
ba574c8ec3
refine the usage of numpy element fetch for Ops test=develop ( #26194 )
6 years ago
zhupengyang
faf83a7af2
paddle.mean: add attr axis, keepdim ( #26147 )
6 years ago
pangyoki
13b80d9bea
fixed imperative module in doc example code ( #26149 )
...
* fixed imperative module in doc example code
* fixed static module
* solve conflict
6 years ago
LutaoChu
b6d14d9d07
add deprecated decorator, remove alias for cumsum op ( #26104 )
...
add deprecated decorator, remove alias for cumsum op
6 years ago
pangyoki
2efcb481c8
Paddle-2.0 API directory migration ( #25898 )
...
* Directory migration, test=develop
* Change imperative from paddle init to paddle framework, test=develop
* Fixed jit bug, test=develop
* default static mode, test=develop
* fixed format and create parameter belongs to framework, test=develop
* Fixed import package, test=develop
* fix __init__ format, test=develop
* fixed alias problem
* fixed paddle.enable_imperative problems, test=develop
* Add unittest
* delete install_check comment
* Fixed unittest timeout
* fixed unittest error
* move Program default_xx_program to static package
* optimize unittest method
* fixed framework __init__ format
* fixed jit path
* delete alias
* move jit to paddle
* Fixed unittest format
* fixed paddle.default_main_program
* Fixed save load API in paddle __init__.py
* fixed ci paddle.imperative.to_variable
6 years ago
zhupengyang
2214394edc
softmax: refine doc; input->x ( #25976 )
6 years ago
Leo Chen
9c6112104e
Fix prelu for compatibility with saved model of old version ( #26052 )
...
* fix prelu for compatibility with saved model of old version
* reshape alpha
6 years ago
Adam
1893cd6bb8
Add oneDNN relu6 op ( #26037 )
...
* Add oneDNN relu6 op
* Lint fixes
6 years ago
Feiyu Chan
e853ece0a2
update document template for unary elementwise layers ( #25896 )
...
1. update document template for unary elementwise layers(a.k.a. activation layer);
2. remove generate_op_noattr and use generate_activation instead; remove redundant function copies;
3. minor update for docstring to fix rst format errors.
4. fix doc for Rsqrt OP
5. add sample code for each activation separately;
6. remove the unused deprecated decorator.
6 years ago
joanna.wozna.intel
734cf1c3e9
Change use_quantizer attribute name and data type ( #25838 )
...
* Change use_quantizer attribute name and data type
* Fix problem with setting attribute
* Add changes due to review
* Small change in function
* Restore use_quantizer attr for compatibility
6 years ago
Leo Chen
5258d53d65
refine unsqueeze, test=develop ( #25470 )
...
* refine unsqueeze, test=develop
* update unsqueeze, test=develop
* refine unsqueeze, test=develop
* refine unsqueeze, test=develop
* update
* remove None, test=develop
* follow comments
* support bool
* update doc
* follow comments
* merge develop
6 years ago
wangchaochaohu
0dc485e6fe
refine the value parameter's Tensor support of fill_constant Op test=… ( #25986 )
6 years ago
Leo Chen
6e7f0bb284
refine paddle.stack ( #25305 )
...
* refine stack in dygraph mode, test=develop
* update stack, test=develop
* rename Variable to Tensor, test=develop
* add name args to fluid.layers.stack, test=develop
* follow comments
* update doc
* update doc
* follow comments
6 years ago
yaoxuefeng
224620071b
add new flatten op test=develop ( #25393 )
6 years ago
Shibo Tao
c8d0d1419b
add paddle.utils.deprecated. ( #25912 )
...
* add paddle.utils.deprecated.
* add docstring. test=develop
* add alias paddle.utils.deprecated. test=develop
* rm deprecated in python/paddle/fluid/annotations.py. test=develop
* 1. check version before warning. 2. bug fix. test=develop
* bug fix. test=develop
* use paddle.fluid.require_version. test=develop
* fix doc
* fix doc. test=develop
* fix doc. test=develop
* bug fix. test=develop
* use packaging.version. test=develop.
* enhance doc. test=develop
* add compare_version function. test=develop
* add version.py. test=develop
* remove packaging. test=develop
* move compare_version to deprecated.py. test=develop
* remove print. test=develop
* fix. test=develop
* fix. test=develop
* fix. test=develop
* fix. test=develop
* inline. test=develop
* fix. test=develop
6 years ago
wangchaochaohu
ff717d5158
Add support for tuple of concat Op test=develop ( #25800 )
6 years ago
Zhang Ting
2d24f56a7a
avoid data transfer, test=develop ( #25810 )
6 years ago
wawltor
595a719795
Update the api for the compare_ops
...
Update the code for the compare_ops, update the api and doc
6 years ago
wangchaochaohu
fc6fed3283
(Variable --->Tensor) refine the OP doc for API2.0 ( #25737 )
6 years ago
wangchaochaohu
32b9577b2a
refine the split op for API 2.0 test=develop ( #25320 )
6 years ago
tangwei12
caa90a6510
Integrated Trainer of Parameter Server (API add `fluid.contrib.layers.sparse_embedding` only) ( #22957 )
...
* Integrated Trainer of Parameter Server
6 years ago
zhupengyang
0ca1bb56df
refine docs of rand, randn, randint, randperm, zeros_like, arange ( #25633 )
6 years ago
wangchaochaohu
1e4ab728fb
refine the concat Op for API 2.0 test=develop ( #25307 )
6 years ago
Leo Chen
4ec1251a1e
Refine squeeze, test=develop ( #25281 )
...
* refine squeeze, test=develop
* update squeeze, test=develop
* refine compile-time infershape, test=develop
* add more unittest, test=develop
* follow comments, test=develop
* add update_api, test=develop
* follow comments, test=develop
6 years ago
cnn
70cee22fde
New features, add sinh and cosh op, test=develop ( #25495 )
...
* New features, add sinh and cosh op, test=develop
* remove duplicate test function and remove out paramters, test=develop
* Add out paramters temporary, remove later. test=develop
* remove out args, PR 25570, test=develop
* remove TestParameter, test=developx
* add test api for static dygraph, test=develop
* add backword unittests for sinh and cosh, test=develop
6 years ago
Zhang Ting
a1350744eb
register fp16 kernel, test=develop ( #25630 )
6 years ago
mapingshuo
5453a912fe
add fp64 support in sequence_pool, test=develop ( #25662 )
...
add fp64 support in sequence_pool, test=develop
6 years ago
Leo Chen
1ab4101d6c
add ci check for changing op-related api without core.ops, test=develop ( #25596 )
...
* add ci check for changing op-related api without core.ops, test=develop
* generate api_source_md5 file when build, test=develop
* add failed example, test=develop
* add failed example, test=develop
* handle exception, test=develop
6 years ago
wangchaochaohu
2092660c43
Ones op for API 2.0: remove the device and out parameters ( #25497 )
6 years ago
wangchaochaohu
4a44ffdd24
refine the eye Op for API 2.0 test=develop ( #25295 )
6 years ago
zhupengyang
5a2d15a1d0
arange API: start default is 0, end default is None ( #25452 )
6 years ago
Shibo Tao
71c71e684c
fix logical_* ops' doc ( #25479 )
...
* fix doc of logical_* op.
* fix doc of op pow.
* fix comment syntax error9D
* fix operator reciprocal demo.
* fix logical_* ops' doc. test=develop,test=document_fix
* bug fix. test=develop,test=document_fix
* bug fix. test=develop,test=document_fix
* bug fix. test=develop,test=document_fix
* bug fix. test=develop,test=document_fix
6 years ago
Shibo Tao
a2f141c099
fix reciprocal op doc( #25498 )
6 years ago
zhupengyang
f8eccb0b1c
zeros_like API: remove device; input -> x ( #25413 )
6 years ago
zhupengyang
25029254bc
randn API: remove out, devive, stop_gradient; add name ( #25409 )
6 years ago
wangchaochaohu
bdc2c2dba8
full Op:remove device, out and stop_gradient parameter for API 2.0 test=develop ( #25257 )
6 years ago
wangchaochaohu
0b2ec49ff9
refine the linspace Op for API 2.0 test=develop ( #25284 )
6 years ago
ceci3
52be62c5ae
fix instance norm in dy ( #24717 )
...
* fix bn & in in dy, test=develop
* update instance_norm,test=develop
* fix bugs,test=develop
* add more case in unittest,test=develop
* fix,test=develop
* fix,test=develop
6 years ago
zhupengyang
eb3173e2b6
rand API: remove out, device, stop_gradient; add name ( #25246 )
6 years ago
Feiyu Chan
e3223ad704
fix nce sample code for python3, test=develop ( #25103 )
...
fix nce sample code for python3 compatability.
6 years ago
wawltor
d44ba589f3
Fix some doc apis example,scale ops
...
Fix the doc example api for the scale op
6 years ago
Kaipeng Deng
74468bf428
add mish op. ( #24565 )
...
* add mish op. test=develop
6 years ago
Yang Zhang
6d6efafeeb
Add `matrix_nms_op` ( #24400 )
...
* Add `matrix_nms_op`
test=develop
* Make ci happy
test=develop
* Exit early when no detection
test=develop
* Fix license year
test=develop
* Output index as well
test=develop
* Match nms2 lod behavior and add `return_index` flag
test=develop
* Make CI happy
test=develop
* Fix wording
test=develop
6 years ago
danleifeng
064d0ce386
fix check_type bug and example code in hash api; test=develop ( #25253 )
6 years ago
Zhou Wei
c701588b14
add base class of LearningRateEpochDecay, and API: MultiStepDecay, and API: StepDecay ( #24821 )
...
* add new API: MultiStepDecay, a new learing rate strategy, test=develop
* add new API: MultiStepDecay, a new learing rate strategy,test=develop
* add new API: MultiStepDecay, a new learing rate strategy,test=develop
* add base class of LearningRateEpochDecay, and MultiStepDecay, and StepDecay, test=develop
* fix doc to add coverage,test=develop
6 years ago
WuHaobo
6bf7df475c
Fix English doc of the activation OPs, such as exp, rsqrt, abs....... ( #25258 )
6 years ago
Jacek Czaja
a7944904d3
[oneDNN]elementwise_add and elementwise_mul int8 support ( #24984 )
...
* Start implementing int8 eltwise add
test=develop
* - Fix to Michal PR
* - Fix
test=develop
* - Lint fixes
test=develop
* - Added checking if elementwise_mul can be used
test=develop
* - Added attribs to skip_attrs_set
test=develop
* - Improved broadcasting
test=develop
- fixes to compilation
- fix
- fix
- Lint fixes
test=develop
* - removed redundant condition
test=develop
Co-authored-by: Michal Gallus <michal.gallus@intel.com>
6 years ago
FlyingQianMM
3b28629ee8
fix dtype error in retinanet_target_assgin example codes. test=develop ( #25091 )
6 years ago
Leo Chen
fa657b3dbb
fix bug of prelu when rank not equal 4, test=develop ( #25067 )
...
* fix bug of prelu when rank not equal 4, test=develop
* fix prelu inference, test=develop
* fix api, test=develop
* fix shape when mode is chennel, test=develop
* remove debug code, test=develop
* add unittest, test=develop
6 years ago
Leo Chen
c7a63908b0
replace some logging.warn() with warings.warn(), test=develop ( #25025 )
6 years ago
liym27
f16e277859
[Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not ( #24911 )
...
* Support int and long: int or long -> six.integer_types.
* Modify test_tensor_shape: fix bug and modify comment.
* Support convert_var_shape to convert var.shape stmt
* Modify code in ifelse_simple_func.py because don't support return non-Tensor in Tensor-dependent 'if' stament currently.
* Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not. test=develop
6 years ago
wawltor
9a2c1aedcc
Fix the elementwise_div op broadcast failed in some shape
...
Fix the bug for elementwise_div op, when the first var is scalar; Use the shape 1 replace the -1 in shape.
6 years ago
Aurelius84
6be0ee159e
Support LoDTensorArray in reverse_op ( #24797 )
...
* Support LoDTensorArray in reverse_op test=develop
* polish en doc and unittest code test=develop
* refine sample code test=develop
* add example of LoDTensorArray test=develop
* fix typo test=develop
6 years ago
whs
4c01d6d53e
Enhance checking in some operator. ( #24473 )
6 years ago
FlyingQianMM
a359cade74
rewrite the sigmoid_focal_loss code example ( #24889 )
...
* rewrite the sigmoid_focal_loss code example. test=develop
* fix spelling mistake in comments of code example.test=develop
6 years ago
wangchaochaohu
f8ac6c2c58
fix fp16 support of assgin Op and squeeze Op test=develop ( #24862 )
6 years ago
Aurelius84
6db0e2b1a9
[Dy2stat] Support len syntax ( #24638 )
...
* [dy2stat] Support len
* add convert_call func
* refine code test=develop
6 years ago
Bai Yifan
c417f991c1
fix teacher_student_sigmoid_loss dtype check, test=develop ( #24586 )
6 years ago
Leo Chen
9fd1aad6e7
Support NHWC in Pool2D, test=develop ( #24240 )
...
* support NHWC in Pool2D, test=develop
* add unittest, test=develop
* fix unittest, test=develop
* fix typo, test=develop
* follow comments, test=develop
* refine comments, test=develop
6 years ago
FDInSky
08e9cf4af8
update interpolate & upsample api's doc ( #24553 )
...
* test=develop update interpolate & upsample api
6 years ago
jinyuKING
6ca44cbaa3
API/OP(sequence_first_step, sequence_last_step, sequence_mask, beam_search, beam_search_decode) error message enhancement ( #24590 )
6 years ago
liym27
b3ac1470c5
Support create LoDTensorArray and return LoDTensorArray in control flow ( #24609 )
...
* Support to create LoDTensorArray in control flow (cond and while_loop)
* Fix bug: return LoDTensorArray in while_loop
* Change code in list_transformer.py to accommodate the new features.
6 years ago
Guo Sheng
fe8d006f7e
API/OP(sequence_expand_as) error message enhancement ( #23712 )
...
* API/OP(sequence_expand_as) error message enhancement.
test=develop
Co-authored-by: FrostML <380185688@qq.com>
6 years ago
liu zhengxi
fff9faae72
API(dynamic_gru, chunk_eval, BeamSearchDecoder) error message enhancement ( #24513 )
...
* dynamic_gru err_msg enhancement, test=develop
* chunk_eval err_msg enhancement and fix crf_decoding output type, test=develop
* BeamSearchDecoder err msg enhancement, test=develop
* fix doc for chunk_eval, test=develop
* refine lod err msg for chunk_eval, test=develop
6 years ago
liym27
615a8bfcf4
Support int32 int64 and fix bug ( #24407 )
...
* Compatible int32 and int64 for attr in op slice/strided_slice. test=develop
* Polish code in nn.py test=develop
* Fix bug: set the same dtype for the inputs of elementwise_add. test=develop
* Convert int32 to int64 in slice op to avoid data overflow. test=develop
* Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
6 years ago
lilong12
a13a4dbc7b
Improving error reporting messages for ops ( #24438 )
...
* improve error reporting message
6 years ago
Cindy Cai
86ca31ab58
English API Docs Optimization Part 1 ( #24536 )
...
* test=develop, test=document_fix
* test=develop, test=document_fix
Co-authored-by: swtkiwi <1208425345@qq.com>
6 years ago
ruri
ea2c498712
Fix err message ( #24507 )
...
* fix error message, test=develop
6 years ago
chajchaj
e5a624935f
Enhance error message of cross_entropy_op, sigmoid_cross_entropy_with_logits_op ( #24485 )
...
* error message of cross_entropy_op, test=develop
* fix bug : can't use platform::errors::InvalidArgument in HOSTDEVICE, test=develop
* fix bug: recovery the check_variable_and_dtype for rank_loss and bpr_loss, test=develop
6 years ago
xujiaqi01
c2103c4844
fix error check ( #24483 )
...
* fix error check of stack and space_to_depth
* test=develop
6 years ago
swtkiwi
f5c6dd6def
test=develop ( #24522 )
6 years ago
Yibing Liu
a9520db24e
Format error message for ops ( #24482 )
...
* Format error message for ops, test=develop
* Fix check in sequence_expand, test=develop
6 years ago
hutuxian
7f85dfeb18
Upgrade Error Message for AucOP & MultiplexOP ( #24458 )
6 years ago
danleifeng
d98e1182a1
fix check and error message for flatten hash is_empty op ( #24434 )
...
fix check info for flatten hash is_empty op; test=develop
6 years ago
liu zhengxi
417b576c34
API(dynamic_lstm, dynamic_lstmp) error message enhancement ( #24450 )
...
* update err msg for dynamic_lstm and dynamic_lstmp, test=develop
6 years ago
wangchaochaohu
53bdee64e6
add tensor support for gaussian_random_op test=develop ( #24389 )
6 years ago
qingqing01
da4a1db7bb
Refine error message in some OPs ( #24443 )
...
test=develop
6 years ago
WuHaobo
1c00732dd0
Polish PADDLE_ENFORCE of unfold_op ( #24423 )
6 years ago
wawltor
d0ef94798d
Fix the elementwise_ops axis bug, add the warning log for paddle 2.0
...
Fix the elementwise_ops axis bug, make elementwise_ops has the same the op function for override ops
6 years ago
Chen Weihang
05d20e5793
API/OP (Some SL API) error message enhancement ( #24441 )
...
* polish some sl api error message, test=develop
* polish python input check of stride slice, test=develop
* fix unittest bugs, test=develop
6 years ago
zhang wenhui
621a4085b9
enhance cvm bpr_loss adam adagrad adamax ftrl error message, test=develop ( #24452 )
6 years ago
Li Fuchen
e58619295e
OP(rank_loss, similarity_focus, squeeze) error message enhancement ( #24448 )
...
* enhance rank_loss error message, test=develop
* enhance similarity_focus error message, test=develop
* enhance squeeze error message, test=develop
6 years ago
wangguanzhong
abb49df26f
Enhance yolo_box & yolov3_loss ( #24370 )
...
* add scale_x_y for yolo_box, test=develop
* refine eps in iou_similarity, test=develop
6 years ago
mapingshuo
d1bb76a2f7
fix error log, test=develop ( #24419 )
...
* fix error log: resahpe, range, reverse.
6 years ago
FDInSky
7fedf26b87
add linear interpolate operator ( #23357 )
...
* test=develop add linear interpolate operator
6 years ago
Xing Wu
4af3ec0f8a
fix rnn check_type list error ( #24346 )
...
* fix rnn check_type list error
* tigger ci, test=develop
* update modify, test=develop
6 years ago