Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecurrentOp implementation #2890

Merged
merged 128 commits into from
Jul 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
c418dac
add rnn op interfaces
Superjomn Jul 7, 2017
6042795
add Run
Superjomn Jul 7, 2017
13d8ca9
rename state -> memory
Superjomn Jul 7, 2017
a645ae6
change state -> memory
Superjomn Jul 7, 2017
8640f96
make compilable
Superjomn Jul 8, 2017
d4cde51
add .cc
Superjomn Jul 8, 2017
6e99289
init test
Superjomn Jul 8, 2017
63b5841
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 8, 2017
08f69f6
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl
Superjomn Jul 10, 2017
007ca1e
add op fake implementation
Superjomn Jul 10, 2017
2538b2f
add CreateStepNet and CreateScopes implementation.
qingqing01 Jul 10, 2017
5eb87f0
add TODO list
luotao1 Jul 10, 2017
4dcb02e
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 10, 2017
ca53f3a
init memory attributes.
qingqing01 Jul 10, 2017
671cc26
Merge branch 'rnnimpl' of https://github.com/Superjom/Paddle into fea…
qingqing01 Jul 10, 2017
1e48cc8
add LinkMemories
Superjomn Jul 10, 2017
e0cbcd0
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 10, 2017
f7916a6
add PlainNet fake implementation
Superjomn Jul 10, 2017
089c448
Use std::shared_ptr<Scope> in the OpRunContext.
qingqing01 Jul 10, 2017
bffd11e
add test
Superjomn Jul 10, 2017
c7947de
disable mutable_data
Superjomn Jul 10, 2017
94766b6
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 10, 2017
6dca711
finist segmentInput function
luotao1 Jul 10, 2017
eabf1bf
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl
Superjomn Jul 11, 2017
d210b0b
enable mutable_data with a trick
Superjomn Jul 11, 2017
6674fee
RNNOp test.
qingqing01 Jul 11, 2017
778ebb4
enable LinkMemories with mutable_data
Superjomn Jul 11, 2017
c60ed35
update
qingqing01 Jul 11, 2017
8642b27
update SegmentInput function with comments
luotao1 Jul 11, 2017
b0938ed
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl
Superjomn Jul 11, 2017
3921fbb
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 11, 2017
244fe51
create rnn op and step net in unit test.
qingqing01 Jul 11, 2017
020c189
Merge branch 'rnnimpl' of https://github.com/Superjom/Paddle into rnn…
luotao1 Jul 11, 2017
8e70b37
finish ConcatOutput function
luotao1 Jul 11, 2017
4150fa7
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 12, 2017
1584414
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl
Superjomn Jul 12, 2017
ce802c0
reformat inputs and attributes
Superjomn Jul 12, 2017
a883b4c
Refine unit test.
qingqing01 Jul 12, 2017
b98cae4
Merge branch 'rnnimpl' of https://github.com/Superjom/Paddle into fea…
qingqing01 Jul 12, 2017
a81be58
Refine unit test.
qingqing01 Jul 12, 2017
acde9b7
modify inlinks.
qingqing01 Jul 12, 2017
638384e
update from develop branch.
qingqing01 Jul 12, 2017
82464f5
add OpDesc to Net
Superjomn Jul 12, 2017
bbcc149
Merge branch 'netimpl' into rnnimpl
Superjomn Jul 12, 2017
c92ce74
Merge branch 'develop' into rnnimpl
luotao1 Jul 12, 2017
5c5d890
fix bug and update unit test.
qingqing01 Jul 12, 2017
522445b
resolve conflict.
qingqing01 Jul 12, 2017
01f20be
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 12, 2017
08003de
Merge branch 'rnnimpl' of github.com:Superjom/Paddle into rnnimpl
Superjomn Jul 12, 2017
a6483e8
move step scopes from inputs to outputs
Superjomn Jul 12, 2017
7b1d123
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 12, 2017
bcd03bf
fix merge conflict, update SegmentInput function
luotao1 Jul 13, 2017
de319bb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 14, 2017
0a4a502
Merge branch 'develop' into rnnimpl
luotao1 Jul 14, 2017
e64b5d3
add RecurrentOpProtoAndCheckerMaker.
qingqing01 Jul 14, 2017
e700bf6
Merge branch 'rnnimpl' of https://github.com/Superjom/Paddle into fea…
qingqing01 Jul 14, 2017
f525390
clean the codes
luotao1 Jul 14, 2017
3a27b02
Abstract GetStepScopes and GetMaxSeqLen function
luotao1 Jul 14, 2017
aede869
refine LinkMemories
luotao1 Jul 14, 2017
45682d2
Refine code and add some comments.
qingqing01 Jul 15, 2017
497c7ff
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 15, 2017
fc5acee
add backward core
Superjomn Jul 15, 2017
14dd843
update for develop branch.
qingqing01 Jul 15, 2017
3c15641
Merge branch 'rnnimpl' of https://github.com/Superjom/Paddle into fea…
qingqing01 Jul 15, 2017
cf6cade
add forward core
Superjomn Jul 16, 2017
1dce687
add forward algorithm
Superjomn Jul 17, 2017
d78a823
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl2
Superjomn Jul 17, 2017
97b3075
Merge branch 'develop' into rnnimpl2
luotao1 Jul 17, 2017
efbf2e1
Add RecurrentGradientAlgorithm implenmention.
qingqing01 Jul 17, 2017
86f9bd2
Merge branch 'rnnimpl2' of https://github.com/Superjom/Paddle into fe…
qingqing01 Jul 17, 2017
8227ef9
use CopyFrom and Slice function in RecurrentOp
luotao1 Jul 17, 2017
87a26bf
add unit test for LinkMemories.
qingqing01 Jul 17, 2017
8c3c85a
Merge branch 'rnnimpl2' of https://github.com/Superjom/Paddle into fe…
qingqing01 Jul 17, 2017
887f7ce
fix unit test.
qingqing01 Jul 18, 2017
9c2ba41
Merge branch 'develop' into rnnimpl2
luotao1 Jul 18, 2017
3e38d52
use the latest tensor.h, solve conflict
luotao1 Jul 18, 2017
89f1de8
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl2
Superjomn Jul 18, 2017
58ef453
Merge branch 'rnnimpl2' of github.com:Superjom/Paddle into rnnimpl2
Superjomn Jul 18, 2017
298cc4c
add maker
Superjomn Jul 18, 2017
5be664c
move SegmentInput and ConcatOutput to details nameplace
luotao1 Jul 18, 2017
5dbf5a6
unit test for RecurrentGradientAlgorithm.
qingqing01 Jul 18, 2017
5bbbf9c
apply OperatorBase
Superjomn Jul 19, 2017
fcdd90b
finish apply OpBase
Superjomn Jul 19, 2017
e7cab04
apply net operator.
qingqing01 Jul 19, 2017
b1d0c64
move memorys to attributes
Superjomn Jul 19, 2017
c4636c4
add RecurrentGradientOp
Superjomn Jul 19, 2017
9266a1b
update to develop branch.
qingqing01 Jul 19, 2017
638cbc8
Merge branch 'rnnimpl2' of https://github.com/Superjom/Paddle into fe…
qingqing01 Jul 19, 2017
dfe3dcf
open test unit test in recurrent_network_op_test.
qingqing01 Jul 19, 2017
e0a1db0
revert some files.
qingqing01 Jul 19, 2017
37ec1fd
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl2
Superjomn Jul 19, 2017
f1706c2
Merge branch 'rnnimpl2' of github.com:Superjom/Paddle into rnnimpl2
Superjomn Jul 19, 2017
d2f67d7
add RecurrentArgument and Link struct to simplify member variable.
qingqing01 Jul 19, 2017
3f58ac1
Merge branch 'rnnimpl2' of https://github.com/Superjom/Paddle into fe…
qingqing01 Jul 19, 2017
d23d7f3
rename.
qingqing01 Jul 19, 2017
7dbc23f
move recurrent_op from framework to operators
Superjomn Jul 19, 2017
904ce85
add RecurrentGradientOp Init
Superjomn Jul 19, 2017
45afccc
fix name
Superjomn Jul 19, 2017
3b33041
fix Link.interal/external name
Superjomn Jul 19, 2017
fe5c5d4
use namespace operators instead of framework
qingqing01 Jul 19, 2017
35d3c47
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl2
Superjomn Jul 20, 2017
3803824
Merge branch 'rnnimpl2' of github.com:Superjom/Paddle into rnnimpl2
Superjomn Jul 20, 2017
f6ecb31
update to develop branch.
qingqing01 Jul 20, 2017
74fd16c
Add forward InferShape.
qingqing01 Jul 20, 2017
633b3aa
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 20, 2017
73e8ac5
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl2
Superjomn Jul 23, 2017
a8021aa
clean the code
luotao1 Jul 24, 2017
0c37e44
Merge branch 'develop' into rnnimpl2
luotao1 Jul 24, 2017
d1d0942
use the latest add_op and mul_op, don't test backward now
luotao1 Jul 24, 2017
26a81a1
Merge branch 'develop' into rnnimpl2
luotao1 Jul 25, 2017
b493909
Remove ScopePtr and OperatorPtr
luotao1 Jul 25, 2017
6f1308f
Merge branch 'develop' into rnnimpl2
luotao1 Jul 25, 2017
7778093
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 25, 2017
ba95752
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into rnnimpl2
Superjomn Jul 26, 2017
139cdcd
add get_net to pybind
Superjomn Jul 26, 2017
c690ba6
Merge branch 'pybind_add_get_net' into rnnimpl2
Superjomn Jul 26, 2017
c1ad147
add test_recurrent_op.py
Superjomn Jul 26, 2017
5f39e21
update all ops to latest
Superjomn Jul 26, 2017
f8d3d03
add random into gen_tensor
Superjomn Jul 27, 2017
0742b25
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 27, 2017
b62ccb1
Merge branch 'rnnimpl2' of https://github.com/Superjom/Paddle into fe…
qingqing01 Jul 27, 2017
aee4727
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 27, 2017
b9ab68d
update to develop branch and refine some code.
qingqing01 Jul 28, 2017
113612e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 28, 2017
f656353
add some comments.
qingqing01 Jul 28, 2017
45bbde8
Merge branch 'rnnimpl2' of https://github.com/Superjom/Paddle into fe…
qingqing01 Jul 28, 2017
782bc8b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
qingqing01 Jul 28, 2017
32caae8
Merge branch 'rnnimpl2' of github.com:Superjom/Paddle into rnnimpl2
Superjomn Jul 29, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions paddle/operators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ op_library(fc_op SRCS fc_op.cc DEPS mul_op rowwise_add_op sigmoid_op
softmax_op net)

op_library(sgd_op SRCS sgd_op.cc sgd_op.cu)

op_library(recurrent_network_op SRCS recurrent_network_op.cc DEPS op_desc
tensor op_registry operator net)
cc_test(recurrent_network_op_test SRCS recurrent_network_op_test.cc DEPS
recurrent_network_op gtest mul_op add_op)
Loading