Cao Ying
e9695f4975
Merge pull request #5014 from peterzhang2029/bi_tensor_prod_op
...
Add Bilinear Tensor Product operator.
7 years ago
Helin Wang
1dcec992ea
Move the tests of book chapters from test/ into tests/book
7 years ago
wanghaox
ab9c71d963
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
chengduoZH
6fb4bb8efe
add conv3d_trans_cudnn_op unit test
7 years ago
wangmeng28
f7941dbb74
Merge remote-tracking branch 'upstream/develop' into factorization_machine_layer
7 years ago
chengduoZH
ec1e2fc938
add cudnn_pool3d unit test
7 years ago
ranqiu
7461b35977
Refine multi-head attention
7 years ago
Yibing Liu
9bc71087b6
bug fix in lod_reset_op: cast int to size_t in LoD
7 years ago
Yu Yang
93c6e52af8
Automatically generated doc string for generated layers ( #5585 )
7 years ago
xzl
471573efe4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into poolmaxpool_with_mask
7 years ago
peterzhang2029
665eb015d7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
QI JUN
29f494f365
Stack LSTM Net for Paddle Book6 ( #5503 )
...
* add lstm layer
* set hidden shape
* rename input parameter
* add dynamic lstm
* refine dynamic lstm layer
* change parameter using XavierInitializer by default
* refine dynamic lstm layer
7 years ago
peterzhang2029
ab41648ca7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
ranqiu92
9202671d31
Merge branch 'develop' into doc
7 years ago
QI JUN
9c25218361
create learning rate variable for every parameter ( #5524 )
...
* create learning rate variable for every parameter
* fix ci
* set parameter lr relatively to global lr
7 years ago
xzl
b29cbd49df
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into poolmaxpool_with_mask
7 years ago
wanghaox
784fd82345
resolve conflicts
7 years ago
wanghaox
4a428c8fbb
this for maxout op new add
7 years ago
dzhwinter
23b9bc0a6f
"fix ci failed" ( #5567 )
...
* "fix ci failed"
* "comment out seq_concate op to unblock PRs"
7 years ago
xzl
4ebb05cad2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into poolmaxpool_with_mask
7 years ago
qingqing01
561d6340a4
Merge pull request #4061 from pkuyym/fix-4029
...
Add expand operator
7 years ago
xzl
9e894f6b0a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into poolmaxpool_with_mask
7 years ago
guosheng
79e0a26a64
Fix test_roi_pool_layer.py
7 years ago
guosheng
7829034da4
Refine ROIPoolLayer by following comments
7 years ago
chengduoZH
7d73b8fc8e
fix unit test (conv3d)
7 years ago
guosheng
1ffdecf1ac
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-ROIPooling-dev
7 years ago
ranqiu
ea8e050b7b
Update doc of layers.py
7 years ago
xzl
2ef1867502
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into poolmaxpool_with_mask
7 years ago
xzl
ba2e5de662
pull develop and fix conflict
7 years ago
Yancey
e5d810b9a0
Fix seq concat op with refactoring LoD ( #5486 )
...
* fix seq_concat with refactaring LoD
* fix failed unit test
* rename function name
7 years ago
yangyaming
d04c8538a9
Refine .cc and .h, more unit test more readable.
7 years ago
Yang Yang(Tony)
40367d18d4
feature/while_op ( #5502 )
...
* first commit
* Python API for while op
* Python Unittest for simple while_op forward
* fix out to be list
* Fix UT
* VarType
* Fix several bugs
* Fix bug
* Fix bug
* Fix Bug
* Fix bug
* Fix unittest
* Remove debug log
* Add comments
* add PADDLE_ENFORCE
* while_grad_op first commit
* Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
* refine code
* fix unittest bug
7 years ago
qingqing01
aa340671d2
Merge pull request #5016 from guoshengCS/add-ChunkEvalOp
...
Add chunk eval op
7 years ago
Dong Zhihong
7c79243102
"delete test evaluator"
7 years ago
chengduoZH
93551bd232
refine unit test (Add dilation)
7 years ago
Dong Zhihong
9e1799cb43
"fix based on comments"
7 years ago
kavyasrinet
b5901a3aa1
Adding documentation for every function in layers.py ( #5529 )
...
* Adding operator assignment
* Adding documentation to layers.py
* Removing file from another PR
7 years ago
Dong Zhihong
cfbc92e646
"polish document"
7 years ago
Dong Zhihong
46c61b35f7
"add elementwise op support"
7 years ago
Yu Yang
133f890346
Merge pull request #5499 from reyoung/feature/increase_cpu
...
Feature/increase cpu
7 years ago
helinwang
78fb29bbaa
Merge pull request #5497 from helinwang/issue/5306
...
Remove unused g_main_program in tests
7 years ago
Siddharth Goyal
2e355f032e
Fix attribute naming for momentum_op ( #5453 )
...
* Fix attribute naming for momentum_op
* Fix minor typo in comment
* Fix attribute name
* Fix names in test_optimizer
* Fix python wrapper
7 years ago
Dong Zhihong
b8f557f283
"add elementwise_add more type"
7 years ago
Yu Yang
c88f98cf9e
Merge pull request #5501 from reyoung/feature/lod_array_length
...
Add `lod_array_length` operator
7 years ago
Yu Yang
ef84ff8657
Merge branch 'develop' into feature/increase_cpu
7 years ago
ranqiu
0e73967af8
Update the annotations of layers.py
7 years ago
dangqingqing
8bf37994bd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_fix
7 years ago
dangqingqing
d60fe75ac3
follow comments.
7 years ago
wanghaox
23b0388f46
add sub sequence operator code and unittest
7 years ago
peterzhang2029
5cf8204171
refine docString
7 years ago
chengduoZH
21ce704247
refine conv2d for filter size:(1,1)
7 years ago
caoying03
a3a158c55f
Merge branch 'develop' into fix_nce
7 years ago
Cao Ying
b8e782c977
Merge pull request #5487 from ranqiu92/doc
...
Update annotations of layers.py.
7 years ago
dangqingqing
4098ce730b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_fix
7 years ago
Yang yaming
3b32eb9e2d
Merge pull request #5488 from pkuyym/fix-5417
...
Add ScaleSubRegion Layer.
7 years ago
yangyaming
930d2e89be
remove test_mul_value_layer.protostr and test_mul_value_layer.py
7 years ago
ranqiu
7d343fcaca
Update doc of layers.py
7 years ago
Hu Weiwei
91855659d7
Merge pull request #5296 from wwhu/clip_by_norm
...
add clip_by_norm op
7 years ago
Yang Yu
c9fc7ba9f8
Do not sum output if that output is not a gradient
...
* increament is default inplace
7 years ago
Helin Wang
b8a20432b2
Remove unused g_main_program in tests
7 years ago
fengjiayi
b698d19bfb
Add grad for lodtensor array ops ( #5461 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add skeleton for array_to_lod_tensor and lod_tensor_to_array
* Add VarType::LoDTensorArray
* Add PyBind of LoDTensorArray
* Add InferVarType
* Add first unittest
* Add ut
* Add unittest
* Add unittest
* Add unittests
* update
* init
* add infershape for lod_tensor_to_array_op
* compelete array_to_lod_tensor_op
* copy data
* clean code
* clean code
* Fix unittest data
* fix bugs
* fix compile error
* Refine TensorToArrayOp
* refactor array_to_lod_tensor
* Unittest
* fix bugs
* Fix unittest
* Fix unittest
* debug
* Debug
* Fix unittest
* Add grad for ops
* Debug
* Fix a bug
* fix a bug
* fix a bug
7 years ago
Yang Yu
d24d8c20f3
Add `lod_array_length` operator
7 years ago
Yang Yu
6d41bfb7df
Add increment op
7 years ago
Yu Yang
2a76b42e44
Merge pull request #5419 from reyoung/feature/shrink_memory_op
...
Feature/shrink memory op
7 years ago
guosheng
c8dcd9a9ba
Refine ChunkEvalOp by following comments and rewrite the doc
7 years ago
yangyaming
07f3f07ff3
MulValue --> ScaleSubRegion
7 years ago
caoying03
34410eb822
nce does not need activation.
7 years ago
chengduoZH
b6f9ba484e
fix conv2d doc
7 years ago
yangyaming
7be390aa83
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-4029
7 years ago
Luo Tao
f4729a241f
Merge branch 'develop' into image
7 years ago
武毅
502d7daff7
Merge pull request #5467 from typhoonzero/fix_accuracy_cudamemset
...
fix accuracy cudamemset
7 years ago
ranqiu
db209f4815
Update annotations of layers.py
7 years ago
yangyaming
cfad83ce89
Add MulValueLayer.
7 years ago
chengduo
86e58b2343
Merge pull request #5457 from chengduoZH/fix_pool_attr_name
...
fix_pool_op_attr_name
7 years ago
Luo Tao
1513322983
add doc for image.py
7 years ago
Yang Yang(Tony)
870650d8c1
Static lstm sanity check ( #5365 )
...
* add fill_constant_batch_size_like_op to rnn h_boot
* first commit
* merge develop; fix conflict
* update to main_program
7 years ago
peterzhang2029
44e1ac3882
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
typhoonzero
6308ccc265
fix accuracy cudamemset
7 years ago
Yang Yu
272a272b68
Merge branch 'develop' of github.com:baidu/Paddle into feature/shrink_memory_op
7 years ago
Yang Yu
0142530929
Rename shrink_state -> shrink_rnn_memory
...
Follow comments
7 years ago
Dong Zhihong
e34e12931e
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
Dong Zhihong
79a2ce42ad
"add small evaluation"
7 years ago
Yang Yu
b4dddb2994
Fix Unittest
7 years ago
Wang,Jeff
ac7cca1865
uci_housing.py can download the trained model automatically.
7 years ago
wwhu
c8c4b6e427
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into clip_by_norm
...
update
7 years ago
chengduoZH
cdf5e87104
fix attr name
7 years ago
Cao Ying
fcc50cb412
Merge pull request #5437 from ranqiu92/doc
...
Update annotations of layers.py.
7 years ago
Yu Yang
f72729d407
Feature/rnn to array to lod tensor ( #5411 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add skeleton for array_to_lod_tensor and lod_tensor_to_array
* Add VarType::LoDTensorArray
* Add PyBind of LoDTensorArray
* Add InferVarType
* Add first unittest
* Add ut
* Add unittest
* Add unittest
* Add unittests
* update
* init
* add infershape for lod_tensor_to_array_op
* compelete array_to_lod_tensor_op
* copy data
* clean code
* clean code
* Fix unittest data
* fix bugs
* fix compile error
* Refine TensorToArrayOp
* refactor array_to_lod_tensor
* Unittest
* fix bugs
* Fix unittest
* Fix unittest
* debug
* Debug
* Fix unittest
* clean code
* refactor
* use ostream
* update test
* fix gpu build error
* make gpu test pass
7 years ago
Yang Yu
2dd91dd572
Shrink State Operator
...
Used for shrink memories state in DyRNN. The height of state could
be shrinked after running a step block.
7 years ago
Yu Yang
d9e5eba0b1
Temporary disable accurary_op test ( #5451 )
7 years ago
Yu Yang
f74fb79036
Compare Operator ( #5325 )
...
* Compare Operator
* Follow comments
7 years ago
Dong Zhihong
7874399cf3
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
peterzhang2029
f5cb52ca3e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
peterzhang2029
3ae14242da
update for mini-batch
7 years ago
ranqiu
f1fac487b1
Update annotations of layers.py
7 years ago
typhoonzero
fc4d4b88e6
update
7 years ago
Dong Zhihong
c4ac7fab5e
'add f1 test'
7 years ago
dangqingqing
ed2d30b5f9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_fix
7 years ago
dangqingqing
d94c936bd5
Enhance unit testing.
...
1. user can disable peephole connections.
2. not calculate some gradients.
7 years ago
Dong Zhihong
8d9b33412d
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
Dong Zhihong
c09ad73c33
"add fit a line test"
7 years ago
Dong Zhihong
bdc832cba1
"add eval interface"
7 years ago
Yu Yang
6cde889b5e
Add unittest, backward of array read/write op ( #5409 )
...
* Use stable_sort in lod_rank_table
It is easy to debug and test when use `stable_sort`and the time
complexity is not changed.
* Add LoDTensorArray
* Stash
* Better debug message for IsInitialized
* Stash
* Better debug message for IsInitialized
* Complete array read/write op unittests
* Add unittest, Gradient of array read/write
* Follow comments
7 years ago
Yang Yang(Tony)
20667e1e3e
add fill_constant_batch_size_like_op to Static RNN's h_boot ( #5332 )
7 years ago
Yu Yang
c9b57dcc83
ReadFromArray/WriteToArray op ( #5407 )
...
* Use stable_sort in lod_rank_table
It is easy to debug and test when use `stable_sort`and the time
complexity is not changed.
* Add LoDTensorArray
* Stash
* Better debug message for IsInitialized
* Stash
* Better debug message for IsInitialized
* Complete array read/write op unittests
7 years ago
dangqingqing
d851dafed5
Update and resolve conflicts.
7 years ago
dangqingqing
0c70bd28aa
Enable initial hidden state and cell state in LSTM Operator.
7 years ago
chengduo
f78731c837
Merge pull request #4709 from chengduoZH/Add_conv3d_gemm_op
...
Add 3D Convolution operator implemented by GEMM.
7 years ago
zhouxiao-coder
c8f1389bea
Merge pull request #5108 from zhouxiao-coder/pnp-evaluator
...
Pnp evaluator
7 years ago
qingqing01
7ca6c8840e
Merge branch 'develop' into Add_conv3d_gemm_op
7 years ago
chengduoZH
f302c6a3b4
write conv2d and conv3d together
7 years ago
chengduoZH
acc3278811
remove conflict
7 years ago
qingqing01
5b077214f4
Merge pull request #5394 from lcy-seso/fix_softamx_with_cross_entropy
...
fix bugs of softmax_with_cross_entropy op.
7 years ago
Tao Luo
7c551fba43
Merge pull request #5396 from typhoonzero/develop
...
Put files to platlib
7 years ago
guosheng
ece1d57c2b
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-ChunkEvalOp
7 years ago
Tao Luo
5eb0ebaf3b
Merge pull request #5391 from qingqing01/doc_fix
...
Fix the doc for Momentum and Adam optimizer.
7 years ago
caoying03
6f4bf5052f
fix softmax with cross entropy op.
7 years ago
typhoonzero
649ff6e856
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
typhoonzero
fa1e90425d
put files to platlib
7 years ago
dangqingqing
f8bc4ecbbb
Fix the doc for momentum and adam optimizer.
7 years ago
Yiqun Liu
f8d4e756b4
Fix the lack of linking libraries to libpaddle_capi_engine. ( #5343 )
...
The engine library need to link paddle_pserver and paddle_network on linux.
7 years ago
Tao Luo
0977cbfb41
Merge pull request #5310 from qingqing01/fix_max_pool
...
Refine sequence max-pooling and add unit testing of gradient check.
7 years ago
Guo Sheng
1d7954fc3f
Merge pull request #5255 from guoshengCS/add-GRUOp-dev
...
Add GRU Operator
7 years ago
dangqingqing
f529d46540
Fix Python API.
7 years ago
Yang yaming
c8122e09c5
Merge pull request #5381 from pkuyym/fix-5281
...
Fix type for unit test of huber_loss_op.
7 years ago
qingqing01
2b701afaca
Merge pull request #5388 from pkuyym/fix-5335
...
Bugs fix and expose sub_seq_layer.
7 years ago
chengduoZH
0f1b30ef86
fix doc and unit test
7 years ago
chengduoZH
ba7db29df1
remove conflict
7 years ago
guosheng
7a1d5e9d6a
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUOp-dev
7 years ago
yangyaming
29b3de6f97
Bugs fix and expose sub_seq_layer.
7 years ago
dangqingqing
483947c45d
Update and Resolve conflicts
7 years ago
Tao Luo
f8a6bda863
Merge pull request #5309 from tensor-tang/mkldnn_addto
...
add MKLDNNAddtoLayer
7 years ago
Yu Yang
e7c67e1195
Add stop_gradient in Variable ( #5361 )
7 years ago
Yu Yang
2be4c3cb62
Feature/lod tensor array ( #5379 )
...
* Use stable_sort in lod_rank_table
It is easy to debug and test when use `stable_sort`and the time
complexity is not changed.
* Add LoDTensorArray
7 years ago
yangyaming
97de8813aa
Fix type for unit test of huber_loss_op.
7 years ago
Yu Yang
51d4afaae9
Rename program->main_program, init_program->startup_program ( #5360 )
7 years ago
chengduoZH
10bd9f6831
remove conflict
7 years ago
guosheng
c4f7f3a562
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUOp-dev
7 years ago
Dong Zhihong
233a305b70
"need to write math functors"
7 years ago
Cao Ying
45eabb8cf2
Add the crf_decoding operator. ( #5352 )
...
* proj init.
* add unittest and implementation.
7 years ago
Qiao Longfei
906e2565a7
Add acc test to image classification ( #5336 )
...
* add acc layer
* memory log level change from 3 to 10
* use gaussian random to init conv parameters
* use initializer
* fix import
* batch_norm use helper to create persistable var
* refine code
* train only 2 batches for test
* use g_program and g_init_program
* use XavierInitializer to init fc parameter
7 years ago
Yu Yang
74849158e3
Add LoDRankTable ( #5349 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add InferVarType
7 years ago
dangqingqing
4c9be1a997
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_max_pool
7 years ago
guosheng
4b8bcf320f
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUOp-dev
7 years ago
guosheng
faad835166
Refine GRU Operator by following comments
7 years ago
wwhu
34d68f24fc
fix doc and code style
7 years ago
zhouxiao-coder
496583a165
update data types and test cases
7 years ago
dangqingqing
1c004a4913
Resolve conflicts.
7 years ago
Dong Zhihong
83e6500521
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
Dong Zhihong
796eaf345d
"add accuracy "
7 years ago
wangmeng28
aaed474570
Merge remote-tracking branch 'upstream/develop' into fix-4388
7 years ago
tensor-tang
a3fa64e4b8
Merge remote-tracking branch 'upstream/develop' into mkldnn_addto
7 years ago
fengjiayi
8b30e2abd1
Book chap6 ( #5321 )
...
* init
* Fix bug
* rename test_filw
* refine test
7 years ago
Dong Zhihong
debfb008cf
"add evaluator design doc"
7 years ago
Yu Yang
4b9a2c44f1
Fix bug in lookup_table_op & layers ( #5298 )
...
* Fix bug in lookup_table_op & layers
* Missing Act in layers
* Should += in CPU
* Remove check in python
* Fix bug in sequence_conv_pool()
* Fix a bug in test_recommender_system.py
* Just skip test_evaluator
7 years ago
Abhinav Arora
66d1c6ce1e
Adding the Xavier Initializer ( #5270 )
...
* Adding the Xavier Initializer
* Addressing code review feedback
7 years ago
dangqingqing
d897d7a644
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_max_pool
7 years ago
dangqingqing
afc6343e6f
Refine sequence max-pooling and add unit testing of gradient check.
7 years ago
tensor-tang
9bf99c21fd
add mkldnn_addto python interface
7 years ago
wangmeng28
e65960ede8
Merge remote-tracking branch 'upstream/develop' into fix-4388
7 years ago
wangmeng28
0d79e9732d
Refine the log message in fc layer
7 years ago
Peng LI
9276ca78ec
Merge pull request #5283 from will-am/plot_to_file
...
Support saving figure to file
7 years ago
Zhuoyuan
6d649d9ebd
Merge pull request #5235 from zchen0211/develop
...
deconv cudnn forward passed
7 years ago
dzhwinter
e0c3a6683c
"add net drawer for visualizing the graph" ( #5292 )
...
* "add net drawer for visualizing the graph"
* "fix "
* "add dep"
7 years ago
wwhu
65451b5c4d
add cliy_by_norm op
7 years ago
Yu Yang
0a32e74d13
Rewrite StaticRNN with Executor ( #5224 )
...
* Init commit
* Make executor use ProgramDescBind
* Change Attribute from BlockDesc to BlockDescBind
* Since we will get the program desc in RNN, just BlockDesc is not
enough.
* Add DeviceContext to Executor API
* Rewrite RNN
* Pass Python
* AddBiasOp does not care num_flatten_dims
* Stash
* Fix MacOS Compile
* Pass RNN forward
* add python test
* refactor test
* Make compile pass
* add gradopmaker
* First draft done
* Polish code
* add grad op maker and grad infershape
* Polish code
* Fix backward.cc bug
* Fix infershape
* Rename function
* add backward test
* simplify recurrent test
* Update
* Pass unittest
* Add comments & refine test
* Add comments
* refactor test
* Complete Unittest
* fix StepScopes enforce
* Remove unused unittest
* no type error
* Update
* Make RNN Pass unittest
7 years ago
Yang yaming
8cdb42c2b3
Merge pull request #5111 from pkuyym/fix-5070
...
Add PrecisionRecall Op
7 years ago
dzhwinter
69011c1821
"add book recommender_system testing" ( #5143 )
...
* "add sequence conv layer"
* "add book recommender_system testing"
* "add training loop"
* "add sequence layer"
* "add recommender system training data"
* "fix conv2d layer bug"
* add sequence_conv_pool
* "fix input is Null"
* add networks
* "fix based comment"
* "add sum op layer"
* "merge layers"
* Update layers.py
* "fix input is NULL bug"
* "debug embedding table"
* "modify layers.py"
* "fix pool interface"
* "add export type to layers"
* "fix based on comment"
* "need lod info support in all operator"
* "remove accuracy layer"
* "tuning learning rate"
* "add sparse test"
* "add gpu test"
* Update test_recommender_system.py
7 years ago
Qiao Longfei
f48159ade0
Optimizer use init program ( #5275 )
...
* optimizer use init_program
* create persistable variable
* add create_persistable_var to block
* optimizer use create_persistable_var
* fix prefix
* move create_global_persistable_var from Block to LayerHelper
* Polish Optimizer initialization code.
* Using the LayerHelper to create initialize operator and variables
* add_accumulator should use an independent data type
* default use param data type for accumulator
7 years ago
Yang Yang(Tony)
90f4d5e904
modify fill constant batch size like ( #5222 )
7 years ago
武毅
08ca72670f
evaluator_accumulate ( #4828 )
7 years ago
fengjiayi
1f11f773bf
Fix a bug in sequence_pool layer ( #5290 )
...
* Fix bug
* update
7 years ago
zchen0211
7e34b8e366
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Yang Yang(Tony)
0885de47eb
first commit ( #5286 )
7 years ago
zchen0211
31187e7e72
deconv fix
7 years ago
yangyaming
970613fc15
Refine and follow comments.
7 years ago
wangmeng28
38f10aeae8
Add plot to file
7 years ago
zchen0211
b720f282b1
deconv modify
7 years ago
zchen0211
4e228021bb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
guosheng
bb75381444
Clean code of GRU Operator
7 years ago
xzl
83818cd451
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_dilation
7 years ago
xzl
33032b12cf
fix bug: regenrate test proto of img_conv
7 years ago
Cao Ying
8401039feb
Merge pull request #5084 from lcy-seso/crf
...
Add the LinearChainCrf operator.
7 years ago
guosheng
83b48ebcb7
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUOp-dev
7 years ago
qingqing01
36d20609a2
Merge pull request #5115 from qingqing01/lstm_bp
...
Add backward implementation for LSTM operator.
7 years ago
dzhwinter
26492210c0
Fix/sequence op ( #5264 )
...
* "replace enum with string"
* "fix layers"
7 years ago
zchen0211
a0acfc6a62
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Abhinav Arora
db3b9438b7
Adding Normal distribution initializer and unit tests for python initializers ( #5256 )
7 years ago
Yu Yang
f354bd9861
AddBiasOp does not care num_flatten_dims ( #5200 )
...
* AddBiasOp does not care num_flatten_dims
* Add comments
7 years ago
Abhinav Arora
e41f28cbcd
Adding a framework for variable initializers ( #5232 )
7 years ago
dzhwinter
ddde829a1c
Fix/sequence pool ( #5229 )
...
* "modify layers.py"
* "fix pool interface"
* "add export type to layers"
* "fix based on comment"
7 years ago
fengjiayi
2113d6ed72
fix bug ( #5233 )
7 years ago
武毅
8013328ed8
Refine evaluator op types ( #5208 )
...
* refine evaluator op types
* update
* follow comments
* update
* fix v2 mnist case
* fix v2 mnist case
* update
* update
7 years ago
Yu Yang
0b76c7352c
AddBiasOp does not care num_flatten_dims ( #5200 )
...
* AddBiasOp does not care num_flatten_dims
* Add comments
7 years ago
zchen0211
b77f9fbf04
deconv2d cudnn
7 years ago
Abhinav Arora
61eafbe09d
Adding a framework for variable initializers ( #5232 )
7 years ago
dzhwinter
9b70b6a1bb
Fix/sequence pool ( #5229 )
...
* "modify layers.py"
* "fix pool interface"
* "add export type to layers"
* "fix based on comment"
7 years ago
fengjiayi
a75437a20c
fix bug ( #5233 )
7 years ago
guosheng
a4d54b83d4
Make GRU Operator adapt to the latest code
7 years ago
xzl
300b5094cb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_dilation
7 years ago
xzl
58498f95bb
add defalut value to dilation in Conv
7 years ago
caoying03
2ac9a3d8dc
follow comments.
7 years ago
dangqingqing
7061e0139f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_bp
7 years ago
dangqingqing
6f658bb7d9
Clean code and update doc.
7 years ago
zhouxiao-coder
1491041b0e
merge latest code
7 years ago
zhouxiao-coder
a9f9e208f5
Add optional inputs and outputs to enable updating;Add weight to match original implementation
7 years ago
zhouxiao-coder
e68a217f34
Add optional inputs and outputs to enable updating;Add weight to match original implementation
7 years ago
caoying03
dd2be3daba
Merge branch 'develop' into crf
7 years ago
guosheng
9162629b04
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUOp-dev
7 years ago
guosheng
b87eabae56
Add GRU Operator
7 years ago
武毅
878dd88f61
Refine evaluator op types ( #5208 )
...
* refine evaluator op types
* update
* follow comments
* update
* fix v2 mnist case
* fix v2 mnist case
* update
* update
7 years ago
fengjiayi
f122a5da2f
Add accuracy layer ( #4958 )
...
* Complete accuray layer
* Fix error
* Fix error
* Add 'accuracy' to __all__
* update
* Fix Type error
* Fix error
* Refine unit tests
* Fix an unit test error
7 years ago
QI JUN
669786bfe1
refine square_error_cost layer ( #5216 )
...
* reimplement pow operator
* add pow_grad operator
* fix code style
* fix build error
* fix op_test bug
* revert pow operator
* add FIXME comment
7 years ago
Qiao Longfei
a128eb7b73
improve unique_name, uniq id is related to prefix ( #5223 )
...
* improve unique_name, uniq id is related to prefix
* fix join
7 years ago
gongweibao
8d1ad97b3d
Add log to `InitParam` `GetParameter` `SendGrad` and etc. ( #5162 )
...
* add logs and fix a bug
* fix break buf
* modify path bugs
* fix by comments
* fix by comments
* add batch
* add float32tostring
* add pb support
* moidfy gotpaht
* compile ok
* add proto
* delete not need
* add proto
* add empty proto
* clean not need
* clean not need
* modify deps
* fix by comments and update depend
* fix compile error
* fix loop bugs
7 years ago
dzhwinter
f4710cf0e2
"add sequence conv layer" ( #5117 )
...
* "add sequence conv layer"
* "add sequence layer"
* add networks
* "fix based comment"
* Update layers.py
7 years ago
Qiao Longfei
cdc700bb32
add resnet ( #5206 )
...
* add resnet
* optimize code
7 years ago
QI JUN
a186b53dfb
add init_gflags interface ( #5193 )
...
* add init_gflags interface
* refine code
* follow comments
7 years ago
fengjiayi
73d7855726
Fix a type error top_k_op ( #5201 )
...
* Fix Type error
* Fix error
7 years ago
chengduoZH
1431f25196
remove conflict
7 years ago
chengduoZH
5173b8d88f
fix code format and doc
7 years ago
chengduo
0f9858a1c9
Merge pull request #5130 from chengduoZH/fix_sequence_conv_op
...
fix_sequence_conv_op
7 years ago
chengduoZH
172481534d
fix code format and doc
7 years ago
dangqingqing
1d7c03e789
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_bp
7 years ago
chengduoZH
9ee8a0d006
remove conflict
7 years ago
whs
03136f6375
Merge pull request #4740 from wanghaoshuang/seq_expand_op
...
Seq expand op
7 years ago
chengduo
8efd08763f
Merge pull request #5187 from chengduoZH/fix_pool_op
...
fix pool op
7 years ago
wanghaoshuang
9f32b61c27
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
wanghaoshuang
fab6f30ff6
Add empty sequence case in unitest
7 years ago
Qiao Longfei
0049ce0479
03 image classification ( #5192 )
...
* add batch_norm_layer
* add img_conv_group layer and test
* add check to Tensor.type()
* forward can run
* with backward
* change label data time from int32 to int64
* refine code
* follow comment
7 years ago
dzhwinter
833d0ad0fe
Merge pull request #4838 from dzhwinter/feature/multigpu
...
Feature/multigpu
7 years ago
dangqingqing
b50c33fd00
Use fixed activation in the lstm kernel, since there is some bug in the activation function pointer. It will be fixed later.
7 years ago
wanghaoshuang
35e79448a0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
Yu Yang
b84e822651
Cast Operator ( #5149 )
...
* Cast Operator
Cast input variable to other data type
* Fix compile error
* Add cast op
* Follow comments
7 years ago
QI JUN
008f40ce09
support sparse output for lookup table grad op ( #5145 )
...
* add sparse support for sum op
* typo fix
* fix gpu build error
* fix unittest error
* typo fix
* infer var type and shape in op_test
* follow comments
* fix build error
* bypass some unittests depend on NetOp
* support sparse output for lookup table grad op
* refine codes
* fix gpu build error
* fix lookup table grad gpu kernel
* fix ci
* fix ci
* fix ci
* fix bug in lookup_table_grad op
* fix bug in test_word2vec
* register double kernel for some operators
* set is_sparse=True in test_word2vec
* fix lookup table grad op CUDA kernel bug
* disable test_modified_huber_loss_op temporarily
* disable test_lstm_unit_op temporarily
7 years ago
Yu Yang
3ecad8ae65
Enable xe unittest ( #5180 )
7 years ago
chengduoZH
6bdf5c1417
fix bug
7 years ago
Abhinav Arora
5906baa3f4
Adding L2 Regularization to Recognize digits MLP example ( #5186 )
7 years ago
Abhinav Arora
79c5a46194
Handling global step increment in optimizer python wrapper ( #5097 )
...
* Adding the increment op for global step
* Changing list to single op as per code review feedback
7 years ago
fengjiayi
6783dcee9e
Python API for inference model saving/load ( #5020 )
...
* Add `dump_to_file()` for ProgrameDescBind in pybind
* Update
* Add utility.py
* typo
* Fix bugs
* Move add_feed/fetch_components to untility.py
* Compelete dump
* Follow comments
* Change output of Prune() from inference to pointer
* Expose Prune() to Python
* Compelete save/load API of inference model
* Fix errors
* Debuging
* Compelete unit tests
* follow comments
7 years ago
Abhinav Arora
f3ac4d8e35
Adding L1 Decay Regularizer ( #5173 )
7 years ago
Yu Yang
9ecebb2dce
Remove test_mnist, since we replace it with compile time concepts ( #5144 )
7 years ago
dong zhihong
6f009cf8ba
rerun ci
7 years ago
dong zhihong
99308b1876
rerun CI
7 years ago
zchen0211
52eb42cf7c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into batch-norm-latest
7 years ago
zchen0211
f456a4e938
batch-norm forward backward nchw, nhwc passed
7 years ago
zchen0211
03789a7df4
batch norm fully tortured and passed
7 years ago
Abhinav Arora
1a26f5a548
Adding the Sign Op for L1 Weight Decay Regularization ( #5138 )
7 years ago
zchen0211
8a07aff4d7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into batch-norm-latest
7 years ago
zchen0211
822cf9785b
more test and bn fix
7 years ago
chengduo
09ed52831b
Merge branch 'develop' into Add_deconv3d_op
7 years ago
chengduo
e248866449
Merge branch 'develop' into Add_conv3d_gemm_op
7 years ago
chengduoZH
51113cfe52
write together
7 years ago
gongweibao
4c183b17f2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into omitlstmunit
7 years ago
Zhaolong Xing
f63273b99a
Merge pull request #5151 from NHZlX/add_merge_model_scripts
...
Add merge model scripts
7 years ago
chengduo
5a95792925
Merge pull request #4636 from chengduoZH/Add_pool_cudnn_op
...
Add pool2d cudnn op
7 years ago
xzl
fbfa82950d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_merge_model_scripts
7 years ago
武毅
6ef9da8ef7
fix compile error ( #5160 )
...
* fix compile error
* remove unittest
* disable huber loss unittest
7 years ago
chengduoZH
ed120ee741
Add unit test
7 years ago
chengduoZH
bf3ae0631e
remove conflict
7 years ago
gongweibao
8c9119afcd
add logs and fix a bug ( #5074 )
...
add logs and fix a python path bug
7 years ago
chengduoZH
cadee843b8
follow comments
7 years ago
gongweibao
0d0fd3fbd1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into omitlstmunit
7 years ago
Tao Luo
92c32799e7
Merge pull request #4864 from luotao1/maxseq
...
add Max strategy for sequence_pool op
7 years ago
gongweibao
bc0ecf2594
omit test_lstm_unit_op.py
7 years ago
xzl
ebf606a2a0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_merge_model_scripts
7 years ago
Yang yaming
fd5199fdf7
Merge pull request #3989 from pkuyym/fix-3923-r
...
Add huber loss operator.
7 years ago
Luo Tao
f086f5649b
Merge branch 'develop' into maxseq
7 years ago
武毅
24d988ce5c
Merge pull request #4063 from typhoonzero/auc_op
...
Auc op
7 years ago
xzl
6c783dc887
modify interface and comments
7 years ago
chengduoZH
df48b43b91
fix clear zero method and remove useless code
7 years ago
caoying03
3afb9dc88a
use double in unittest.
7 years ago
xzl
f08bf453f7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_merge_model_scripts
7 years ago
xzl
9545163fdf
add merge model tools
7 years ago
chengduoZH
e5c167dc0b
fix unit test
7 years ago
chengduoZH
0ab012cf7f
fix doc
7 years ago
Abhinav Arora
94fb7ba4fa
Adding L1 norm op for L1 regularization ( #5058 )
...
* Adding L1 norm op for L1 regularization
* Addressing code review feedback
* Address code review feedback
* Change variable names to match google style guide
7 years ago
Yu Yang
9596731348
enhance default param_attrs ( #5142 )
7 years ago
QI JUN
7f8574c0f5
add sparse support for sum op ( #5093 )
...
* add sparse support for sum op
* typo fix
* fix gpu build error
* fix unittest error
* typo fix
* infer var type and shape in op_test
* follow comments
* fix build error
* bypass some unittests depend on NetOp
7 years ago
Yu Yang
2366284165
Python API for save/load variables ( #5136 )
...
* Python API for save/load variables
* Polish names
7 years ago
Dong Zhihong
75eacccd5c
"rerun ci"
7 years ago
Dong Zhihong
f632706c18
fix based on comment
7 years ago
Abhinav Arora
8623e48ba8
Add python API for backward regularization ops ( #5135 )
...
* Add regularizer code
* Fix code
7 years ago
Yu Yang
be00b0c4d6
Gradient check use graph ( #5027 )
...
* Simplize Gradient Check
* Stash
* Extract apply_backward_pass to backward.py
Rename apply_backward_pass to append_backward_ops
* Use graph API to check gradient
* Fix ci
* Fix CI
* Fix backward for double precision
* Stash
* Fix CI
* Fix ci
* Ignore GRU test
* Ignore xe op
* Fix CI
* Fix softmax with xe gradient
The correct equation should be IG = OG * (d_softmax_with_xe())
* Fix typo
* Fix merge error
* Disable LRN
7 years ago
Qiao Longfei
fc68290bcc
update _create_op_func_ and support generate dropout layer ( #5134 )
7 years ago
fengjiayi
aa379ccb5e
Add functions of restoring ProgramDescBind from ProgramDesc ( #5109 )
...
* compelete restoring program_bind from program_desc
* Fix bugs
* fix compile errors
* fix errors and add unit tests
* rename some vars
* Follow comments
7 years ago
Dong Zhihong
16a39d24f3
fix conflict
7 years ago
chengduoZH
25df892932
remove conflict
7 years ago
Siddharth Goyal
66476fc7b7
Add proximal adagrad optimizer ( #5128 )
7 years ago
yangyaming
65dbbd57af
Add and pass unittests.
7 years ago
chengduoZH
db1bb8224a
follow comments
7 years ago
chengduo
8e3ecf5d11
Merge pull request #4814 from chengduoZH/Add_sequence_project_op
...
Add sequence_conv_op and sequence_projection functor
7 years ago
gongweibao
9d142d5060
Local response normalize. ( #4426 )
...
Add local response normalize
7 years ago
dangqingqing
bd680f157f
fix compiling warning.
7 years ago
chengduoZH
99c6f44a5a
follow comments
7 years ago
dangqingqing
bcc0dad7df
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_bp
7 years ago
dangqingqing
ac3370a467
Add unit testing for gemv and fix the gradien check for bais.
7 years ago
chengduoZH
dcb3da591e
refine code
7 years ago
Yu Yang
aa3de3571d
Polish unit test for xe, generate probablities ( #5096 )
...
* Cross Entropy Wrong
* Fix XE
* Polish gradient check for xe
* Fix compile
7 years ago
chengduoZH
1bb0e2943b
Add pool2d cudnn
7 years ago