Leo Chen
5b285470db
Fix error message of load_inference_model ( #24314 )
...
* fix error message, test=develop
* add unittest, test=develop
5 years ago
Chen Weihang
5ea3818ab1
fix slice bug in while loop, test=develop ( #24326 )
5 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
5 years ago
huangjun12
d0b0e27408
refine huber loss unittest, test=develop ( #24263 )
5 years ago
liym27
ac9a7eeea4
[Dy2Stat]Support list pop ( #24250 )
...
* Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py
* Add comments in ConditionalBlock.
* Support list pop last item.
* Support pop the i-th item.
* Support an empty tensor array as Input in assign op and set the kernel type is float.
5 years ago
Chen Weihang
c78da18db4
polish print format, test=develop ( #24312 )
5 years ago
Xing Wu
f79526c21c
Fix dygraph rnn doc ( #24148 )
...
* update dygraph.rnn import
* update dygraph.rnn import
* change unit to cell
* fix math equations
* fix math equations
* fix examples
* remove unused import
* fix examples
5 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>
5 years ago
Tao Luo
9eedf05d2f
solve mklml memory leak on windows ( #24015 )
...
* solve mklml memory leak on windows
test=develop
* remove unused msvcr120.dll
test=develop
5 years ago
Yi Liu
89c76a5342
fix bug of load op in issue#24252 ( #24253 )
...
test=develop
5 years ago
xujiaqi01
1034ca316f
add timeout and http store in communication ( #23436 )
...
* add timeout and http store in communication, add revert and confirm in fleet
* test=develop
5 years ago
hong
04e9d721a2
unitize name in optimizer; test=develop ( #24008 )
5 years ago
Yibing Liu
fb82d72c61
Move complex into dir incubate ( #24254 )
...
* Move complex into dir incubate, test=develop
* Fix imports, test=develop
* Fix docs, test=develop
* Forbid import functions from paddle.incubate directly, test=develop
5 years ago
0YuanZhang0
f800403fff
Manual seed API recover
5 years ago
wawltor
d1e1d85881
add the graph batch reader for pslib mode ( #24178 )
...
Add the pslib graph batch reader mode, add the test case for this change
5 years ago
liym27
803559499d
[Dy2Stat]Support LoDTensorArray for slice op ( #23091 )
...
* Support LoDTensorArray for slice op.
* Support read elements of list in dygraph_to_static
* Fix infershape add test for infershape.
* Support Tensor for Attr(starts) and Attr(ends).
* Use new interfaces in VarTypeInference.
5 years ago
qingqing01
84cf5db854
Fix double_grad bug in statig-graph ( #24190 )
...
* Rename internal gradient variables in multiple backward
* so that they have different names with previous backward
* For example:
* y = x * x, grad = fluid.gradients(fluid.gradients(y, x) + y * y, x)
* In second-time backward, gradient variable names of partial
* forward network (y * y) may be have same names with first-time
* fluid.gradients(y, x).
test=develop
5 years ago
Feiyu Chan
78cd3dd507
fix kron_op: when only one input needs gradient, test=develop ( #24269 )
...
fix kron_op: when only one input needs gradient
5 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
5 years ago
liym27
e8869a907b
Fix bug in ProgramTranslator.get_output, convert all items into VarBase in nested list. ( #24267 )
5 years ago
Leo Chen
381492fca3
add try finally, test=develop ( #24243 )
5 years ago
yongqiangma
74803f5190
add unbind python api ( #24141 )
...
* add unbind pyhon api. test=develp
5 years ago
lidanqing
61ec30f030
Update QAT INT8 2.0 doc ( #24127 )
...
* update local data preprocess doc
* update for 2.0 QAT
test=develop
test=document_fix
* update benchmark data
test=develop
test=document_fix
Co-authored-by: Wojciech Uss <wojciech.uss@intel.com>
5 years ago
Yibing Liu
f0046889ff
Add complex layer for transpose & matmul, test=develop ( #24195 )
...
* Add complex layer for transpose & matmul, test=develop
* Tiny fixes in doc, test=develop
* Fix docs, test=develop
5 years ago
Sylwester Fraczek
e1a7a88057
added reshape transpose matmul fuse pass ( #23754 )
5 years ago
zhongpu
61d19a8e1c
fix if logic in dygraph, test=develop ( #24208 )
5 years ago
Tao Luo
d7850dcdc0
add noavx_axpy and noavx_axpy_noadd ( #24207 )
...
* remove double registery for pyramid_hash op
* add noavx_axpy and noavx_axpy_noadd
test=develop
5 years ago
GaoWei8
ec00d11204
fix lod_reset check dtype ( #24133 )
...
test=develop
5 years ago
Feiyu Chan
e146e79e66
add reshape in paddle.complex ( #24176 )
...
* add reshape in paddle.complex, test=develop
* fix typos in paddle.complex.kron's comment, fix unittest, test=develop
5 years ago
FDInSky
e72832adb4
fix generate_proposals ( #23797 )
...
* test=develop fix generate_proposals
5 years ago
Guo Sheng
663eca451d
Fix dygraph dropout seed. test=develop ( #24177 )
5 years ago
Chen Weihang
9b851ba216
[dy2static] Add print transformer and unify print format ( #24068 )
...
* add print transformer & unify print format, test=develop
* remove using of dygraph_to_static_func, test=develop
* remove python stdout capture, test=develop
* fix compatibility problems for PY2, test=develop
* fix detail error, test=develop
* fix type analysis bug, test=develop
* fix print tuple compatible error in PY2, test=develop
* replace get_func to declarative, test=develop
* fix detail bug, test=develop
* fix some detail problems, test=develop
* change visit_call in print transformer, test=develop
5 years ago
Kaipeng Deng
3e962aecc1
fix kldiv_loss sample code diff. test=develop test=document_fix ( #23660 )
5 years ago
Li Fuchen
077e5a0fe5
Add trace op ( #23873 )
...
* add trace op, test=develop
* Optimized the implementation of trace op, test=develop
* fix a bug of include in trace_op.h, test=develop
* move trace API from creation to math, test=develop
* modified en doc. test=develop
* add complex trace api
* add complex sum api, test=develop
* modified en doc of complex sum and trace, test=develop
* modified doc and trace API, test=develop
* modified en doc of trace and sum, test=develop
* modified comment in complex kron API, test=develop
* OP Should Not Have Unused Input, test=develop
* add GetExpectedKernelType, test=develop
5 years ago
Yiqun Liu
ecfddebbef
Add the implementation of inverse ( #23310 )
5 years ago
Guanghua Yu
43def6b647
fix CrossEntropyLoss op en doc, test=develop ( #24104 )
5 years ago
石晓伟
e396c47850
try to resolve the inference_pass_test, test=develop ( #24172 )
5 years ago
ShenLiang
0fb9b208ab
Add batch_fc op in contrib ( #24017 )
...
* add batch fc op, test=develop
* add batch_fc_op, test=develop
* fix untest, test=develop
* rm check_dygraph, test=develop
* fix comment, test=develop
* fix comment, test=develop
5 years ago
Zhang Ting
f5c08c3f4d
set int64 for Output(Length) of sequence_pad, test=develop ( #24161 )
5 years ago
hong
a8eac7da61
fix warpctc bug in dygraph mode; test=develop ( #24119 )
5 years ago
XiaoguangHu
526a13ff58
define fluid alias in paddle.tensor and paddle.nn dir ( #24151 )
...
* define fluid alias in paddle.tensor and paddle.nn dir test=develop
* from layer import loss in paddle.nn dir test=develop
5 years ago
Chen Weihang
25a233e46d
Simplify Program printing code to improve debugging efficiency ( #23918 )
...
* add to_readable_code method, test=develop
* polish doc details, test=develop
* polish doc note, test=develop
* fix unittest error, test=develop
* fix coverage, test=develop
* add print test, test=develop
* add print param, test=develop
* hidden to_readable_code api, test=develop
* remove original tool methods, test=develop
* remove old api using code, test=develop
5 years ago
HappyAngel
896bda0c98
python API(get_tensor_from_selected_rows and tensor_array_to_tensor)error message enhance, test=develop ( #23636 )
5 years ago
Chen Weihang
9b3086cfb7
Fix some problems in StaticModelRunner ( #24082 )
...
* adapt old version pretrain model load, test=develop
* fix infer error & multiple input error, test=develop
5 years ago
Chengmo
28a558e867
Update index sample ( #24109 )
...
* update index sample
5 years ago
Leo Chen
1fc219ebae
Dev/add fake_interface_only decorator for some function of Variable ( #24083 )
...
* add decorator, test=develop
* add fake_interface_only, test=develop
* remove some dygraph_not_support, test=develop
* change dygraph to imperative, test=develop
5 years ago
suytingwan
a2c6d45080
test=develop softmax op fp16 test case pass grad check ( #24130 )
5 years ago
Liufang Sang
0f77e31691
fix error when out is not None test=develop ( #24103 )
5 years ago
Feiyu Chan
e01262e691
add kron op ( #24105 )
...
* add kron op and its python API, doc and unittests.
* add kron in paddle.complex
5 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
5 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
5 years ago
Pei Yang
ab4d314095
refine full_like en api. test=develop ( #24021 )
5 years ago
Guo Sheng
a8c0fb4e86
Add cholesky_op ( #23543 )
...
* Add cholesky_op forward part. test=develop
* Complete cholesky_op forward part. test=develop
* Add cholesky_op backward part. test=develop
* Complete cholesky_op backward part. test=develop
* Refine cholesky_op error check and docs. test=develop
* Add grad_check unit test for cholesky_op. test=develop
* Fix sample code in cholesky doc. test=develop
* Refine some error messages of cholesky_op. test=develop
* Refine some error messages of cholesky_op. test=develop
* Remove unused input in cholesky_grad. test=develop
* Remove unused input in cholesky_grad. test=develop
* Fix stream for cusolverDnSetStream. test=develop
* Update PADDLE_ENFORCE_CUDA_SUCCESS from cholesky_op to adapt to latest code.
test=develop
* Add CUSOLVER ERROR in enforce.h
test=develop
* Fix the missing return value in cholesky. test=develop
5 years ago
liym27
c2bc92de91
[Dy2Stat] Add test for ptb model. ( #24076 )
...
* [Dy2Stat] Add test for ptb model. test=develop
* Simplify code for gast.If in is_control_flow_to_transform. test=develop
* Move IsControlFlowVisitor to file utils. test=develop
* Don't use convert_call for build-in func in CallTransformer. test=develop
* Optimize api is_control_flow_to_transform. test=develop
* Polish the document of IsControlFlowVisitor. test=develop
* Use declarative instead of dygraph_to_static_func. test=develop
5 years ago
Leo Chen
2ca0e11861
support fetch the feed var when use_prune=True, test=develop ( #24110 )
5 years ago
qingqing01
b059fb955d
Add trainable_statistics in attr for batch_norm. ( #24072 )
...
* Add trainable_statistics in attr for batch_norm
* Unifying behavior of dynamic graph and static graph
5 years ago
Li Fuchen
7dac3226ec
modified the example of diag_embed english doc, test=develop ( #24012 )
5 years ago
liym27
2961a4f07d
[Dy2Stat] Optimize loop cond ( #24049 )
...
* Simplify code for gast.If in is_control_flow_to_transform.
* Move IsControlFlowVisitor to file utils.
* Don't use convert_call for build-in func in CallTransformer.
* Optimize api is_control_flow_to_transform.
* Polish the document of IsControlFlowVisitor.
5 years ago
WuHaobo
79eaac55ba
polish_tril_triu_docstring and add dygraph ( #24055 )
...
* Update creation.py
5 years ago
arlesniak
d31a174f51
added fusing matmul-transpose-reshape pass ( #23866 )
5 years ago
石晓伟
46f3139c7f
supports loading model from memory, test=develop ( #24098 )
5 years ago
littletomatodonkey
eec18202f5
add addmm dyg mode, test=develop ( #24095 )
5 years ago
xiaoting
96ffebef55
fix bicubic, change int to floor ( #24063 )
...
* change int to floor, test=develop
* fix unittest, test=develop
5 years ago
Yang Zhang
ddcdd4a709
Minor fix to `MSELoss` docstring ( #24077 )
...
* Indent MSELoss example docs
* Point out input tensors should be of same shape
test=develop
* Document `MSELoss` input and return parameters
test=develop,test=document_fix
5 years ago
Wojciech Uss
3d744162dd
QAT: support for new models ( #23928 )
...
* QAT: support range-based quantization and scales from attribute
* added support for channelwise
5 years ago
Xing Wu
f6e8bf0d24
update cudnn rnn weights, test=develop ( #23929 )
5 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
5 years ago
guofei
96491e43b7
Repair unittest: test_dyn_rnn ( #24031 )
...
Repair unittest: test_dyn_rnn
5 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
5 years ago
0YuanZhang0
a164b10d05
API/OP error message enhancement ( #23717 )
...
* test=develop
5 years ago
Zeng Jinle
acef55df04
fix isolated var fetch bug, test=develop ( #24070 )
5 years ago
Guo Sheng
54a47cd271
Add tracks_own_finished to Decoder to avoid mismanagement of the finished state in dynamic_decode. ( #23664 )
...
test=develop
5 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
5 years ago
Leo Chen
5cccc69f1a
update name generator, test=develop ( #24048 )
...
* update name generator, test=develop
* use c++ unique name generator, test=develop
5 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
5 years ago
ceci3
488f357728
fix bceloss weight ( #23973 )
...
* update docs, test=develop
* polish eng docs, test=develop
5 years ago
Zhou Wei
6f5669f9bf
Add note about the time cost and change HTTPS to HTTP to avoid unable to download( #24043 )
5 years ago
Kaipeng Deng
10d85208bf
fix test_multiprocess_dataloader_base timeout. test=develop ( #24053 )
5 years ago
liu zhengxi
8dfb240a64
disable trt test, test=develop ( #23984 )
5 years ago
yongqiangma
89cf4f90ec
lod_rank_table error message enhance ( #23613 )
...
* lod_rank_table error message enhance. test=develop
5 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
5 years ago
Zhang Ting
f5d76b50ec
polish the dist doc, test=document_fix ( #23982 )
5 years ago
GaoWei8
62e647c3c0
polish lod_append,lod_reset test ( #23979 )
5 years ago
Kaipeng Deng
80cf3c3c4d
Refine DataLoader support multi-processing ( #23107 )
...
* add DataLoader, Dataset, BatchSampler
5 years ago
wangguanzhong
931cba2e64
add clamp api, test=develop ( #23273 )
...
* add clamp api, test=develop
5 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
5 years ago
silingtong123
f6dbf8e3a4
add 'seed' arguemnt of randint API ( #23809 )
...
* test=develop, add seed arguemnt of randint API
5 years ago
danleifeng
7049f301ee
fix example bug;test=develop ( #23893 )
5 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
5 years ago
liu zhengxi
8e555ba650
OP(pad, pad2d, pad_constant_like) error message enhancement ( #23882 )
...
* enhance pad.* error message, test=develop
5 years ago
zhangchunle
6bd200db66
remove high level api ( #23854 )
5 years ago
liuwei1031
94fdb8eb59
tweak doc of dot and logsumexp, test=develop ( #23925 )
5 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
5 years ago
Yiqun Liu
8d0b0cb4ae
Op(conv2d_fusion) error message enhancement. ( #23596 )
5 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
5 years ago
0YuanZhang0
2a38f12382
ADD Manual seed op into paddle.framework ( #23537 )
...
* test=develop
Co-authored-by: wuxing03 <wuxing03@baidu.com>
5 years ago
liym27
1507f77a18
Fix bug in convert_call because difference exists between python3 and python2. test=develop ( #23966 )
5 years ago
gfwm0502
455ed26708
Modify English documents of while and while_loop ( #23934 )
...
test=develop test=document_fix
5 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
5 years ago
Kaipeng Deng
20b1b080f7
fix logger propagate. test=develop ( #23961 )
5 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
5 years ago
liym27
0b0adbf9b6
[dy2static]Support recursive call ( #23900 )
...
* [Dy2Stat]Support recursive call.
* Remove Redundant decorator to pass the Py35 unittest temporarily.
5 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
5 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
5 years ago
GaoWei8
e9289e8c22
enhanced lod_append, lod_reset english doc ( #23803 )
5 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
5 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
5 years ago
Zhou Wei
8002b2beb4
Avoid logging.info be printed many times in dygraph_mode,test=develop ( #23932 )
5 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
5 years ago
GaoWei8
0be4b04d13
Api (lod_append) error message enhancement ( #23541 )
5 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
5 years ago
hutuxian
65f495c9fa
remove print statement to make code clean( #23907 )
5 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
5 years ago
Zhou Wei
66dc8e30f0
move the initialize position of grad_clip to optimizer(__init__),and speed up clip ( #23782 )
5 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
5 years ago
liym27
b3520b14fc
Get answer code from function instead of str. test=develop ( #23904 )
5 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
5 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
5 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
5 years ago
Bai Yifan
477cb1fdb3
Add addcmul, test=develop ( #23411 )
...
* add addcmul, test=develop
5 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
5 years ago
gfwm0502
d8ca66dae2
Modify documents of executor and randn and fix other errors ( #23879 )
...
test=develop
5 years ago
gfwm0502
a756360263
OP/API (While/while_loop/DynamicRNN) : Error Message Enhancement ( #23896 )
...
As the title
5 years ago
lijianshe02
e21b3c273e
add nll_loss op test=develop ( #23758 )
...
* add nll_loss op test=develop
5 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
5 years ago
Chen Weihang
1747bbdbab
disable test imperative data loader exception, test=develop, test=document_fix ( #23933 )
5 years ago
Chen Weihang
fccbc485f5
remove redundant visit func, test=develop ( #23877 )
5 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
5 years ago
mapingshuo
f0e743f136
fix AMP and recompute ( #23551 )
...
* allow amp and recompute working together
5 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
5 years ago
zhupengyang
56c54cccbd
Op(prelu/relu/f.relu/f.log_softmax) error message enhancement ( #23792 )
5 years ago
gfwm0502
af149f2595
OP(compare/get_places/shrink_rnn_memory) error message enhancement ( #23780 )
...
As the title.
5 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
5 years ago
Chen Weihang
5b97b8556e
remove train eval set in static runner, test=develop ( #23834 )
5 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
5 years ago
zhongpu
1f8d8a5358
remove dygraph api to paddle.imperative, test=develop ( #23628 )
5 years ago
Chengmo
ddd604446b
Fix judge pslib transpiler ( #23720 )
...
* fix judge pslib & ranspiler
5 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
5 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
5 years ago
songyouwei
8f63a3ecff
fix no_grad argspec ( #23790 )
...
test=develop
5 years ago
Liufang Sang
9549b78691
OP Normal, Uniform, Xavier Initializer, smooth_l1, mean_iou error message enhancement ( #23751 )
...
* enhance error message test=develop
* enhance error message test=develop
* change to INOUT_CHECK test=develop
5 years ago
Xing Wu
840ac2b302
Cudnn rnn layers api ( #23390 )
...
* add cudnn compatiable rnn cell api for dygraph
* update sample code
* update some typos
* fix specify name in param_attr problem
* add pre-commit check
* remove duplicate import, test=develop
* add unittest coverage, test=develop
* make code more tight, test=develop
* cudnn_compatibale -> use_cudnn_impl, test=develop
* change api name, test=develop
5 years ago
yaoxuefeng
5b69242fab
modify datanorm op test=develop ( #23030 )
5 years ago
suytingwan
3e1676fa9a
Add meshgrid op ( #23736 )
...
* test=develop fix api doc error
5 years ago
wawltor
17ec3ab23e
Fix the scale fp16 dtype support for scale op, delete the fp16 test caseraise for scale
...
Fix the scale fp16 dtype support for scale op, and delete the test case for fp16 case
5 years ago
Yang Zhang
648f1d5b3f
API/OP error message enhancement ( #23684 )
...
* `l1_norm` error message enhancement
test=develop
* `norm` error message enhancement
test=develop
* `squared_l2_norm` error message enhancement
test=develop
* `squared_l2_distance` error message enhancement
test=develop
* `conv_shift_op` error message enhancement
test=develop
* `sample_logits_op` error message enhancement
test=develop
* Fix format
test=develop
* use `PADDLE_ENFORCE_EQ` for '||' conditional
test=develop
* Fix string format
test=develop
* Add test for `sample_logits`
test=develop
* Add error message
test=develop
* Use ordered dict for outputs
test=develop
* Hard code fetch list so that order is deterministic
test=develop
* Fix license header year
test=develop
5 years ago
123malin
2e4196f647
add new api for Paddle2.0: nonzero, index_selct, roll, cross ( #23176 )
5 years ago
xiaogang
f11af6a935
enhance attention_lstm and param_attr error message ( #23678 )
...
* enhance attention_lstm and param_attr error message
* fix: fix param_attr type check
5 years ago
Feiyu Chan
600cb8c828
Add row_conv and hsigmoid into paddle.nn(functional and layer) ( #23517 )
...
* add approximation for gelu, test=develop
* add functional conv
* add test and doc for function convs, test=develop
* update ConvTransposeOp's InferShape and error message, test=develop
* add hsigmoid, row_conv in paddle.nn(functional and layer), test=develop
* fix hyperlinks in docstring
5 years ago
Bai Yifan
4231d84077
enhance some op/api error message ( #23768 )
...
* enhance error message, test=develop
5 years ago