caoying03
6497bff901
add python wrapper for l2 normalize.
7 years ago
Luo Tao
761b329793
unify the indentation of license
7 years ago
Yu Yang
e445b3ff20
Move framework.proto to proto namespace ( #6718 )
...
* Move framework.proto to proto namespace
* Fix compile
* Fix compile
* Fix Compile
7 years ago
QI JUN
61ec0b9516
Refine device context ( #6433 )
...
There are mainly following fixes:
- take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
- remove `eigen_device` interface in base class `DeviceContext`
- remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
- remove unused `platform::EigenDeviceConverter`
- rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
- rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
7 years ago
kexinzhao
94a36b8cc7
fix clip op doc operation ( #6314 )
7 years ago
kavyasrinet
30a85204b4
Adding the doc format for AdaDelta, AdaMax, Adam, AdaGrad, BatchNorm, Clip, Cast and AUC ( #5317 )
...
* Adding the doc format for AdaDelta
* Updating the documentation for Adagrad, Adam and Adamax
* Updating the auc op
* Fix review comments
* Updating doc for Batch Norm
* Updating the cast op
* Updating the clip op
* Fixing review comment
* Fixing review comment:
* Small change to restart PR_CI
8 years ago
Qiao Longfei
54ffafa123
use context to get attribute ( #4997 )
8 years ago
Yu Yang
73a8b78a72
Correct OpWithKernel's infershape ( #4847 )
...
They are public now
8 years ago
qiaolongfei
c0a34e1c64
rename InferShapeContextBase to InferShapeContext
8 years ago
wanghaoshuang
1ad4efa8de
Fix comments
8 years ago
wanghaoshuang
6da5670f62
revert deleting ShareLoD
8 years ago
wanghaoshuang
028973815b
Fix InferShape of clip op.
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
dangqingqing
6e2782e958
update to develop branch.
8 years ago
wanghaoshuang
1fdad1a60a
Update transform invocation
8 years ago
wanghaoshuang
2cde56c5a5
Use Transform instead of eigen
8 years ago
wanghaoshuang
743dfd82e7
Add nullptr check
8 years ago
wanghaoshuang
a345b7195e
1. Add CUDA stream when launching kernel.
...
2. Fix unitest.
3. Fix comments and some issues.
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into clip_op
8 years ago
wanghaoshuang
6e964ad5cb
Fix issues
8 years ago
wanghaoshuang
987cdf1168
Add clip op
8 years ago