emailweixu
8814bec0c5
Show argument dimensions with operator::DebugStringEx ( #7268 )
...
This can make it easier to locate error.
7 years ago
dzhwinter
735eba2976
Feature/operator run place ( #6783 )
...
* "change operator interface"
* "move devicepool to device_context"
* "fix operator test"
* "fix op_registry Run interface"
* "net op passed. Need to fix nccl multi-Context"
* "add nccl group function"
* "add nccl group function"
* "fix gpu count exceed 32 error"
* "fix recurrent op, nccl op"
* "change the other operators interface with Place"
* "fix typo"
* "fix pybind"
* "fix device in python side"
* "fix pybind failed"
* "add init for test"
* "fix CI"
7 years ago
Yiqun Liu
9592468609
Fix gcc4.9 ( #6442 )
...
* Fix compiling error of gcc4.9.
* Refine the check of cxx compiler flags in api/CMakeLists.txt.
7 years ago
Yu Yang
dcb09e932d
Use PROTO_LITE when refactoring Paddle
...
It will significantly reduce binary size. It is useful for mobile
deployment.
8 years ago
Yu Yang
6196209478
Remove OperatorBase::InferShape
...
InferShape in Operator should be performed in OperatorBase::Run.
* cond_op, recurrent_op and mnist might be changed in following PR
8 years ago
Yu Yang
3a6f20025a
Merge branch 'develop' into feature/extract_op_info_into_op_info.cc
8 years ago
Yu Yang
59b3df31aa
Extract OpInfo into a library
...
Fix cycle dependencies, Fix #3583 .
8 years ago
Yu Yang
f1e5533541
Rename `Net::AddOp` to `Net::AppendOp`
...
Fix #3582
8 years ago
Yu Yang
1365f2d15e
Remove R-Value reference in AddOp
...
Fit Google C++ Style
8 years ago
Yu Yang
225579b9d9
Remove own for add_op
...
* add_op could take a unique_ptr or a const reference. If unique_ptr is
taken, the NetOp will take care of that operator's life cycle. If a
const reference is taken, that op will be Cloned.
8 years ago
Yu Yang
f15e083098
Remove std::shared_ptr in Python & C++
...
* Also simplify pybind implementation by using OperatorBase as holder
type.
8 years ago
Yu Yang
8c653ba76a
Complete remove std::shared_ptr
8 years ago
Yu Yang
1425387570
Using unique_ptr instead of raw ptr
...
Fit google C++ style
8 years ago
Yu Yang
29d892c13c
Add Clone Method For OperatorBase
...
* Clone method will create a new object instance, which is as same as
itself.
* This is the first step to remove shared_ptr for OperatorBase
8 years ago
Yu Yang
11c35605fc
Remove empty constructor for operator
8 years ago
Yu Yang
0b1052fca5
Get `DEFINE_OPERATOR_CTOR` Back to code
8 years ago
Yu Yang
78af6e6011
Add OutputVars method to get all outputs or outputs without intermediate
8 years ago
Yi Wang
9544068543
Resovle conflicts manually
8 years ago
dzhwinter
91e8aadaef
Merge branch 'develop' into type_alias
8 years ago
Qiao Longfei
e31a469ee0
add gradient test framework ( #3226 )
...
* init grad op checker
* can run
* add GradeChecker class
* use get_numeric_gradient
* refine code
* add softmax and cross entropy auto grad test
* use close to judge op_grad and numeric_grad
* add cpu and gpu compare
* add comments
* add support_gpu
* fix allclose
* fix name error and symplify code
* optimize gradient checker
* add test_cross_entropy_op
* update gradient_checker.py
* optimize code
* use random.uniform instead of random.random
* fix type bug
* optimize check_grad
* put SupportGPU into OperatorBase
* typo
8 years ago
dongzhihong
b32fcf2854
merge origin/develop
8 years ago
Yu Yang
7e830116a7
Try make pass
8 years ago
Yan Chunwei
2af35002f7
fix some enforce ( #3301 )
...
* fix some enforce
* remove compatible_type to avoid compile error
* remove shared_ptr
* fix tensor error msg
8 years ago
dongzhihong
9e25988f73
"net op alias"
8 years ago
Yi Wang
9620df4464
Reformat paddle/operators/* strictly following Google Style Guide
8 years ago
Yan Chunwei
0bd49a50ce
move net_op to operators/ ( #3201 )
...
* move net_op to operators
8 years ago