Superjom (Chunwei Yan)
06156daa28
net design with NetBuilder ( #2598 )
...
* move net_design to framework
* change CreateNet result to unique_ptr
* rename "ScratchNet" -> "PlainNet"
* add three methods to NetBase
* add NetBuilder
* add InferShape to NetBuilder.Run
* rename ApplyGradient, ApplyOptimizer -> AddGradientOps, AddOptimiz
* rename PlainNet::CreateNet -> BuildNet
* add Error and other rename actions
8 years ago
dongzhihong
9f365d3636
"add net proto"
8 years ago
dongzhihong
aadbd49814
Merge remote-tracking branch 'origin/develop' into network
8 years ago
Yu Yang
80f8e24209
Merge pull request #2703 from reyoung/feature/op_proto
...
Add OpProto implementation
8 years ago
Yu Yang
3f63d96abe
Fix link error in op_proto_test.
8 years ago
fengjiayi
e48e21da2b
remove unnecessary include
8 years ago
fengjiayi
2d1f95de87
fix a compile error
8 years ago
fengjiayi
d054a5eef8
re-submit
8 years ago
fengjiayi
e146fe836b
fix compile errors and add assert test
8 years ago
Yu Yang
9bf9816828
Add OpProto unittest.
8 years ago
Yu Yang
bdd2720877
Add OpProto implementation
...
OpProto is a proto message that helps 3rd-party language bindings, e.g.
`Python`, to generate operator creation methods. The operator creation
method is the low-level API for 3rd-party language bindings. Op creation
methods take the user's input in that language, and convert users inputs
into `OpDesc` message, then passing that `OpDesc` message to Paddle's
C++ core and create an operator.
* A separated `attr_type.proto` is added, because that file wound
be included by `op_desc.proto` in future.
8 years ago
fengjiayi
9f408dfb1b
fix some compile error
8 years ago
fengjiayi
696ba1d2e1
init tensor_test.cc
8 years ago
Superjom
40573cd56f
add net headers
8 years ago
fengjiayi
bad85f94c3
Merge pull request #2611 from wangkuiyi/tensor
...
Add tensor.h
8 years ago
qiaolongfei
9af54c9ee9
do not use default argument in Scope
8 years ago
qiaolongfei
cfdfa89bdd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into scope-impl
8 years ago
qiaolongfei
aabe171566
merge CreateVar and GetOrCreateVar
8 years ago
Yu Yang
f0a3fb6e36
Using paddle::string in enforce
8 years ago
qiaolongfei
1678ad7b30
add Create for scope
8 years ago
qiaolongfei
b8ffa8b9e9
move code to scope.h, remove scope.cc
8 years ago
qiaolongfei
3e16f5fdfb
clang format
8 years ago
qiaolongfei
6ad1d21c4b
refine code of operator
8 years ago
Yi Wang
c263c21f7e
Update copyright informaiton
8 years ago
Yi Wang
2c188a20de
Follow QingQing's suggestion
8 years ago
qiaolongfei
7d138593d2
refine code of scope with style check
8 years ago
qiaolongfei
fa4f00d9b5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into scope-impl
8 years ago
qiaolongfei
5e8d8e073b
refine GetOrCreateVariable
8 years ago
qiaolongfei
2f47562df8
scope-impl
8 years ago
Yu Yang
5b31bd7ae3
Add `Variable::IsType`
...
Make user can check what type is in variable
8 years ago
Yi Wang
e2e0fbd418
Add tesnor.h
8 years ago
Yi Wang
bd4559abbe
Add design doc
8 years ago
Yi Wang
ac28fad6f3
Add type assertion in Variable::Get
8 years ago
Yi Wang
58efbf41b3
Follow comments from Xu Wei
8 years ago
Yi Wang
5a22d73651
Add variable.h and test
8 years ago
Yi Wang
8913aff194
Make paddle/framework buildable and passed
8 years ago
Yi Wang
d03159be09
Use Google Style in new directories
8 years ago
Yi Wang
bb88202879
Move paddle/majel/* to paddle/platform/ and paddle/framework/
8 years ago