Yu Yang
1363ddb6d7
Feature/executor use program bind ( #5196 )
...
* 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.
8 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
8 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
8 years ago
Yu Yang
2296d81cf9
Use `type_defs.h` to resolve cyclic dependencies
8 years ago
Qiao Longfei
9a9d50a6ee
Refactoring InferShape ( #3946 )
...
* init Infershape
* add static InferShape interface
* refactor add-op infershape
* add AttrReader
* add all maker's infershape
* add all InferShape
* add python infer api
* add VarDesc interface
* add python VarDesc and OpDesc interface
* update python code
* use infershape function to do shape inference
* clean code
* do not use pointer
* refine code of op_proto_maker
* add get_dims to VarDesc
* refine the code
* remove the dependency from operator to op registry
* remove OpProtoAndCheckerMaker from operator
* restore complete_add_op
* add shape_infer_impl.h
* code optimization
* remove const return value
* add fake BlockDesc class
* optimize code
* remove infer function in op_info
* move InferShapeContextImpl to operator.h
* optimize the interface of InferShapeContextBase
* add temperary interface of new infershape
* change add_op, clip_op, conv2d_op and activation_op
* change all operators InferShape
* fix SetDim
* update cos_sim_op
* update crop_op
* update lookup_table_op
* allocate tensor when call GetDim in InferShapeContext
* update modified_huber_loss_op
* update rowwise_add_op
* update mean_op
* update sequence_avg_pool_op
* typo
* remove old InferShape interface
* can compile
* fix or unit test
* clean code
* clean code
* remove const before InferShapeContext
* change InferenceContextBase to pointer
* rename RunTime to Runtime, code clean
8 years ago
Yu Yang
f4832fe0b4
Remove IntPair type in attribute
8 years ago
Yu Yang
057e810286
Simplify GetAttrType code
8 years ago
dangqingqing
58e3ad0a70
Fix conflicts.
8 years ago
fengjiayi
a77af98bfa
Fix bug of static variable
8 years ago
fengjiayi
4b948abbf0
Update Attribute to make it compatible with BLOCK
8 years ago
dangqingqing
fad48fa6b1
Add bool type for attr.
8 years ago
fengjiayi
b7444306ba
Follow comments
8 years ago
fengjiayi
d7c8bdc83e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_axis
8 years ago
fengjiayi
1f0341e19e
Rename `LargerThan` to `GreaterThan`
8 years ago
fengjiayi
823bdd670f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_axis
8 years ago
fengjiayi
f2a66ffabb
Follow comments
8 years ago
wanghaoshuang
e687f3f540
Make attribute support for std::vector<std::pair<int, int>>
8 years ago
fengjiayi
e76fa85cc8
WIP
8 years ago
Yu Yang
7fab7ddd7d
Merge branch 'develop' of github.com:baidu/Paddle into feature/refactorize_framework_proto
8 years ago
Yu Yang
2df628af88
Fix the bug between nvcc and boost
...
Fix #3386
8 years ago
Yu Yang
7e830116a7
Try make pass
8 years ago
Yi Wang
5ae7a5f111
cpplint attribute.h
8 years ago
Yi Wang
8740276d89
Fix pybind and const type mismatch
8 years ago