LielinJiang
f92fdfb8ef
Add ReduceLROnPlateau ( #29113 )
...
* add ReduceLROnPlateau
6 years ago
Huihuang Zheng
27b4218333
[Dy2stat] Disable PaddleInference IR Optimization in test_mnist for CUDA11 ( #29105 )
...
test_mnist failed on CUDA11. We found that it is due to PaddleInference IR Optimization after debugging. We disable it in this PR and we will re-enable it after PaddleInference fixes it.
6 years ago
liym27
01bdea7c31
[Dy2Stat] Don't conver the function from third library logging ( #29161 )
6 years ago
liym27
a7433cc379
[Dy2Stat] Fix bug: the return statement should be transformed to an equivalent Paddle/Python if statement, which depends on if conditions of the return stmt. ( #29165 )
6 years ago
Huihuang Zheng
4a0a870177
[dy2stat] Set shape for linspace to Fix dy2stat for GridGenerator Model ( #29173 )
...
GridGenerator model failed because the output shape of `linspace` is (-1). The reason is that C++ InferShape fixes the shape to (-1):
5da3d514eb/paddle/fluid/operators/linspace_op.cc (L49)
We cannot set the shape in C++ infer shape because this Tensor may not be initialized during compile time, but when input `num` of `linspace` is an integer, we know the shape at compiler time. This PR simply set the shape in Python and add GridGenerator as unittest.
6 years ago
Aurelius84
cb680c8013
[Dy2Stat]Refine code of test_lac unittest ( #29087 )
6 years ago
ShenLiang
e2d01eb650
Support dynamic graph distributed ( #28997 )
...
* add reducer
* refine envent for memorycopy
* add concat&split for allreduce
* apply concat & split for fuse tensor
* fix nccl dep
* fix the untest, compile problem and ddp initialize problem
* fix untest for mac & add some comments & solve the repeated param in sublayers
* fix untest for windows & fix document
6 years ago
lilong12
7e5e9934fe
update expand as op to use the shape of the target tensor instead of the target tensor itself. ( #29020 )
...
* update, test=develop
6 years ago
Kaipeng Deng
f4c894a693
alias yolo_loss & yolo_box to paddle.vision. ( #28520 )
...
* alias yolo_loss & decode_yolo_box to paddle.vision. test=develop
6 years ago
Shibo Tao
4ceedec33d
enhance doc. add kwargs for backward compatibility. test=develop ( #29143 )
6 years ago
LutaoChu
28280647eb
add paddle.subtract, optimize paddle.maximum and paddle.minimum
...
add paddle.subtract, optimize paddle.maximum and paddle.minimum
6 years ago
徐铭远
3c2a46bd7b
fix doc of erf,rank,mm,cross_entropy,pixel_shuffle,kron... ( #29126 )
...
* fix doc example, test=develop, test=document_fix
6 years ago
Chen Long
d576d6ddeb
fix some docs test=develop;test=document_fix ( #29159 )
6 years ago
yukavio
5da3d514eb
solve pretty table dependent in flops api ( #29132 )
...
* solve pretty table dependent in flops api
* add unittest dependent
* temp
6 years ago
pangyoki
6df685ab64
fix nce, multinomial, Categorical, Normal, Uniform en doc ( #28541 )
...
* fix Categorical en doc
* fix doc for apis
* remove numpy in sample code
6 years ago
LielinJiang
9f53f3d09e
Enhance logger callback for benchmark ( #29106 )
...
* enhance logger callback for benchmark
6 years ago
Jack Zhou
085260f3de
Add eigen gru and fix the dropout bug in the rnn
...
Add eigen gru and fix the dropout bug in the rnn
6 years ago
yaoxuefeng
545df287fc
add user_define_dump ( #28596 )
6 years ago
lilong12
216e085605
update, test=develop ( #29139 )
6 years ago
liym27
5fe44571f0
[Dynamic-to-Static] Support **kwargs as input of the function which is decorated by `jit.save.to_static` ( #29098 )
6 years ago
Aurelius84
71815637cc
Move gym into unittest/requirements.txt ( #29149 )
6 years ago
YUNSHEN XIE
0fca8cdfdf
fix error with ut timeout and failed ( #29148 )
6 years ago
GaoWei8
a7ef724dd5
polish softamx doc ( #29153 )
6 years ago
lilong12
a1add716bc
Add a flag to control whether to initialize gloo ( #29150 )
6 years ago
Chen Weihang
0d1900d329
add debug msg for test_buffer_shared_memory_reuse_pass ( #29151 )
6 years ago
guofei
638402274a
Integrate ImperativeOutScale into ImperativeQuantAware. ( #27956 )
...
* Optimiz the unittest test_imperative_out_scale
test=develop
6 years ago
Shang Zhizhou
b9e76a0103
detect tensorRT plugin fp16 in runtime ( #27933 )
...
* remove -DSUPPORTS_CUDA_FP16 in cuda.cmake
* comile with cuda9
* add some unittest
* notest;test=coverage
* add unittest for trt plugin swish && split
* update ernie unittest
* fix some error message
* remove repeated judgement of CUDA version in mbEltwiseLayerNormOpConverter
* fix comile errror when CUDA_ARCH_NAME < Pascal"
* fix comile error
* update unittest timeout
* compile with cuda9
* update error msg
* fix code style
* add some comments
* add define IF_CUDA_ARCH_SUPPORT_FP16
* rename IF_CUDA_ARCH_SUPPORT_FP16 to CUDA_ARCH_FP16_SUPPORTED
6 years ago
Chen Weihang
c39da29db7
Add symlink force for unittest test_static_save_load ( #29137 )
...
* add symlink force for unittest
* open unittest
6 years ago
xiaoting
9cc0e72619
Fix interpolate doc ( #29104 )
...
* fix interpolate example, test=develop;test=document_fix
* fix format, test=develop, test=document_fix
* update upsample doc, test=develop, test=document_fix
6 years ago
whs
9b39af3f22
Fix docs in 2.0 API ( #29081 )
...
* 1. grid_sample
1.1 fix has_print
2. conv1d_transpose
2.1 fix code_example error
3. conv1d
4. affine_grid
4.1 has_print
4.2 has_disable_static
5. Conv1DTranspose
5.1 fix code_example error
5.2 has_disable_static
6. Conv1d
6.1 code_example
6.2 has_disable_static
6 years ago
Guanghua Yu
bb64efb1d0
fix softmax_with_cross_entropy api en docs ( #29116 )
6 years ago
Chen Weihang
0dfb81614b
polish static save load doc, test=document_fix ( #29115 )
6 years ago
Chen Weihang
95a0f87b44
support jit.save datra parallel ( #29135 )
6 years ago
lilong12
449903dead
add paddle.broadcast_to api which is a alias of paddle.expand ( #28706 )
...
* update, test=develop
6 years ago
Noel
da71173bc9
Fix ops doc for some ops
...
Fix ops doc for some ops
6 years ago
Leo Chen
770395cb93
Split train_mode and has_grad for tracer ( #29064 )
...
* split train_mode and has_grad
* fix format
* fix ci problems
* fix sample code
6 years ago
ShenLiang
cddc70964d
fix InMemoryDataset doc ( #28688 )
...
* add Inmemorydataset
6 years ago
ShenLiang
bb5f8e3575
fix doc of data,matmul,dot,cholesky,scatter,divide,remainder,inverse,sign ( #28665 )
6 years ago
yukavio
29b5050726
Revert "add hapi api flops ( #28755 )" ( #29144 )
...
This reverts commit 63e90ee331 .
6 years ago
Aurelius84
cc92b27d4e
Add prettytable in unittest/requirements.txt ( #29147 )
6 years ago
YUNSHEN XIE
27d04a3b1f
disable ut test_static_save_load ( #29119 )
6 years ago
JZ-LIANG
0dadacc4eb
[sharding] doc, api, bug fixed ( #28983 )
...
* add lars to fleet meta optimizer
* add lamb to proto
* add lamb to fleet meta optimizer
* fixed syntax bug
* fixed syntax bug
* fixed syntax error in lamb, add config setter of lamb in distributed_strategy
* trigger unitest to rerun
* add new unitest func for lamb
* revise unitest for lars and lamb
* revise dgc meta unitest
* revise lars document in distribute_strategy
* revise lars lamb document in distributed_strategy.py
* revise lars lamb document in distributed_strategy.py
* add weight decay exclude logic to lars
* restore optimzier.py
* restore optimizer.py as develop except lars
* add epsilon and exclude fn to distributed_sttrategy
* add lars epsilon
* revise unitest for fleet lars and lamb
* revise lars lamb unitest for CI coverage
* revise lars argument api
* revise lars argument api
* revise lars argument api
* revise api doc of lars
* fix op role
* add sharding save and add_sync_comm_for_test function
* add comm_analyse to utlis
* revise sharding_utils
* add sharding saving unittest
* revise sharding utils for unittest
* revise sharding en doc
* update sharding utils api
* add doc for sharding
* fixed bug in sharding var size count
* update varsize count in sharding
* fix sharding num_nccl_comm
* Revert "fix sharding num_nccl_comm"
This reverts commit d51587c15e9323acf226ddd36154275f0d1daf76.
6 years ago
lilong12
2a864c70c4
fix the bug in gloo ( #29112 )
...
* update, test=develop
6 years ago
whs
7de2db4a81
Fix grid_sample in cudnn mode ( #29124 )
6 years ago
Yanghello
dd41775059
fix crypto ut test error for windows ci ( #29090 )
6 years ago
Chen Weihang
d0129fcd88
Add static_only decorator for static apis ( #29015 )
...
* add static_only for static api
* addd static_only for class init
* remove static_only for default_main_program
* remove creater_parameter & startup_program
* remove failed apis
* revert py_func import
* remove global scope
* remove some api
* remove cuda pinned place
6 years ago
WangXi
e931c7baf9
Fix multi nccl comm & wait server ready ( #28663 )
6 years ago
ceci3
e7caf3b8d9
fix examples, test=document_fix ( #29019 )
...
* fix examples, test=document_fix
* fix, test=document_fix
6 years ago
Shibo Tao
db41258501
add API serialize_program, serialize_persistables, save_to_file, deserialize_program, deserialize_persistables, load_from_file. ( #29034 )
6 years ago
Aurelius84
14013a2eba
Remove prettytable in requirements.txt ( #29100 )
6 years ago
Kaipeng Deng
b052149dcf
remove BatchSampler type check ( #29114 )
...
* remove BatchSampler type check. test=develop
6 years ago
yukavio
63e90ee331
add hapi api flops ( #28755 )
...
* add hapi api flops
* fix bug
* fix some bug
* add unit test
* fix unit test
* solve ci coverage
* fix doc
* fix doc
* fix static flops
* delete the comment
* fix some grammar problem in doc
* fix some bug
* fix some doc
* fix some doc
6 years ago
hutuxian
db85f4cf8f
Add dygraph implementation for multiplex op ( #29049 )
6 years ago
joanna.wozna.intel
b0d1ac161e
Add bf16 pool2d and unify bf16 unit tests ( #29039 )
...
* Add bf16 pool2d and unify bf16 unit tests
* Add change default ops test
6 years ago
gongweibao
1358397e97
Clean up the redundant files and unify the launch interface. ( #28928 )
6 years ago
Guanghua Yu
47af5c3c9d
fix smooth_l1_loss en docs ( #29093 )
6 years ago
LielinJiang
6951052431
add default conv init ( #29092 )
6 years ago
Chen Weihang
fea0e294ee
Hide the C++ stack by default and add hints ( #29042 )
...
* default not show cpp statck & add hint
* fix failed unittest
* fix failed unittests
6 years ago
Yiqun Liu
eb9ae55849
Optimize the performance of piecewise_decay. ( #29077 )
6 years ago
qingqing01
8bbedc2371
Fix doc format for callbacks, metrics and Model ( #28638 )
...
* Fix doc format for callbacks, metrics and Model
* Fix code sample and doc
6 years ago
Chen Weihang
a1486091f1
Polish load_program_state design to loading file onebyone ( #29041 )
...
* change load dict file one by one to warn
* add unittests for coverage
* polish error message
* fix cond error
6 years ago
GaoWei8
a049dff78f
Modify the default setting of softmax cudnn ( #28672 )
6 years ago
WeiXin
fafadbab70
Rename variables when use 'jit.load' ( #28933 )
...
* Rename variables when use 'jit.load'
* Check whether the original graph contains the variable with the same name
* add comment
* rename output/input of op and edit unittest
* modify the code according to CI
* edit code according to CI
* edit code according to CI
* edit code according to CI
* edit code according to CI
* edit code according to CI
* edit code according to CI
6 years ago
ceci3
a3faa520ec
Fix syncbn ( #29013 )
...
* fix syncbn
* add unittest
6 years ago
joejiong
582c0a0468
add uint8 for reshape op ( #28996 )
...
add uint8 for reshape operator
6 years ago
FlyingQianMM
f0e614feae
change print([.*].numpy()) to print([.*]) in example codes of sigmoid_focal_loss ( #29094 )
...
* rewrite the sigmoid_focal_loss code example. test=develop
* fix spelling mistake in comments of code example.test=develop
* change print([.*].numpy()) to print([.*]) in example codes of sigmoid_focal_loss. test=document_fix
6 years ago
liym27
682cc17f53
[Dynamic-to-Static] Fix bug: support pop from a dict and polish code of convert_pop ( #29023 )
...
* Support pop for dict in dy2stat
* Move convert_pop to convert_operators.py and polish convert_pop
6 years ago
Zhou Wei
8ca0a8a859
fix tensor detach to zero copy ( #27921 )
...
* fix tensor detach to zero copy
* fix tensor detach to zero copy
6 years ago
GaoWei8
13828db313
Add reminder of fluid.layers.lstm ( #28964 )
...
* add reminder of fluid.layers.lstm
6 years ago
Aurelius84
8af0d85ea4
fix unittest failed on windows GPU ( #29072 )
6 years ago
chajchaj
dfaf6b5eea
save one name in cross_entropy and softmax_cross_entropy, test=develop ( #29074 )
...
* save one name in cross_entropy and softmax_cross_entropy, test=develop
* change used function in CrossEntropy from softmax_cross_entropy to cross_entropy, test=develop
6 years ago
taixiurong
a5aa4dc7a9
add xpu elementwise ops ( #29031 )
6 years ago
tianshuo78520a
e9acd9c941
Update CI Python3 Docker for Cuda11 ( #28401 )
6 years ago
joejiong
b04c78ef5e
Update pow ( #29000 )
...
Simple code clean up
6 years ago
huangxu96
40f5453725
Quant nn2.0 ( #28764 )
...
* Impelement 2.0 API version Conv2d and Linear layer quantization in imperative mode.
* use cudnn softmax in static Lenet
* Modified ChannelwiseQAT Unittest for 2.0 API.
* For CI python coverage.
6 years ago
Chen Weihang
bb16c2515d
Polish parallel api impl & doc details ( #28980 )
...
* polish parallel api impl & doc details
* add unittest for coverage
* remove spawn test in py2.7
* add parallel api into white list
6 years ago
joejiong
4b05a8be88
delete axis parameter in multiply api ( #28647 )
...
As the title
6 years ago
YUNSHEN XIE
c098a2e159
fixing cmake error for WITH_GPU=ON and WITH_DISTRIBUTE=OFF ( #29030 )
6 years ago
chajchaj
b52427327d
add soft_label and axis for CrossEntropyLoss and improve performance ( #29024 )
...
* add soft_label and axis for CrossEntropyLoss and improve performance,test=develop
* fix conflict in nn/functional/loss.py, test=develop
6 years ago
Chen Long
018e169923
fix some docs ( #29011 )
...
* fix some docs test=develop;test=document_fix
* add code example test=develop;test=document_fix
* fix code example test=develop;test=document_fix
* fix code example test=develop;test=document_fix
* fix code example test=develop;test=document_fix
6 years ago
ysh329
9a475582e0
fix clip by norm EN doc. test=develop ( #28994 )
...
* fix clip by norm eng doc. test=develop
6 years ago
Huihuang Zheng
5b339262bc
[Dy2stat] Add Tuple as Assign Target for Tensor Shape ( #28775 )
...
Add support for using tuple as tensor.shape (For example: a, b, c, d = x.shape)
6 years ago
YUNSHEN XIE
5cb8e17a18
restore timeout value ( #29027 )
6 years ago
Jiawei Wang
f21513307a
add lamb optimizer and unittest ( #28772 ) TODO:FIX BUGS LATER
...
* add lamb optimizer and unittest
* fix lamb
* fix lamb v2 op
* fix sampling id
* fix lamb sample code
* Update lamb.py
* fix doc
* fix doc
* Update lamb.py
6 years ago
Leo Chen
3815d7aa40
Upgrade string literals to raw string ( #28989 )
...
* upgrade comment string to raw string
* fix string in
* fix string with ' '
* revert update on comments
* upgrade only necessary
* fix sample code checker
* fix comments with '''
6 years ago
liym27
85292e0b46
[Dynamic-to-Static] Fix bug of convert_logical_and/convert_logical_or: the operands are executed sequentially( #28993 )
...
1) The operands are executed sequentially according to the running logic of Python.
2) If the left hand operand is True(for convert_logical_or)/False(for convert_logical_and), the right hand operand should be executed.
6 years ago
Huihuang Zheng
96126532cd
Fix Incorrect After Node Vars in IfElseTransformer, test=develop ( #28992 )
...
The PR description is long. See details in the PR link.
6 years ago
LielinJiang
982fd0f3c2
fix mnist fmnist ( #29018 )
6 years ago
wanghuancoder
887a35113e
fix eng doc for some api ( #28477 )
...
* fix eng doc, test=develop
* add import deprecated for layers, test=develop
* add block line for doc generate, test=develop
* remove todo for create_variable, test=develop
* add blank line for doc generate, test=develop
* add blank line for doc generate, test=develop
6 years ago
smallv0221
83cee3c9d7
Delete mq2007 dataset. ( #28995 )
...
* Fix en doc for rnn.py. test=document_fix
* Delete mq2007 dataset.
6 years ago
Chen Weihang
9cd09a8586
Polish dataloader doc detail & update example ( #28975 )
...
* polish dataloader doc detail, test=decument_fix
* fix commnet error
* fix word error
6 years ago
123malin
fbf9564f6b
【paddle.distributed.fleet】Optimize ParameterServer's Async Mode ( #28442 )
...
* test=develop, optimize global_step
6 years ago
Leo Chen
98adc8f054
Dev/fix doc of some api ( #28785 )
...
* refine doc of bernoulli
* fix some problems
* fix unsqueeze
* fix squeeze
* fix doc
6 years ago
lilong12
f77a78cdee
enable pipeline to run with Executor.run() ( #28373 )
...
* update, test=develop
6 years ago
lijianshe02
9f642ed881
fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=… ( #28739 )
...
* fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=document_fix
6 years ago
joejiong
4e00c095fa
fix warning in english doc ( #28981 )
6 years ago
LiuChiachi
70385518a6
Add EarlyStopping ( #28691 )
...
* add early stopping
* add doc for early stopping
* fix sample code bugs
* update infer of mode, update doc, add unittests to increase coverage rate
* fix sample code for early stopping
* update sample code and unittests
* reduce time cost of test_callbacks unittest
* fix model.py code style error
6 years ago
LiuChiachi
8c8b42f28a
Update path name of saving in hapi ( #28462 )
...
* update hapi save_inference_model output pathname
* update hapi save_inference_model output pathname
* use new 2.0-api paddle.static.io.load_inference_model
* add unittests to increase coverage rate
6 years ago
Thunderbrook
0073f9bdb0
support ps-gpu ( #28752 )
...
* ps gpu transpile
* ps gpu
* remove op
* gps trainer
* local ps
* add macro
* HeterBox
* def cuda
* tab
* code style
* style
Co-authored-by: Thunderbrook <a754913769#163.com>
6 years ago
Chen Weihang
768dab441e
polish two api doc detail, test=document_fix ( #28971 )
6 years ago
Chen Weihang
7c7cdf082f
remove fluid & variable in program ( #28966 )
6 years ago
furnace
8ff3550658
refactor momentum op to combine weight ( #27414 )
...
* refactor momentum op to combine weight_decay (scale op and sum op)
6 years ago
YUNSHEN XIE
50113f9268
fix error for Can not find test to add properties to:test_parallel_dygraph_transformer,test_parallel_dygraph_sparse_embedding ( #28968 )
6 years ago
Zhang Ting
3416c35996
refine doc of default_startup_program, test=document_fix ( #28951 )
6 years ago
Zhang Ting
842fd2933c
remove fluid in default_main_program doc, test=document_fix ( #28941 )
6 years ago
Zhang Ting
b5218227d6
refine the doc of dist op, test=document_fix ( #28947 )
6 years ago
LielinJiang
8f8a02fda4
Optimize conv performance ( #28766 )
...
* optimize conv performance
6 years ago
LielinJiang
00e55ded4a
Add lr scheduler callback for high level api ( #28737 )
...
* add lr scheduler
6 years ago
yaoxuefeng
6369463a5d
fix test datagenerator ut fail ( #28767 )
6 years ago
Kaipeng Deng
ed7aa8f9c3
Fix conv transpose ( #28629 )
...
* fix conv_transpose unittest. test=develop
6 years ago
Chen Weihang
bff4179cc7
lazily init global group in collective ( #28780 )
6 years ago
gongweibao
1dad8ceaab
Fix gpu memory allocation bug. ( #28703 )
6 years ago
Kaipeng Deng
91bab752a9
fix dataloader default value and doc ( #28728 )
...
* fix dataloader. test=develop
6 years ago
Chen Weihang
0ed80e09fc
Fix param base trainable set failed ( #28756 )
...
* fix param base trainable set failed
* add unittest
* fix typo
* polish comment
6 years ago
Aurelius84
d6aee7597c
[Dy2Stat]Set buff.persistable=False when it's not initialized ( #28749 )
6 years ago
joejiong
1a532d5133
add uint8 support for squeeze operator ( #28734 )
...
Adding uint8 support for squeeze operator.
6 years ago
123malin
9066828b1b
test=develop, bug fix for embeddings padding ( #28708 )
...
* test=develop, bug fix for embeddings padding
* fix raise Value for Embedding
Change-Id: I6d343fceee369a5796ad59cca5c91fdd15429125
Co-authored-by: seiriosPlus <tangwei12@baidu.com>
6 years ago
Bai Yifan
655d5eb1db
fix code example ( #28636 )
...
* fix code example, test=document_fix
6 years ago
joanna.wozna.intel
8c0ea4bffe
Add bf16 matmul, fc, elementwise add and mul ( #28729 )
...
* Add bf16 matmul, fc, elementwise add and mul
* Correct unit test
6 years ago
Zhou Wei
3b0dd5f620
fix bug that to_tensor not support paddle.Place ( #28717 )
6 years ago
Aurelius84
e1c8d6bce5
Fix wrong out dtype inferred from helper.input_dtype ( #28715 )
...
* Fix wrong out dtype from helper.input_dtype
* add unittest
* remove disable_static in op_test
* fix param name typo
6 years ago
taixiurong
d3d1a6b6e0
add kunlun kernel: slice, slice_grad, top_k, cast. *test=kunlun ( #28542 )
...
* 1.add xpu slice op 2. add xpu top_k op 3.modify xpu cast to new api
* 1.add xpu slice op 2. add xpu top_k op 3.modify xpu cast to new api
6 years ago
Jack Zhou
9362d85e0e
Add LSTM, Simple RNN and GRU CPU kernel ( #28577 )
...
* add lstm, simple rnn op kernel
* fix the test_lstm for the rnn op
* change func name
* fix forward postprocess bug
* add gru forward, backward code
* remove unittest.skipIf; use a big rnn op instead of combination op
* fix input doesn't have gradient bug
* add eigen lstm forward, backward
Co-authored-by: wawltor <fangzeyang0904@hotmail.com>
6 years ago
QingshuChen
30ef3815b3
adjust kunlun header file ( #28536 )
...
* adjust kunlun header file
*test=kunlun
* update kunlun unittest
*test=kunlun
* update xpu unitest
* test = kunlun
* update xpu unittest
* test=kunlun
* update xpu unitest
* test=kunlun
6 years ago
wangguanzhong
d12aa4957f
remove alias for iou_similarity and ssd_loss ( #28742 )
6 years ago
Double_V
960135285b
fix pool APIs en doc, delete disable_static ( #28679 )
...
* fix pool exclusive and delete disable_static, test=develop
* fix pool1d exclusive, test=develop
* fix pool APIs en doc, test=document_fix
6 years ago
Wilber
60a5eb68a0
update paramattr doc. test=document_fix ( #28745 )
6 years ago
liym27
269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func ( #28722 )
6 years ago
danleifeng
7d32e100c5
upgrade to use paddle-2.0 API for sample code of paddle.t ( #28726 )
6 years ago
liym27
e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node ( #28735 )
6 years ago
Wojciech Uss
04bcc13fac
Add multi_gru op and tests ( #28591 )
...
* Add multi_gru op and tests
* removed redundant disable_dygraph()
6 years ago
Wilber
fe2cf39f77
[2.0] Update py_func English doc. ( #28646 )
6 years ago
YUNSHEN XIE
16a808149a
modfied the timeout value for 5 ut ( #28714 )
...
* modfied the timeout value for 5 ut
* modified timeout value for test_resnet
6 years ago
liym27
9881738e13
[Dynamic-to-Static ErrorMessage] Support dy2stat error message when call jit.save and polish error message ( #28713 )
...
* Support dy2stat error message when call jit.save;
* Polish dy2stat error message:
(1) the original dygraph code is marked with (* user code *) ;
(2) "In user code:" -> "In transformed code:"
6 years ago
joejiong
32b90b1c2d
add log10 ( #28576 )
...
Add new operator log10
6 years ago
Shibo Tao
f0806bdaf2
fix save_inference_model and load_inference_mode alias. test=develop ( #28736 )
6 years ago
TeslaZhao
abbc507a81
Fix two english api documents, transpose and strided_slice ( #28687 )
...
* Fix two english api documents, transpose and strided_slice
* delete nouse comments
6 years ago
Zhou Wei
5562d8094f
fix API optimizer get_lr to support static graph mode ( #28681 )
...
* fix doc of save/load
* fix API optimizer get_lr
* fix API optimizer get_lr
6 years ago
furnace
caffa85ffe
add alias for fluid.initializer.set_global_initializer, alias is nn.initializer.set_global_initializer ( #28690 )
6 years ago
Shibo Tao
f096af83a0
fix document sample. test=develop ( #28721 )
6 years ago
Chen Weihang
3c5f2cac68
fix save parse error for dict input ( #28712 )
6 years ago
Huihuang Zheng
9ab335bbd9
Fix convert_call May be Called Multiple Times, test=develop ( #28710 )
...
Fix convert_callmMay be called multiple times in Dy2stat. Also strip some strings to make sure no influence from blank spaces.
6 years ago
wawltor
20b1276598
faster the compare ops dygraph model speed
...
faster the compare ops dygraph model speed
6 years ago
JZ-LIANG
5a9f6889c1
[Sharding] add new features ( #28568 )
...
* add lars to fleet meta optimizer
* add lamb to proto
* add lamb to fleet meta optimizer
* fixed syntax bug
* fixed syntax bug
* fixed syntax error in lamb, add config setter of lamb in distributed_strategy
* trigger unitest to rerun
* add new unitest func for lamb
* revise unitest for lars and lamb
* revise dgc meta unitest
* revise lars document in distribute_strategy
* revise lars lamb document in distributed_strategy.py
* revise lars lamb document in distributed_strategy.py
* add weight decay exclude logic to lars
* restore optimzier.py
* restore optimizer.py as develop except lars
* add epsilon and exclude fn to distributed_sttrategy
* add lars epsilon
* revise unitest for fleet lars and lamb
* revise lars lamb unitest for CI coverage
* revise lars argument api
* revise lars argument api
* revise lars argument api
* revise api doc of lars
* fix op role
* add sharding save and add_sync_comm_for_test function
* add comm_analyse to utlis
* revise sharding_utils
* add sharding saving unittest
* revise sharding utils for unittest
6 years ago
xiaoting
8c75b2554a
Support Tensor for attr_scale and attr_size ( #28677 )
...
* update interpolate, test=develop
* fix coverage, test=develop
6 years ago
YUNSHEN XIE
e880c90c5a
fix error when setting ut timeout value ( #28696 )
6 years ago
LielinJiang
01a14e1be2
Add with_pool args for vgg ( #28684 )
...
* add arg for vgg
6 years ago
LielinJiang
532e4bbf2a
fix docs ( #28683 )
6 years ago
Shibo Tao
db2e6cee62
add two paddle-2.0 apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_model ( #28606 )
...
* add two apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_mode, which are campatible with paddle.fluid.io.save_inference_model and paddle.fluid.io.load_inference_model respectively.
* add unittest for new save_inference_model and load_inference_model. test=develop
* enhance doc. test=develop
* add paddle.enable_static() to test_inference_model_io.py. test=develop
6 years ago
Chen Weihang
358d6bc90f
Fix test_weight_decay_extend random failed on windows ( #28643 )
...
* add debuging code
* change seed & add debug message
6 years ago