Chen Weihang
c78a4781bf
Fix train error when test_program.clone is executed after optimizer.minimize ( #19397 )
...
* add prune when test_program.clone is executed after optimizer.minimize
* add unittest, test=develop
* add resnet and transformer test case, test=develop
* add regularization for optimizer & program compare function, test=develop
* add lstm unittest, test=develop
* polish code based on review comment, test=develop
* adapt to interface change in framework._prune, test=develop
* update API.spec, test=develop
6 years ago
zhongpu
5f627488db
add kernel for unsqueeze_op and Add unsqueezed op test, test=develop ( #19436 )
...
* add kernel for unsqueeze_op, test=develop
* add kernel for unsqueeze_op, test=develop
* add kernel for unsqueeze_op, test=develop
6 years ago
Zeng Jinle
a7691603a5
add gpu_allocator_try_time config, test=develop ( #19675 )
6 years ago
JesseyXujin
0b06db9413
delete transmission args in linear_chain_crf op ( #19619 )
...
* delete args on linear_chain_crf_op doc
* delete args on linear_chain_crf_op doc
* delete args on linear_chain_crf_op doc
* add code example
* fix api doc
* fix doc of crf
* fix doc of crf
* add test=develop
* modify API.spec, test=develop
6 years ago
123malin
a25a716e87
Optimize fleet API: add input check for some interfaces ( #18971 )
...
* fleet api add input check, test=develop
6 years ago
Aurelius84
25c0eb28cc
fix unittest random failed test=develop ( #19654 )
6 years ago
chengduo
5c4eb394e9
Make test_pe_seresnext serial ( #19634 )
...
* make test_pe_seresnext serial
test=develop
* Increase test_pe_seresnext time limit on MAC
test=develop
6 years ago
chengduo
ac34aac33f
Disable the test_parallel_executor_test_while_train temporarily ( #19641 )
...
* Disable this unit test temporally
test=develop
* Split GPU and CPU
test=develop
6 years ago
Chen Weihang
73daa3d6c0
Code Cleanup: delete three useless raw variables in Conv2D ( #19644 )
...
* delete useless raw variables in Conv2D, test=develop
* adjust the vars number in test_graph_wrapper to pass unittest, test=develop
6 years ago
Jie Fang
c6a598a276
init new amp, optimize inserting cast op for batchnorm ( #18596 )
...
init new amp, optimize inserting cast op for batchnorm
6 years ago
123malin
2f037c3189
fix the diff between async mode and async_half mode ( #19535 )
...
* test=develop, communicator merge add => merge average
6 years ago
Jiabin Yang
e9233d1c1e
Refactor dygraph ( #19107 )
...
* refactor dygraph,test=develop
* fix failed unittest,test=develop
* polish code,test=develop
* check windows ci error,test=develop
try to fix windows ci error by np.allclose,test=develop
* polish vlog and profiler, test=develop
* try to fix preceding ops order,test=develop
* test transformer in windows ci, test=develop
* use python c-api to speed up tracer.trace,test=develop
* test=develop, fix docker with paddle nccl problem
* test=develop, add ut for debug string and gradient_accumulator
* test=develop, add tests for layer/gradient_accumulator/prepared_op
* test=develop, fix complie error for test_prepared_op
* test=develop, add more ut for dygraph
* test=develop, create API.spec for dygraph api change
* test=develop, refoctor name to make it easier to understand
* test=develop, refoctor name to make it easier to understand
* test=develop, fix multi-gpu failed problem , add Tracer tests, change PADDLEENFORCE to PADDLEENFORCE_EQ
* test=develop, fix ut failed on parallel se-resnext
* test=develop, change one more PADDLE_ENFORCE
6 years ago
mapingshuo
dca9b6c5b0
add feed_var_names to Prune interface ( #19589 )
...
* Fix bug: add feed_vars to the prune function
6 years ago
whs
3abe84500e
Fix data type of variable in edit distance evaluator ( #19618 )
...
* Fix data type of variable in edit distance evaluator.
test=develop
* Add unitest for edit_distance python API.
test=develop
6 years ago
Aurelius84
6364ebc4dd
Add distributions of Categorical and MultivariateNormal ( #18263 )
...
* add_distributions_of_normal_and_uniform
* paddle/fluid/API.spec
* modify API.spec
* modified paddle/fluid/API.spec, test=develop
* modify paddle/fluid/API.spec, test=develop
* modify paddle/fluid/API.spec, test=develop
* fix some comment, test=develop
* modify API.spec, test=develop
* Add distributions of Categorical and MultivariateNormal test=develop
* fix pylint codestyle test=develop
* fix conflict file test=develop
* edit API.spec test=develop
* improve sample code test=develop
* modify api.spec test=develop
6 years ago
Zeng Jinle
710767d894
Enable inplace support for some ops ( #19612 )
...
* enable inplace for affine_channel op, dropout op, test=develop
* remove dropout inplace for ngraph fails, test=develop
6 years ago
FDInSky
a18cf5e119
add a argument for softshrink python api ( #19396 )
...
* test=develop add a argument for softshrink python api
* test=develop fix doc format
test=develop fix doc format
* test=develop fix API.spec
test=develop fix API.spec
6 years ago
danleifeng
8672e15363
elementwise broadcast function enhancement ( #19536 )
...
elementwise broadcast function enhancement
6 years ago
xiaoting
a50785b02d
modifed cifar download url, test=develop ( #19623 )
6 years ago
zhongpu
118bb897cf
add kernel for flatten_op, test=develop ( #19472 )
...
* add kernel for flatten_op, test=develop
* add kernel for flatten_op, test=develop
* fix the license and remove redundant code, test=develop
6 years ago
baojun
a3a4b6e570
Enable ngraph through build_strategy ( #19266 )
...
* enable ngraph throught build_strategy test=develop
* add unittest test=develop
* put use_ngraph unconditional test=develop
* remove paddle_enforce test=develop
* remove paddle_enforce test=develop
* fix copyright test=develop
* limit for ngraph only test=develop
6 years ago
ShenLiang
2cd3fa3e9a
add scatter_nd op and scatter_nd_add op ( #19571 )
...
* add scatter_nd op, test=document_preview test=develop
* fixed the document, test=document_preview test=develop
* modify the notes, test=document_preview test=develop
* remove the ShareDataWith, test=develop
6 years ago
wawltor
364c44422e
Add the support the int64 data type of `scatter_op` input Index( #18804 ) ( #19508 )
...
* test=develop
Fix the scatter op bug when use the add mode, and support the int64 data type of scatter_op Index(#18804 ).
* test=develop
Remove the PADDLE_ENFORCE and use PADDLE_ENFORCE_EQ
* test=develop
Remove the fix bug of scatter_add, and just add the support of int64 in scatter_add
* test=develop
Add the test case for scatter op, the test case just for index int64
6 years ago
zhongpu
4d26274d25
add detach API for Variable in dygraph mode, test=develop ( #19477 )
...
* add to and detach for Variable in dygraph, test=develop
* add detach for Variable in dygraph, test=develop
* add detach for Variable in dygraph, test=develop
* add detach for Variable in dygraph, test=develop
* add detach for Variable in dygraph, test=develop
* add detach for Variable in dygraph, test=develop
* add exception check, test=develop
6 years ago
whs
1c2aae567a
Skip start epoch and end epoch when dumping strategy in PaddleSlim ( #19580 )
...
test=develop
6 years ago
hutuxian
66ad68ed7b
Update UT test_boxps ( #19599 )
...
Disable test_boxps in win32.
Adjust filename to avoid latent multi-thread problem.
6 years ago
baojun
f2ad30c4dd
Some ngraph op and unittest fix ( #19515 )
...
* update ngraph ops test=develop
* update unittest test=develop
* increase coverage test=develop
6 years ago
Tao Luo
49523ea189
replace PADDLE_ASSERT with PADDLE_ASSERT_MSG ( #19586 )
...
* remove unused PADDLE_ASSERT(_IS_NOT_ERROR)
* replace PADDLE_ASSERT with PADDLE_ASSERT_MSG
test=develop
6 years ago
gongweibao
abaf87be2b
Change backward_guard to optimize_guard to maximize the allreduce overlap. ( #19506 )
...
Change backward_guard to optimize_guard to maximize the allreduce overlap
6 years ago
Zeng Jinle
635cd62d23
remove deprecated memory_optimize usages, test=develop ( #19579 )
6 years ago
Youwei Song
9a577f2e41
fix batchnorm api param: data_layout ( #19524 )
...
* fix batchnorm api param: data_layout
* fix batchnorm data_layout param; test=develop
6 years ago
xiaoting
7a86706309
modified multiclass_nms example ( #19553 )
...
test=develop, test=document_preview
6 years ago
gongweibao
57f0f0f2dc
Delete pserver complete file before executor running. ( #19468 )
6 years ago
JesseyXujin
4a7e6deb63
add padding in linear_chain_crf op ( #19583 )
...
* add padding in linear_chain_crf op
* modify API.spec
* add linear_chain_crf_op.cc and linear_chain_crf_op.h
* remove useless unit test , test=develop
* modify API.spec, test=develop
* remove some blanks in nn.py , test=develop
* fix some bugs on nn.py and API.spec ,test=develop
* fix nn.py, test=develop
* fix API.spec ,test=develop
* fix bug of CI test in test_linear_chain_crf_op.py
* fix bug of CI test in test_linear_chain_crf_op.py, test=develop
* remove paddle_enforce, test=develop
* remove paddle_enforce, test=develop
* remove paddle_enforce, test=develop
* remove paddle_enforce, test=develop
* remove paddle_enforce, test=develop
* remove paddle_enforce, test=develop
* modify nn.py, test=develop
* fix API.spec, test=develop
* fix unittest bug, test=develop
6 years ago
hutuxian
c756b5d231
Paddlebox Framework ( #18982 )
...
* Support looking up embeddings from BoxPS.
* Add a _pull_box_sparse op, for now this op is not exposed to users.
* Add a BoxHelper class, providing 'BeginPass', 'EndPass', 'FeedPass' functions and so on.
* Add 'BoxPSDataset' in python code.
* Add a compile options WITH_BOX_PS and a MACRO PADDLE_WITH_BOX_PS.
* Add UT.
* More concrete information pls refer to: https://github.com/PaddlePaddle/Paddle/pull/18982
6 years ago
Zeng Jinle
5dce1da680
remove reset recordio usage ( #19519 )
6 years ago
ShenLiang
85914f7a88
add gather_nd op and unit test ( #19366 )
...
* fixed the code for coverage
* fixed the document,test=document_preview test=develop
6 years ago
Jacek Czaja
ecd9f330c9
[MKL-DNN] Fix to face model on AVX512 platforms ( #19282 )
...
- Refactor step 1
- Compilation fix
- Yet another compilation fix
- Even more compilation fix
- Lint fixes
test=develop
- Removed deprectaed PADDLE_ENFORCE occurance
test=develop
- Candidate fix to BN forward
- Lint fixes
test=develop
- Refactoring in data_layout_transform
- compilation fix
- Another comppilation fix
- Step further into darkness
- Yet another compilation fix
- Yet another compilation fix
- missing header
- compilation fix
- Added MKLDNN -> Paddle conversion in fetch op
test=develop
- Compilation fix
test=develop
- Lint
test=develop
- Mul fix
- Fix to MKLDNN MUL op and Elementwise MUL UT
test=develop
- Workaround for diffrent weights with groups representation Paddle vs
MKL-DNN.
test=develop
- Candidate fix for 5D convolution with groups
- Refactor of fix for conv3d and conv2d in fetch op
test=develop
- Compilation fix
- Still same compilation fix
- Compilation fix
- Compilation fix
- Reverted refactoring of fixes
- Adapted test_conv2d_int8_mkldnn so it exects data in NCHW format
not NHWC
test=develop
- minor fix in UT
test=develop
- Lint fixes
test=develop
6 years ago
Liufang Sang
9dde564097
change var name padding_num to padding_value ( #19498 )
6 years ago
Aurelius84
5b5379b32a
Add sequence_topk_avg_pooling Op ( #19442 )
...
* add topk_avg_pooling
* refine api doc and modify api.spec test=develop
6 years ago
chengduo
1cdd3b6985
Disable GC in test_parallel_exe_seresnext ( #19408 )
...
* Disable GC in test_parallel_executor_se_resnext
test=develop
6 years ago
yaoxuefeng
10ca3f9609
add thread scope stat accurate metrics test=develop ( #19480 )
...
* add thread scope stat accurate metrics test=develop
* fix style
* fix style
* fix style
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix style test=develop
* fix conflict
* fix style
* fix style test=develop
* fix error test=develop
* fix error test=develop
6 years ago
Bai Yifan
6d99842bb8
fix mean_iou api example, test=develop, test=document_preview ( #19503 )
...
Fix mean_iou api misleading example
6 years ago
Bai Yifan
8394699dbb
add stop_gradient in range_api, test=develop ( #19484 )
6 years ago
chengduo
e340df013e
Support feed single persistable variable to PE ( #19417 )
...
* update executor feed
6 years ago
lidanqing
ba368bf696
clean up intel labeled TODOs ( #19476 )
...
test=develop
6 years ago
Thunderbrook
1fe468d319
support debug each output of each ins ( #19004 )
...
* dump slot
* test
* proto
* dump slot
* test
* proto
* code style
* code style
* code style
* style
* add delete after unseen days
* add unseen days
* code style
* conflict solve
test=develop
* add clear model
* code style
test=develop
* code style
test=develop
* support debug tensor of each ins
test=develop
* support debug tensor of each ins
test=develop
* learning rate
* code style
* code style
* code style
* code style
* code style
* code style
* code style
* code style
* code style
* code style
* code style
* code style
* code style
test=develop
* code style
test=develop
* unitest
* style
* style
* multi phase
* add channel
* code style
* style
* style
* unitest
* style
* define
* define
test=develop
* style
test=develop
* rm define
test=develop
* linux
* linux
test=develop
* style
test=develop
* output format
test=develop
* windows ci
test=develop
6 years ago
zhang wenhui
bd35a7f0a6
support fc sort by number, test=develop ( #19466 )
...
fleet_desc sort fc name by dictionary sort, but we want to sort by number.
6 years ago
Double_V
1d0f04315a
fix row_conv_op to force it support lodtensor and tensor input simultaneously, test=develop ( #19412 )
...
Support Tensor input for row_conv_op
6 years ago
Jiabin Yang
1ce0a09e60
fix con2d transpose bias by create and init it in build_once ( #18968 )
...
* fix con2d transpose bias by create and init it in build_onee
* fix API spec
* test=develop, invoke ci
* fix bias_attr and act has no effect error on layer norm, conv2dTranpose, billinearTensorProduct, sequece_conv. fix original_mode not used error on GRUunit. fix sample_weight not set error on NCE. Add ut for all thoese layer
* test=develop, change success standard for conv2dTranspose
* test=develop, fix test_layers to invoke some error branch
* test=develop, fix sample code
* test=develop, fix BilinearTensorProduct failed in dygraph mode
* test=develop, fix test_layers segment fault error
6 years ago
Yi Liu
4ef6b8457a
adapte fleet api for localsgd and support nccl comm configuration in executor ( #19443 )
...
test=develop
6 years ago
tangwei12
65c7368400
Fix the correctness of async mode at distributed training ( #18863 )
...
* fix correctness of the communicator
* fix a bug in send thread when sending var context is empty, test=develop
* add lookup_table_prefetch_op and prefetch optimize, test=develop
* remove remote prefetch GPU supported
* word2vec force with CPU, test=develop
* test dist remote lookup table force with CPU, test=develop
6 years ago
chengduo
e26411cec2
Open test_parallel_dygraph_se_resnext ( #19342 )
...
* enabel test_parallel_dygraph_se_resnext
test=develop
6 years ago
Yi Liu
efb05ba258
supports multiple NCCL communicators preserved in NCCLCommContext ( #19407 )
...
* supports multiple NCCL communicators preserved in NCCLCommContext
test=develop
* add ut for c_comm_init_all operator and fix cuda resource release problem
test=develop
6 years ago
Aurelius84
a9cd513680
improve sequence_conv api doc ( #19316 )
...
* improve sequence_conv api doc test=develop
* add warning for padding param test=develop
modify into deprecated
6 years ago
zhang wenhui
0d7949831b
fix fleet_desc bug && support format for abacus hotstart ( #19430 )
...
fix fleet_desc dense_table unsort bug ,not support format for abacus hotstart yet.
6 years ago
vincentXiyu
482ce818bb
Support Tensor input with padding for warpctc op ( #19322 )
...
* support tensor input with padding for warpctc op
* merge with develop
* test=develop
* modified python API examples test=develop
* nn.py is modified for code coverage test=develop
* update documents info about warpctc op in API.spec test=develop
* add test_warpctc_with_padding in test_layers test=develop
* add warning log for cuda_version back to warpctc_op.cc
* modify API.spec for warpctc op test=develop
* modify API.spec
* update warpctc test to new CompiledProgram API test=develop
* modify code examples for warpctc op test=develop
* modify API.spec for warpctc op test=develop
* modify API.spec for warpctc op test=develop
6 years ago
chengduo
bfb6ac816e
Fix optimizer bug ( #19410 )
...
* fix optimizer bug
test=develop
6 years ago
Leo Chen
6fb310ae29
Fix bug of getting bool Flags from os.environ ( #19349 )
...
* fix bug of getting bool Flags from os.environ, test=develop
* add empty loss_name in CompiledProgram for inplace grad test, test=develop
6 years ago
liu zhengxi
32598ffd8f
Python infer api update and add unit test ( #19353 )
...
* python inference api supports numpy and add unit test, fix unit test fail in test_slim_int8_googlenet and test_slim_int8_mobilenet
6 years ago
Zeng Jinle
807c7a4747
remove recordio convert in dataset, test=develop ( #19387 )
6 years ago
chengduo
11070cbff9
enabel seresnext reduce test ( #19341 )
...
test=develop
6 years ago
Ghost Under Moon
10643b4ea6
fix- raise io error when user load from non-existed dir test=develop ( #19384 )
...
This PR fix problem with issue #18096 , which raise an error for user to specify the error about load dir is wrong
6 years ago
mapingshuo
c2e5eaa27d
delete recordio writer ( #19406 )
...
test=develop
6 years ago
mapingshuo
d5ac87ec22
Lookahead optimizer ( #19386 )
...
* Add lookahead optimizer
* add unittest for lookahead optimizer
test=develop
* add doc string for LookaheadOptimizer
test=develop
test=document_preview
* add API spec for lookahead
test=develop
test=document_preview
* modify api spec
test=develop
test=document_preview
* modified doc string
* modify the test file
test=develop
test=document_preview
* modify doc string
test=develop
test=document_preview
6 years ago
silingtong123
da127d1110
Optimized error reporting information ( #19173 )
...
* test=develop,Optimized error reporting information
* test=develop,add importscipy unittest
* test=develop, rename the file and function
6 years ago
Jiabin Yang
55931db449
fix problem that get_attr method can't using default mode when we call has_attr in dygraph ( #19328 )
...
* add default getItem
* test=develop, fix has_attr disabled error in Layer
* test=develop, fix GroupNorm and deepcf bug on attrs
6 years ago
tangwei12
19dac67e9f
fix distribute transpiler GRPC error code 4, RPC Deadline ( #18984 )
...
* fix sync mode hang in transpiler
* remove sync mode in send/recv
* replace PADDLE_ENFORCE with PADDLE_ENFORCE_NE
6 years ago
Yibing Liu
5d1575cfe8
Fix arg do_model_average in param_attr ( #19376 )
...
* Fix arg do_model_average in param_attr
test=develop
* Update api spec
test=develop
6 years ago
zhang wenhui
4a3c4b8fa4
add fleet_desc config feature & multi_sparse table, test=develop ( #18827 )
...
add fleet_desc config feature & multi_sparse table,
6 years ago
Jiancheng Li
1799c257ad
Update Light-NAS to support latency-aware search ( #19050 )
...
* update light_nas_strategy: add latency constraint
test=develop
* update light_nas_strategy: update get_model_latency
test=develop
* update light_nas_strategy: add more check
test=develop
* update light_nas test
test=develop
* update light_nas test
test=develop
* minor update light_nas test
test=develop
* minor update light_nas test
test=develop
* update light_nas test
test=develop
* update _constrain_func of light_nas_strategy
test=develop
* update _constrain_func of light_nas_strategy
test=develop
* remove unused code
test=develop
6 years ago
Zhen Wang
0fe72469ea
Add the max-pool2d quantization support and the partial quantization support. ( #19310 )
...
* add pool2d quantization support, only for max-pooling.
* add the partial quantization support.
6 years ago
Leo Chen
d49c2bad71
update inplace grad test to new CompiledProgram API, test=develop ( #19359 )
6 years ago
Yibing Liu
b2c4f76cf2
Fix sequence mask in dygraph ( #19271 )
...
* Fix data parallel & sequence mask in dygraph
test=develop
* Revert change in data_parallel
test=develop
6 years ago
chengduo
4278518fb0
Update CompiledProgram ( #18919 )
...
* use PE for compiler
test=develop
6 years ago
翟飞跃
2e3ee57954
Use sparse matrix to implement FusedEmbeddingSeqPoolGradKernel ( #19153 )
...
* Implement the operator with sprase matrix multiply
* Update the URL of mklml library.
test=develop
* Disable MKLML implematation when using no-linux.
test=develop
* optimize bp with mkl sparse matrix
test=develop
6 years ago
Leo Chen
a9d5fc5142
Enhance OpTest to check the consistency of operators when using and not using inplace ( #19101 )
...
* add pybind interface to get all inplace ops, test=develop
* enhance OpTest to check whether the consistency of operator when using and not using inplace, test=develop
* handle corner cases in op_test, test=develop
* support outputs without tensor holder_, like XShape in reshape_op, test=develop
* fix bug, some op has GradOpMaker, but actually no grad_op in OpInfoMap, test=develop
* use reshape_grad instead of reshape in FlattenGradOp, test=develop
* fix error debug dims info for variables like XShape, test=develop
* change computational order in sum_op to relieve computation difference using inplace, test=develop
* add inplace_atol to check group_norm, and skip inplace_grad for mkldnn, test=develop
* follow sneaxiy's comments, test=develop
* remove unused DefaultGradOpDescMaker in mkldnn op, test=develop
6 years ago
Aurelius84
0d29cf18f4
Supports diagonal initialization in uniform_random op ( #19299 )
...
* add diag init in Uniform_random op test=develop
* modify api.spec test=develop
* fix unform_batch_size_like maker test=develop
* add diag_num and diag_step assert check test=develop
6 years ago
chengduo
5a579df9ba
[Speedup] Make dygraph data parallel faster ( #19280 )
...
* update parallel.py
test=develop
6 years ago
chengduo
6a1632318d
Split test_parallel_executor_seresnext to three unit test ( #19239 )
...
* increase test_parallel_executor_seresnext time limit
test=develop
* split test_parallel_executor_seresnext
test=develop
* temporally disable reduce_and_allreduce test because of the random failure.
test=develop
* split gpu and cpu
test=develop
6 years ago
Zeng Jinle
561232c25a
remove is_mem_optimized in Program, test=develop ( #19307 )
6 years ago
lidanqing
3fdecc19b7
Add elementwise_mul_mkldnn UT with [conv + elt_mul + conv] ( #19191 )
...
* add elementwise_mul_mkldnn UT with [conv + elt_mul + conv] to cover avx512=True branch
test=develop
* change a typo.
test=develop
6 years ago
xiaoting
62facc7e47
fix yolo_box python example ( #18925 )
...
test=develop, test=document_preview
6 years ago
danleifeng
0865b5a9a0
distribute launch : add use_paddlecloud argument ( #19273 )
...
distribute launch : add use_paddlecloud argument
6 years ago
Zhaolong Xing
76c95af000
Fix BUG: Mask RCNN inference diff When using AnalysisPredictor. ( #19213 )
...
* fix mask rcnn bug:
1. affine channel fuse (diff)
2. condition block op (memory leak)
3. merge lod tensor op (diff)
4. memroy optim (diff)
test=develop
* fix ci aboud PADDLE_ENFOCE
fix merge lod infer op ut
test=develop
6 years ago
lvmengsi
d08d5ab519
Fix the mistake of convolution ( #19274 )
6 years ago
Aurelius84
78a3d837f8
Add match_matrix_tensor op ( #18525 )
...
* add matrch_matrix_tensor op test=develop
* fix ignore unittest if with_mkl=off test=develop
* clean code and rm is_test param test=develop
* modify API.spec test=develop
* rm useless code in search_compute.h test=develop
* modify api.spec test=develop
* modify default_grad.spec test=develop
* Add API test code test=develop
* clean code in search_computer.h
* modify PADDLE_ENFORCE and clean search_compute.h test=develop
* fix code style test=develop
6 years ago
Zeng Jinle
5b6673c44d
merge develop to solve conflict, also fix API doc, test=develop ( #18823 )
6 years ago
zhang wenhui
539c870753
add fl_listen_and_serv &fl_transpiler,test=develop ( #19091 )
...
add fl_listen_and_serv op for Federated_learning and fl_distribute_transpiler add this op to pserver program . This op just listen the endpoint and sum&scale.
6 years ago
kh2se2013
27e85625b8
add python coverage launch when WITH_COVERAGE=ON ( #19264 )
...
add python coverage launch when WITH_COVERAGE=ON
6 years ago
chengduo
8a89ca94ce
Fix REGISTER_OP_WITHOUT_GRADIENT ( #19251 )
...
* fix REGISTER_OP_WITHOUT_GRADIENT
test=develop
6 years ago
gongweibao
fd4b15a2f6
Unset unittests http_proxy env to avoid timeout. ( #19269 )
...
Unset unittests http_proxy env to avoid timeout.
6 years ago
silingtong123
a94a25867d
imporve the doc of decorate_reader API ( #19206 )
...
* imporve the doc of decorate_reader API, test=develop
* udpate API.spec, test=develop
6 years ago
gongweibao
86f0591175
Remove node_num function. ( #19167 )
...
node_num is not needed for users, so remove them and fix the bugs about it!
6 years ago
Tao Luo
2f8c7e021f
remove unused inference_transpiler unit-tests ( #19130 )
...
* remove unused inference_transpiler unit-tests
test=develop
* remove InferenceTranspiler usage in quantize_transpiler.py
test=develop
6 years ago
zhaoyuchen2018
0c71c839ec
Fix recurrent op not update grade issue ( #18581 )
...
* Fix recurrent op fails
For the variable used in outter block,
copy sub block's grad variable to outter block
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* Fix unicode error
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* Refine test code
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* Fix seq2seq case fails
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* remove unreasonable code.
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
* Refine code according to comment
test=develop
Signed-off-by: zhaoyuchen <zhaoyuchen01@baidu.com>
6 years ago
Hao Wang
d53fa53b65
CI - Improve example code check ( #19170 )
...
* add exception exit on error example codes test=develop
6 years ago
Adam
b837689e97
Add generalized Conv+Activation MKLDNN fuse pass creation ( #19072 )
...
test=develop
6 years ago
Yibing Liu
50b1cab122
Add padding support for crf_decoding ( #19057 )
...
* Add padding support for crf_decoding
* Fixes in comupte kernel
test=develop
* Update API Spec
test=develop
* Update API.spec
test=develop
* Avoid using paddle_enforce
test=develop
* Fix enforce
test=develop
6 years ago
Aurelius84
45fb031f6b
remove is_test param of FC test=develop ( #19209 )
...
Remove is_test parameter of FC op. The parameter is_test is not used anywhere.
6 years ago