xzl
0dc4b29879
deal with conflit
7 years ago
chengduoZH
9f7c9875a9
fix doc
7 years ago
chengduoZH
3f8a7b55b8
remove conflict
7 years ago
Yu Yang
6c0b383672
Add VarType::STEP_SCOPES for RNN ( #5056 )
7 years ago
Qiao Longfei
ee998a9c44
CPU Batch Norm Op ( #4964 )
...
* init batch norm op
* prepare input output
* compute mean_out var_out save_mean save_var on CPU
* active is test
* use eigen to do computation
* complete batch norm forward
* set default momentum to 0.9
* add batch norm grad op in CPU
* add tensor_format and NHWC support, add python test
* add test training
* add batch norm gradient test
* improve comment, fix foward Python UnitTest
* add gradient test
* fix eigen warning
* follow name style
* fix a bug
* change float to T
* add simple forward test
* test with different place
* add backward test
* refine python test
* remove old python test code
* code clean
* follow code style
* update comment
7 years ago
Dong Zhihong
63fb41b399
"redefine the initop from kernel to OpBase"
7 years ago
helinwang
b54990e951
Merge pull request #5053 from helinwang/serialization
...
Fix parameter server checkpoint serialization crash
7 years ago
Dong Zhihong
1e8474b9f1
"delete python ops testcase"
7 years ago
dzhwinter
fd2eb55071
"Serialize LoDTensor, Save/Restore model" ( #4602 )
...
* "add model format design doc"
* "add restore function"
* "add parse protobuf"
* "move necessary information to saver.proto"
* "format code"
* "add gpu option"
* "add lod info"
* "add saveop python test wrapper"
* "checkpoint reuse save operator"
* "rewrite model format design doc"
* "async support needed"
* "fix run once"
* "fix doc based on comments"
* "refine based on comments"
* "fix based comments"
* "remove persistable flag from framework.proto"
* "add IndicateDataType to restore op"
* "add save test"
* "modify save restore code"
* "modified the restore logic"
* rm checkpoint_op.cc
* rm test_checkpoint_op.py
* "get inputs outputs name from execution context"
* Saving each variable to a independent file
* Fix bugs
* Rewrite save_restore_op_test with new Python framework
* Move `SaveOp` and `RestoreOp` from OpWithKernel to OpBase
* Refine unit test of SaveOp and RestoreOp
* fix compile errorwq
7 years ago
Dong Zhihong
0990c87bf6
checkin nccl operator
7 years ago
Helin Wang
f28b4d6805
Fix parameter server checkpoint serialization
7 years ago
Dong Zhihong
da1181bfc6
Merge remote-tracking branch 'origin/develop' into feature/multigpu
7 years ago
Dong Zhihong
ef257e6d96
write nccl c++ test case
7 years ago
tensor-tang
8845218636
add batchnorm layer in simple test and branch test
7 years ago
tensor-tang
ad6b531917
add unit test for mkldnn_batch_norm layer
7 years ago
tensor-tang
64eaeba1a8
enable mkldnn_batch_norm layer
7 years ago
tensor-tang
02fdf24115
enable copyFrom of MKLDNNMatrix
7 years ago
chengduoZH
05239b6ff5
fix functor
7 years ago
yangyaming
5939a17c47
Follow comments and adapt to new interface.
7 years ago
caoying03
6a630f2798
Merge branch 'develop' into crf
7 years ago
dangqingqing
0190d5d644
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into check_out_lod
7 years ago
dangqingqing
2e783663fa
Enable to output LoD in fetch_op and check output LoD in the op unit test.
7 years ago
chengduoZH
b15c69f59d
remove conflict
7 years ago
caoying03
427644b2fa
fix the computation kernels.
7 years ago
chengduoZH
4c6bccbe20
fix doc and remove useless code
7 years ago
yangyaming
0521161070
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-3923-r
7 years ago
yangyaming
9a3f50d806
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-3923-r
7 years ago
wanghaoshuang
97f1b98759
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
wanghaoshuang
296167446c
Rewrite sequence expand op
7 years ago
chengduoZH
61dbf4b926
fix im2col interface
7 years ago
Luo Tao
35434c33d0
fix compiler error in im2col.h
7 years ago
chengduoZH
154dbb4697
Add unit test
7 years ago
qingqing01
23bf6b2c15
Merge pull request #4887 from chengduoZH/fix_im2col_kocf_for_sequence
...
Add up, down, left and right padding for im2col.
7 years ago
Zhuoyuan
8fdc315acc
Merge pull request #4739 from zchen0211/develop
...
deconv op implementing ...
7 years ago
Dong Zhihong
50f04dcae3
"add init allreduce test"
7 years ago
Yu Yang
94e741d6f0
Use external project for NCCL ( #5028 )
7 years ago
Dong Zhihong
f6106ffa7e
merge develop into multigpu
7 years ago
Dong Zhihong
ec47565c23
"add reduce hash function"
7 years ago
Yi Wang
cdb5f2928a
Add a C++ program that prints operator document in JSON format ( #4981 )
...
* Add print_operators_doc.cc
* Update Escape
* Correct a bug
* Remove OpInfoMap::Iterate
* Update the print_operators_doc.cc
* Escape tab
* Use auto&
* Use auto&
* Remove trailing ,
* clang-format C++
7 years ago
Yang Yang(Tony)
db157eda45
New Op Test framework. ( #4962 )
...
Pass all forward op test
7 years ago
Dong Zhihong
423d7438a1
"add register gpu macro"
7 years ago
Yu Yang
bc15117403
Correct mul_op implementation ( #4988 )
...
* Correct mul_op implementation
* Restore the origin shape after mul
* Fix mul op
* Do not touch math_function
7 years ago
Yu Yang
43c6ff212e
Feature/nccl dso ( #5001 )
...
* "add nccl enforce"
* Dev
* Update comment
* Add nccl test
* Follow comments
7 years ago
QI JUN
fcd74e06b8
add book04.word2vec train test ( #5002 )
...
* init
* ensure ids in lookup table op must be a column vector
* add book4 configuration in test_layers
* debug test_book4
* add test_word2vec
* follow comments
* follow comments
7 years ago
QI JUN
40e7caf667
ensure ids in lookup table op must be a column vector ( #4987 )
...
* ensure ids in lookup table op must be a column vector
* follow comments
7 years ago
chengduoZH
09662da0be
follow comments
7 years ago
chengduoZH
811a3174f1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_im2col_kocf_for_sequence
7 years ago
chengduoZH
2947f5678e
follow comments
7 years ago
chengduoZH
f2ccef26bf
Add sequence_conv_op
7 years ago
chengduoZH
0ab2c436ae
Add sequence_project_functor
7 years ago
dangqingqing
cf2608e383
update to the develop branch.
7 years ago
dangqingqing
64fe9bcc5c
Update lstm comments and fix bug.
7 years ago
Tao Luo
48173e8599
Merge pull request #5010 from tensor-tang/merge
...
fix crash on ds2
7 years ago
tensor-tang
386bb1fece
fix crash on ds2
7 years ago
wanghaoshuang
4e8fccff11
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
wanghaoshuang
d697b6a349
Modified code using LoDTensor
7 years ago
chengduoZH
ce960575cd
fix doc format and unit test
7 years ago
Luo Tao
70d9d953e6
rename sparse_vector to sparse_float_vector in tests
7 years ago
caoying03
c8d0d37c4d
Merge branch 'develop' into crf
7 years ago
Tao Luo
abce9eb750
Merge pull request #4953 from tensor-tang/merge_grad_gtest
...
refine the mkldnn logic
7 years ago
caoying03
80a5ee0052
fix forward and add backward.
7 years ago
Qiao Longfei
c91de280d7
CompileTime InferShape should find var recursively in stack of blocks ( #4998 )
...
* recursive find var in BlockDesc
* add HasVarRecursive and FindVarRecursive to BlockDesc
* fix FindVarRecursive
7 years ago
chengduoZH
4c19f9f429
fix backward
7 years ago
chengduoZH
6246be294f
clean gradient data
7 years ago
Qiao Longfei
54ffafa123
use context to get attribute ( #4997 )
7 years ago
Qiao Longfei
e7f627036a
fix InferShapeContext Has interface ( #4994 )
7 years ago
chengduoZH
4d112b7d04
remove conflict
7 years ago
chengduoZH
dc7d07358c
add padding up, down, left, right
7 years ago
chengduoZH
834b82f109
fix sequence_project_op forward and backward
7 years ago
Guo Sheng
d0cfbba429
Merge pull request #4496 from guoshengCS/add-NormOp
...
Add norm_op
7 years ago
Yang Yang(Tony)
fa050941b0
Merge pull request #4990 from tonyyang-svail/add_optional_in_op_proto
...
add optional in op proto
7 years ago
zchen0211
cc5e118b1e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
zchen0211
b3ab3ce0a1
deconv -> conv transpose
7 years ago
Yang Yang
c030589df6
add optional in op proto
7 years ago
dzhwinter
ac4f7598ed
Merge pull request #4985 from reyoung/add_nccl_to_docker_image
...
Add nccl to docker image
7 years ago
Yu Yang
784fc32bfa
Add nccl to docker image
7 years ago
zchen0211
64c5ecbedb
deconv
7 years ago
Yu Yang
e9e0d7d774
Correct the dependencies ( #4978 )
7 years ago
Yu Yang
86437a8dda
Global function, op_support_gpu ( #4980 )
7 years ago
Yu Yang
65906ef1d0
Several Enhancement
7 years ago
zchen0211
502e72591f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
QI JUN
d2f3c8bb7a
Merge pull request #4973 from QiJune/clang-build-error
...
fix clang build error
7 years ago
Yan Chunwei
db7b11719b
change lod tensor to absolute offsets ( #4952 )
7 years ago
qijun
7edc1d96c6
fix clang build error
7 years ago
Yan Chunwei
07ea9adec0
feature/dynamic recurrent op forward and backward ( #4799 )
7 years ago
kavyasrinet
5380a5471b
Adding Nesterov Momentum ( #4948 )
7 years ago
tensor-tang
5c892db64c
remove unused code
...
refine comments and bias
fix typo and todo
7 years ago
guosheng
b12988f008
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-NormOp
7 years ago
tensor-tang
5b5cb0781a
add branch tests for pool and fc
7 years ago
hedaoyuan
9a5562aade
Merge pull request #4963 from hedaoyuan/inference
...
Change the name of the export.map to paddle_capi.map which need to be…
7 years ago
wanghaoshuang
00ad7512cf
Use stream while memory::Copy in GPU mode
7 years ago
hedaoyuan
2bb2c318e9
Change the name of the export.map to paddle_capi.map which need to be released in each version.
7 years ago
Abhinav Arora
09c0c82ec9
Adding increment op ( #4940 )
...
* Adding incremnt op
* Fixing comment about step attribute
7 years ago
zchen0211
8e55736a20
deconv2d
7 years ago
Dong Zhihong
333045d7b2
"move nccl to another directory"
7 years ago
hedaoyuan
37bfd03f0c
Merge pull request #4932 from hedaoyuan/inference
...
Split paddle_capi_whole into paddle_nn_engine and paddle_layers two s…
7 years ago
hedaoyuan
5d2fe7cd91
Fix cc_library paddle_capi_whole.
7 years ago
Yu Yang
102a5f3499
Feature/remove global scope ( #4950 )
...
* Unify `set_feed_variable` to one method
* Move global scope to python, not in C++
7 years ago
QI JUN
9903e49f94
add test_fit_a_line ( #4936 )
...
* add test_fit_a_line
* Update
* fix persistable bug
* fix elementwise add bug
* set correct attr for bias op in fc layer
* set correct attr for bias op in fc layer
* Update
1. Add init_program to hold initializers
2. bug fix
* add test_fit_a_line
* fix persistable bug
* fix elementwise add bug
* fix type
* add gitignore
* Complete fit_a_line test
* revert code
* Clean up
* Revert "revert code"
This reverts commit eb1aa015cda4fc12b6dc778ada6c3507b98134f5.
* Refine
* Fix unit test
7 years ago
QI JUN
92369177ad
Merge pull request #4941 from QiJune/fix_elementwis_add_bug
...
fix elementwise add bug
7 years ago
Yu Yang
af4dac4ac3
Feature/free kid scope ( #4951 )
...
* Delete kid
* Delete local scope
7 years ago
tensor-tang
4f41eaf7f8
Merge remote-tracking branch 'upstream/develop' into merge_grad_gtest
7 years ago
tensor-tang
d75b00c221
refine the gtest log info and vlog order,
...
and change the size of test to make unit test faster
refine comment and log of mkldnnlayer
7 years ago
zchen0211
7eeaae1695
deconv
7 years ago
Yu Yang
42f2dd4041
Unify `set_feed_variable` to one method ( #4949 )
7 years ago
Yu Yang
c532b96741
Remove template parameter for Tensor methods ( #4937 )
...
* Remove template parameter for Tensor methods
* Also check the type is correct when data()
* Simplize holder_
* Fix accuracy_op
* Register Code
7 years ago
qijun
9e6404441c
fix elementwise add bug
7 years ago
zchen0211
d97a732f4f
deconv
7 years ago
zchen0211
e59ca752fc
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Abhinav Arora
77cac5cdb8
Removing updates of Beta1 power accumulators outside the op ( #4931 )
7 years ago
Abhinav Arora
11bebeb2dc
Removing updates of Beta1 and Beta2 power accumulators outside the op ( #4925 )
7 years ago
Yu Yang
3db5278301
Feature/py executor test ( #4922 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Expose get global scope
* Make global scope not thread-safe
1. It is no need to make global scope thread-safe, since it will be
invoked in Python main thread.
2. Do not free the global scope when C++ exit. Let the OS free memories,
otherwise, we need to handle the destroy dependencies.
See
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* Fix
* Implementation of simple conv_2d layer
* Stash
* Remove private data members in OpRegister
* Fix bugs
* Stash
* Expose FeedFetchList as VarType
* Change ProgramDesc not a global variable
* Polish code style
* Stash
* Correct implement BlockDesc destructor
* Correct implement BlockDesc destructor
* Unify program as parameter name
* Fix bugs
* Add unittest
* Fix unit test error
* Remove unused functions
* Add clone for Python Program
* Working on executor
* Stash
* Add glog as dependencies of ops
* Use VLOG to logging some information is helpful when we debug Paddle
* Expose VarDesc::persistable to Python
* Test executor
* Complete unittest
* Polish code
* Fix merge error
* Follow comment
* Polish Python Code
7 years ago
hedaoyuan
56d5db8bea
Bug fix of libpaddle_capi_whole.a in x86.
7 years ago
hedaoyuan
747b541957
Follow comments
7 years ago
dangqingqing
694bc64aaf
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm
7 years ago
dangqingqing
17e33738f2
Enhance unit testing and fix bug.
7 years ago
武毅
63ffe5250a
Cluster train doc for v2 API ( #2072 )
...
* update cluster train v2 doc
* WIP cluster train doc
* update
* cluster train doc
* add TOC for en doc
* fix sphix build issue
* fix error links
* fix link errors
* fix image link
* polish cluster train docs
* update general distributed training document
* fix sphinx compile error
* fix doc image error
7 years ago
Yibing Liu
2073fb96cb
Enable learning rate annealing of Adam Optimizer
7 years ago
hedaoyuan
378dcb1833
Split paddle_capi_whole into paddle_nn_engine and paddle_layers two static libraries.
7 years ago
dangqingqing
8bec26be03
Add missing file of math/detail/CMakeLists.txt
7 years ago
dangqingqing
ee39b37a41
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm
7 years ago
wanghaoshuang
74b283c9d6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
wanghaoshuang
a94b3dd9a7
Refine comments and function name
...
1. Add more comments and exmples
2. Rename repeat_lod to expand_lod
3. Remove unused head file
7 years ago
tensor-tang
94e442d4b1
add cpp file of MKLDNNLayer
7 years ago
tensor-tang
9e38dafa29
change MKLDNNMatrix create interface since MatrixPtr is not always required
7 years ago
tensor-tang
c1914543b0
refine mkldnn logic, move reset buffers into MKLDNNLayer
7 years ago
dangqingqing
a461bf139d
Add missing file.
7 years ago
whs
c8c4ba0f65
Merge pull request #4918 from wanghaoshuang/fix_lod
...
Make LoDTensor::lod_element return start and end offset of sequence
7 years ago
zchen0211
e8cd4b7d86
deconv2d impl in full
7 years ago
dangqingqing
b325213150
update to develop branch.
7 years ago
dangqingqing
d1fbf50b9e
Add unit testing for forwad implementation.
7 years ago
wanghaoshuang
edb6aba698
make lod_element return std::pair
7 years ago
zchen0211
43aad989bd
deconv
7 years ago
Yu Yang
47f773ddb2
Copy Constructor for ProgramDesc ( #4895 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Implementation of simple conv_2d layer
* Fix bugs
* Change ProgramDesc not a global variable
* Polish code style
* Stash
* Correct implement BlockDesc destructor
* Correct implement BlockDesc destructor
* Unify program as parameter name
* Fix bugs
* Add unittest
* Fix unit test error
* Remove unused functions
* Add clone for Python Program
* Compare OpDescBind directly
7 years ago
wanghaoshuang
4018754d66
fix LoDTensor::lod_element to get last element in level
7 years ago
Yang Yang(Tony)
831927d58c
Merge pull request #4738 from tonyyang-svail/prune_impl
...
Prune implementation
7 years ago
Yu Yang
e9249d16cb
Add glog as dependencies of ops ( #4908 )
...
* Add glog as dependencies of ops
* Use VLOG to logging some information is helpful when we debug Paddle
* Fix Unittests
7 years ago
Yu Yang
f6e1d959d2
Expose VarDesc::persistable to Python ( #4911 )
7 years ago
Dong Zhihong
fdfc8f9baa
"switch to Init op"
7 years ago
QI JUN
7ad13fbfe9
Merge pull request #4876 from QiJune/sgd_op_sparse_kernel
...
add sparse update kernel for sgd operator
7 years ago
zchen0211
5ec55e7995
deconv impl
7 years ago
Yang Yang
c5b411c515
make compatible to new programDescBind
7 years ago
Yang Yang
39aa81e74e
Merge remote-tracking branch 'upstream/develop' into prune_impl
7 years ago
zchen0211
80ebc8d5e3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
kavyasrinet
c10b8e808f
Adding Proximal Gradient Descent ( #4848 )
...
* Adding Proximal Gradient Descent
* Fixing review comments
7 years ago
fengjiayi
a204fefe16
Fix several bugs in compile time backward and Protobuf desc ( #4894 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Implementation of simple conv_2d layer
* Fix bugs
* Correct implement BlockDesc destructor
* Fix bugs
* Fix unit test error
* Follow comments
7 years ago
fengjiayi
af215a1a53
Design doc: Batch Normalization Operator ( #3748 )
...
* Add design doc of batch_norm_op
* Move batch_norm_op.png to operator/images
* Refine batch_norm_op design doc
7 years ago
Yu Yang
e747623e86
Change ProgramDesc not a global variable ( #4879 )
...
* Change ProgramDesc not a global variable
* Polish code style
* Correct implement BlockDesc destructor
* Unify program as parameter name
7 years ago
wanghaoshuang
31531ab581
Add backward kernel
7 years ago
chengduoZH
91db457fc0
follow comments
7 years ago
wanghaoshuang
8de04be786
Fix unitest
7 years ago
dangqingqing
2a8dbd130d
LSTM Operator forward implementation.
7 years ago
chengduoZH
40688d223e
refine im2col (up_pad,down_pad)
7 years ago
chengduoZH
d2c1408f91
fix im2col kocf for sequence projection
7 years ago
chengduoZH
1e60c9b2e8
Add sequence_project_op (use im2col)
7 years ago
wanghaoshuang
555ab3f5af
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
wanghaoshuang
23701ffaf0
Refine op
7 years ago
Yang Yang(Tony)
43c05e434d
Merge pull request #4855 from tonyyang-svail/executor_refine
...
Simplify executor
7 years ago
Yu Yang
8938a9b0ac
Correct implement BlockDesc destructor ( #4882 )
7 years ago
QI JUN
521514da36
fix conflict ( #4883 )
7 years ago
Markus Kliegl
164898277c
MatMul operator ( #4856 )
...
* initial matmul operator
Similar to np.matmul, but also has transpose_X and transpose_Y flags,
and only supports tensors from rank 1 to 3 inclusive.
For GPU, uses cublas?gemmStridedBatched. For CPU, uses
cblas_?gemm_batch if available via MKL; otherwise a simple serial
implementation that loops over the batch dimension is employed for now.
7 years ago
dzhwinter
fd96914d23
Merge pull request #4571 from sidgoyal78/momentum_op
...
Add momentum operator
7 years ago
qijun
f9681459b2
fix gpu build error
7 years ago
Yu Yang
5d67677c60
Remove private data members in OpRegister ( #4871 )
7 years ago
qijun
ab8cc401e6
add sparse sgd operator unittest
7 years ago
qijun
330c509bc3
Merge remote-tracking branch 'baidu/develop' into sgd_op_sparse_kernel
7 years ago
qijun
182ce51c6d
add sparse kernel of sgd operator
7 years ago
zchen0211
98dccc9f21
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Qiao Longfei
46f7854e5c
fix mac compile ( #4870 )
7 years ago
Qiao Longfei
df0946ebe2
Impl optimizer ( #4734 )
...
* init parameter base class
* optimize the Comments of optimizer
* basic implimentation of optimizer
* add test_optimizer
* add no_grad_set to interface
* update optimizer.py
* python code can run
* fix some problem
* add sync_with_cpp to Python Program and Block
* sync vars and ops in block from cpp
* optimize code and add some comment
* add more check for sync
* update optimizer with return value of Backward
* rm unused code
* infer shape when create gradient vairiable
* update test_optimizer
* update test_program.py
* update backward test
* follow comment
7 years ago
zchen0211
451863dba2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Luo Tao
426f7eee8e
simplify test_pool_py, add comments for different pooling strategy
7 years ago
tensor-tang
60b84856e7
refine the conf files, combine in one file
7 years ago
Luo Tao
2c1b35caaa
Merge branch 'develop' into maxseq
7 years ago
Luo Tao
a8a63d4c50
add MAX strategy for seqpool op
7 years ago
caoying03
3123e3cf5d
Merge branch 'develop' into crf
7 years ago
tensor-tang
b487c62aac
Merge remote-tracking branch 'upstream/develop' into merge_grad_gtest
7 years ago
tensor-tang
2dc6cea65c
add unit tests for mkldnn branches, and fix typo
7 years ago
Yu Yang
064c3695ec
Make global scope not thread-safe ( #4850 )
...
* Make global scope not thread-safe
1. It is no need to make global scope thread-safe, since it will be
invoked in Python main thread.
2. Do not free the global scope when C++ exit. Let the OS free memories,
otherwise, we need to handle the destroy dependencies.
See
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* Revert "FIX: Release CPU/GPU memory via deleter"
This reverts commit 8f80f5bc79
.
7 years ago
Yang Yang
bdca4b37c4
change api based on design doc
7 years ago
Yang Yang
e0cee58c84
modify protobuf
7 years ago
Yang Yang
cf743ab064
merge develop
7 years ago
Yu Yang
73a8b78a72
Correct OpWithKernel's infershape ( #4847 )
...
They are public now
7 years ago
caoying03
cc220eec36
add forward computation of crf operator.
7 years ago
Qiao Longfei
fafc54d6c0
fix var_type_inference_test ( #4854 )
7 years ago
Yang Yang
f06637002d
simplify executor; pass compile
7 years ago
QI JUN
172e460d50
Merge pull request #4797 from reyoung/feature/implenment_infer_var_type
...
Complete infer_var_type
7 years ago
Qiao Longfei
b10cd43554
rm cpp executor_test, rewrite in python later ( #4849 )
...
* rm cpp executor_test, rewrite in python later
* remove executor_test code in CMakeList.txt
7 years ago
QI JUN
cdc236cb82
Merge pull request #4841 from QiJune/pybind_selected_rows
...
export SelectedRows to Python
7 years ago
qijun
c65bdd9565
fix SelectedRows rows() method gpu runtime error
7 years ago
QI JUN
9fc593603b
Merge pull request #4837 from QiJune/pybind_feed_fetch_method
...
export feed/fetch variable method to Python
7 years ago
Yu Yang
75d0c79015
Change Name convention of operator attributes ( #4807 )
...
* Change dataType to data_type
Follow PEP8
* Change name_convention to fit PEP8
7 years ago
Yu Yang
186d165565
AttributeChecker Better error log and speicalize bool ( #4840 )
...
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* add FIXME comment
7 years ago
qijun
97069927c9
Merge remote-tracking branch 'baidu/develop' into pybind_selected_rows
7 years ago
QI JUN
259f07b33c
Merge pull request #4844 from QiJune/remove_OpRegistrar
...
remove unused C++ class OpRegistrar
7 years ago
QI JUN
86acf39cce
Merge pull request #4801 from QiJune/add_selected_rows_functor
...
add some basic math functor for SelectedRows
7 years ago
qijun
eb27c735cb
remove unused C++ class OpRegistrar
7 years ago
Yang Yang
865c2c8ed8
add compile DEPS
7 years ago
qijun
219f46ae16
export SelectedRows to Python
7 years ago
Yang Yang
a64a6f527b
id to block_id
7 years ago
Dong Zhihong
23cb8259c3
"add python test case"
7 years ago
qijun
5fe3f8f630
refine code
7 years ago
qijun
701c90f6f7
remove unused header file
7 years ago
Yang Yang
7c48335b7c
merge fix linking
7 years ago
qijun
c87e060c18
export feed/fetch method to Python
7 years ago
Yang Yang
eb187366f4
merge develop
7 years ago
qijun
517e3c7947
Merge remote-tracking branch 'baidu/develop' into pybind_feed_fetch_method
7 years ago
qijun
5993497cb7
fix merge conflict
7 years ago
Yu Yang
4df6cf4d16
Rewrite feed/fetch op ( #4815 )
...
* Feed/Fetch op just plain operator, not a OpWithKernel
* Do not register OpInfoMaker since Feed/Fetch will never be
configured by users
* Feed/Fetch op has empty gradient
* Feed/Fetch op do not hard code `feed_variable`, `fetch_variable` as
its input and output, make it as a plain Operator input/output
7 years ago
qijun
571f43ca39
Merge remote-tracking branch 'baidu/develop' into add_selected_rows_functor
7 years ago
tensor-tang
1199aa6876
fix bug: clear grad and always share data when output has cpu
...
and add activation in unit tests
7 years ago
Luo Tao
6a4282a20f
refine comments of sequence_pool_op
7 years ago
Luo Tao
216b81ace7
Merge branch 'develop' into seqpool
7 years ago
武毅
4da6e86ff7
make listen queue configurable ( #4659 )
7 years ago
武毅
0c72649afc
Fix gometalinter versioning ( #4832 )
...
* fix gometalinter versioning
* stop gometalinter
7 years ago
qijun
0d7b1fd4fe
fix bug in SelectedRowsAddTensorKernel
7 years ago
qijun
ab5dc9fe18
remove SelectedRows functors to selected_rows_functor.h
7 years ago
Luo Tao
97332d7c0c
Merge branch 'develop' into seqpool
7 years ago
tensor-tang
dee7f81325
add finish work of mkldnn
7 years ago
dangqingqing
83627d3efd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm
7 years ago
dangqingqing
3cace73701
Add lstm implementation.
7 years ago
qijun
7c0facd195
init
7 years ago
chengxingyi
60c2536d22
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
fengjiayi
44ed21eea5
Refine backward unit tests ( #4817 )
7 years ago
Dong Zhihong
73883bde2a
"fix error"
7 years ago
Dong Zhihong
d4d215a514
Merge remote-tracking branch 'origin/develop' into multigpu
7 years ago
Dong Zhihong
5bcb63800e
"fix common test"
7 years ago
Dong Zhihong
d8aebaf50c
"fix enforce error"
7 years ago
fengjiayi
6729f32c74
Expose Executor to Python ( #4804 )
...
* Expose Executor to Python
* Follow comments
7 years ago
Qiao Longfei
a4b172252b
Merge pull request #4809 from jacquesqiao/backward-return-map
...
Backward return map
7 years ago
Tao Luo
17b4cea49e
Merge pull request #4759 from tensor-tang/merge_grad
...
Merge mkldnn output grad
7 years ago
qiaolongfei
2befb9f972
optimizer backward CreateGradVarInBlock input output order
7 years ago
Dong Zhihong
54793e3588
Merge remote-tracking branch 'origin/develop' into fix/scope
7 years ago
qiaolongfei
9a0ef7d2aa
append_backward return map to python
7 years ago
Dong Zhihong
d2be7ec370
Merge remote-tracking branch 'origin/develop' into multigpu
7 years ago
qijun
89758adb83
fix code style
7 years ago
Yu Yang
ec783d6b58
Feature/backward return map ( #4806 )
...
* Final step of backward, return a map from param_name to grad
* Complete the final step of backward
Return the param_name to grad_info
7 years ago
qijun
7ef568e893
fix gpu unittest error
7 years ago
Dong Zhihong
5bd14f6edb
Merge remote-tracking branch 'origin/develop' into fix/scope
7 years ago
Qiao Longfei
d7383c6dd0
create grad_var when run Backward pass ( #4796 )
...
* add target to Backward, generate var in block when call backward
* modify backward_test
* fix executor_test
* set var desc default type to LOD_TENSOR
* update backward_test
* insert loss in the top level of backward
* create grad vars for all blocks in current program
* optimize code
* update test_program.py
* only create var for newly create blocks when backward
7 years ago
Dong Zhihong
d4231b3513
"fix unique_ptr error"
7 years ago
qijun
4130e5faf8
Merge remote-tracking branch 'baidu/develop' into add_selected_rows_functor
7 years ago
qijun
f59a7c1d36
add gpu functor for SelectedRows
7 years ago
Dong Zhihong
ec11514027
"fix findVar logic"
7 years ago
Yu Yang
29819ba764
Fix unittest
7 years ago
Yu Yang
acc54c7ba7
Merge branch 'develop' of github.com:baidu/Paddle into feature/implenment_infer_var_type
7 years ago
Dong Zhihong
b3df1f4a49
"fix tests"
7 years ago
Dong Zhihong
2434b8f5fb
" add interface to scopeDesc bind"
7 years ago
Dong Zhihong
3f4177ea8d
Merge branch 'develop' into fix/scope
7 years ago
Dong Zhihong
54d3dbd8c9
"add enforce check"
7 years ago
chengduoZH
24a796fbc0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Add_conv3d_gemm_op
7 years ago
qijun
4741266d6f
remove unused method
7 years ago
qijun
931572e210
SelectedRowsAddTensor method
7 years ago
Dong Zhihong
d144310415
"nccl add interface"
7 years ago
fengjiayi
5d9ce04625
Debug string for Python ProtoBuf ( #4800 )
...
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
7 years ago
fengjiayi
2c46666e7b
Add grad_name_map to record correspondences between vars and grad_vars ( #4794 )
...
* Add grad_name_map
* Fix bug
* Fix bug
* Follow comments
7 years ago
qijun
7b18343305
remove unused header file
7 years ago
qijun
5be10872f9
add selected_rows add cpu functor
7 years ago
Yu Yang
a96372b108
Merge branch 'develop' of github.com:baidu/Paddle into feature/implenment_infer_var_type
7 years ago
Yu Yang
1b1cb44f13
Complete infer_var_type
7 years ago
zchen0211
652f182dc0
deconv
7 years ago
QI JUN
9165235a9e
Merge pull request #4782 from QiJune/selected_rows
...
add selected rows
7 years ago
zchen0211
da399ae6b1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Yu Yang
d17eb73e9f
Update VarDesc from design doc ( #4769 )
...
* Update VarDesc from design doc
* Fix GCC compile
* Fix unittest
7 years ago
Yu Yang
9a6dffd4d9
Fix CPU compile ( #4781 )
7 years ago
tensor-tang
7a7c8fd9e5
simplify some comments and code
7 years ago
Luo Tao
abfa81b106
Merge branch 'develop' into seqpool
7 years ago
Tao Luo
918d69467c
Merge pull request #4791 from typhoonzero/fix_pybind_op_reg_nokernel
...
Fix pybind op register nokernel
7 years ago
Guo Sheng
a0af1eeabf
Merge pull request #4443 from guoshengCS/add-GRUStepOp
...
Add gru_unit_op
7 years ago
chengduoZH
557c7ae37b
remove conflict
7 years ago
typhoonzero
1540703394
fix_pybind_op_reg_nokernel
7 years ago
tensor-tang
59ccb01a00
Merge remote-tracking branch 'upstream/develop' into merge_grad
7 years ago
typhoonzero
13b4749e24
fix_pybind_op_reg_nokernel
7 years ago
tensor-tang
e1954857d7
fix bug: merge grad must before backward act.
...
and add branch net comparing with cpu result
7 years ago
Abhinav Arora
3b954e1ddc
Adding Hard Sigmoid Activation ( #4771 )
...
* Adding Hard Sigmoid Activation
* Adding a comment for slope to be only positive
* Fixing grammatical mistake in comment
7 years ago
Yan Chunwei
1c1f73b46d
Feature/dynamic recurrent op forward test ( #4729 )
7 years ago
qijun
53542d93e5
Merge remote-tracking branch 'baidu/develop' into selected_rows
7 years ago
Luo Tao
4c3ef7fca5
Merge branch 'develop' into seqpool
7 years ago
qijun
c49adb86c6
follow comments
7 years ago
qijun
11e923176e
reset a new tensor in default constructor of SelectedRows
7 years ago
qijun
4b13c80eeb
add selected rows
7 years ago
Yu Yang
a36d24163a
Add no_grad_vars for grad_op_maker ( #4770 )
...
* Add no_grad_vars for grad_op_maker
* Add unittest
* Fix unittest
* Fix unittest
* Follow comment
7 years ago
Yu Yang
4cda9a36a4
Stablize executor_test ( #4774 )
...
Use less GPU memory
7 years ago
Yu Yang
4838ea25d3
Wrong dependency order for op_info and proto_desc ( #4763 )
7 years ago
zchen0211
416f590912
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
Abhinav Arora
116800378a
Adding the Adam Optimizer operator ( #4733 )
...
* add adam op
moment1_out = beta1 * moment1 + (1 − beta1) * grad
moment2_out = beta2 * moment2 + (1 − beta2) * grad * grad
moment1_hat = moment1_out / (1 - beta1^t)
moment2_hat = moment2_out / (1 - beta2^t)
param_out = param - learning_rate * moment1_hat / (sqrt(moment2_hat) +
epsilon)
* fix moment 2
* Adding the Adam optimization operator
* Adding more tests for Adam op
7 years ago
dongzhihong
7da9ab3c6c
Merge remote-tracking branch 'origin/develop' into fix/scope
7 years ago
Qiao Longfei
7460958143
Merge pull request #4764 from jacquesqiao/remove-infer-todo
...
remove unused todo in shape_inference.h
7 years ago
fengjiayi
be85516318
Remove attribute check from CreateGradOpDescs() ( #4723 )
...
* Remove attr_checker from CreateGradOpDescs()
* Fix merge error
* Fix bug in backward_test.cc
7 years ago
qiaolongfei
9ddedeee06
remove unused todo in shape_inference.h
7 years ago
dongzhihong
ff0e9d2207
Merge remote-tracking branch 'origin/develop' into fix/scope
7 years ago
fengjiayi
1a87a963e1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_opdesc_in_python
7 years ago
chengxingyi
dd4f95f6c4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
7 years ago
chengxingyi
7f0c823093
lambda cost bug's fix
7 years ago
tensor-tang
698071cc33
share mkldnn output value data if next layer is cpu device
7 years ago
guosheng
71abb4ceb1
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-NormOp
7 years ago
guosheng
ae1b29ac7e
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUStepOp
7 years ago
caoying03
cbcf11d930
Merge branch 'develop' into crf
7 years ago
Luo Tao
393c748c89
add seqlastin/seqfirstin for seq_pool op
7 years ago
chengduoZH
4aae1fff78
fix conv3d_gemm, unit test and follow comments
7 years ago
guosheng
d0d3129f91
Fix InferShapeContext in decayed_adagrad_op
7 years ago
guosheng
9b4a6af251
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUStepOp
7 years ago
guosheng
0bc5a122d4
Refine gru_unit_op by optional bias
7 years ago
guosheng
1cabdb8708
Refine gru_unit_op according to comments to support multiple activation types
7 years ago
kexinzhao
d3b8bffaf1
Implementing the Decayed Adagrad optimizer operator ( #4645 )
...
* Implementing the DecayedAdagrad optimizer step operator
* implementing DecayedAdagrad operator
* remove file
* small fix
7 years ago
Luo Tao
e69a565a5b
Merge branch 'develop' into seqpool
7 years ago
Yu Yang
2daba04042
Merge pull request #4731 from reyoung/feature/fix_ci
...
Feature/fix ci
7 years ago
武毅
a3ccbdb3b6
Cudnn conv op ( #4195 )
...
* add cudnn_conv_op
* WIP
* update
* update
* fix grad check
* use platform::memory
* add support group for cudnn
* update
* follow comments
* fix onlycpu build
* update cuda define
* follow comments
* follow comments
* merge with updates
* fix compile error
* follow comments
* follow comments
7 years ago
dzhwinter
4118782b31
Merge remote-tracking branch 'origin/develop' into multigpu
7 years ago
dzhwinter
0fa34db759
nccl init
7 years ago
dangqingqing
9106a4bba1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm
7 years ago
dangqingqing
8728b3cce2
Add LSTM Operators.
7 years ago
caoying03
91cc5d6208
add the forward operator.
7 years ago
caoying03
515981d714
Merge branch 'develop' into crf
7 years ago
caoying03
d92c671d5f
add python forward unittest.
7 years ago
dongzhihong
35308d3662
"change NewVar to Var"
7 years ago
tensor-tang
6715beaace
enable merge output grad of mkldnn
7 years ago
Yang Yang
58b8a1ae4c
prune link fail
7 years ago
dongzhihong
4b6b4bc84a
"change GetOrCreate to Var"
7 years ago
zchen0211
1dd6dbbce2
deconv
7 years ago
Yang Yang
fc96463b25
pass multiple target
7 years ago
Yang Yang
fd72e9c751
pass multiple unit test
7 years ago
dongzhihong
848febbe96
"fix typo"
7 years ago
Yang Yang
a31ff363fd
prune pass dummy test
7 years ago
fengjiayi
458a2da3cf
Merge branch 'fix_bugs' into dev_opdesc_in_python
7 years ago
fengjiayi
2434e4862a
Fix bugs
7 years ago
Yu Yang
eb33d53732
Merge remote-tracking branch 'pr/4730' into feature/fix_ci
7 years ago
Yu Yang
f4ec8bdb4d
Merge remote-tracking branch 'pr/4721' into feature/fix_ci
7 years ago
qijun
f4b32673ca
correct op deps in executor_test
7 years ago
fengjiayi
752bab2719
Fix bugs
7 years ago
Helin Wang
65b8861cde
Try to fix error: cannot allocate memory in static TLS block
...
ImportError: /usr/local/lib/python2.7/dist-packages/py_paddle/_swig_paddle.so: cannot allocate memory in static TLS block
7 years ago
qijun
a4687c9909
fix conflict of CopyFrom in vol2ol_test
7 years ago
dongzhihong
5d6a3eee5b
new_var to get_or_create
7 years ago
dongzhihong
0af45b5fa6
NewVar to GetOrCreateVar
7 years ago
Abhinav Arora
b504a2346c
Adding the Thresholded Relu Op ( #4685 )
...
* Adding thresholded_relu op
* Adding test for thresholded relu op
7 years ago
QI JUN
2603cb7e86
Unify CUDA stream in Tensor CopyFrom interface ( #4692 )
...
* init
* unify CopyFrom interface
* fix gpu build error
* fix bug in tensor_py.h
* refine code comments and add TODO list
* fix conflicts in FeedOp and FetchOp
7 years ago
qijun
8e7975da3f
move GLOB_OP_LIB deps to executor_test
7 years ago
fengjiayi
bf26cc5307
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_opdesc_in_python
7 years ago
qijun
ccea4c5772
debug executor_test
7 years ago
fengjiayi
d92f8de431
Merge pull request #4702 from Canpio/fix_expose_checker_to_python
...
Explose check_attr to Python
7 years ago
Qiao Longfei
5e9d43995b
Merge pull request #4699 from jacquesqiao/expose-backward
...
expose AppendBackward of ProgramDesc to python
7 years ago
wanghaoshuang
f984cba0ca
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
7 years ago
wanghaoshuang
acd1aaea49
fix issues
7 years ago
guosheng
0922fca41e
Add gru_unit_op
7 years ago
wanghaoshuang
901b041196
Add seq_expand op
...
1. Add unitest
2. Add SeqExpandOpKernel
7 years ago
Cao Ying
e9495e7694
Merge pull request #4508 from Yancey1989/seqconcat_op
...
Add the sequence_concat operator.
7 years ago
Tao Luo
4b1f70d99a
Merge pull request #4716 from luotao1/bug
...
fix executor_test build failed
7 years ago
Yibing Liu
b56cbd307d
Merge pull request #4285 from kuke/margin_rank_loss_op_dev
...
Add margin rank loss operator
7 years ago
Yancey1989
d68122ff5d
update
7 years ago
Yancey1989
69e92b39fc
add an enforce
7 years ago