QI JUN
9903e49f94
add test_fit_a_line ( #4936 )
...
* add test_fit_a_line
* Update
* fix persistable bug
* fix elementwise add bug
* set correct attr for bias op in fc layer
* set correct attr for bias op in fc layer
* Update
1. Add init_program to hold initializers
2. bug fix
* add test_fit_a_line
* fix persistable bug
* fix elementwise add bug
* fix type
* add gitignore
* Complete fit_a_line test
* revert code
* Clean up
* Revert "revert code"
This reverts commit eb1aa015cda4fc12b6dc778ada6c3507b98134f5.
* Refine
* Fix unit test
8 years ago
QI JUN
92369177ad
Merge pull request #4941 from QiJune/fix_elementwis_add_bug
...
fix elementwise add bug
8 years ago
zchen0211
7eeaae1695
deconv
8 years ago
Yu Yang
42f2dd4041
Unify `set_feed_variable` to one method ( #4949 )
8 years ago
qijun
9e6404441c
fix elementwise add bug
8 years ago
fengjiayi
1f1be6c97a
Test recognize_digits_conv ( #4926 )
...
* Init
* unify layer names
* Update
* Add pool2d layer
* Test recognize_digits_conv
* Clean up
8 years ago
Abhinav Arora
77cac5cdb8
Removing updates of Beta1 power accumulators outside the op ( #4931 )
8 years ago
Abhinav Arora
11bebeb2dc
Removing updates of Beta1 and Beta2 power accumulators outside the op ( #4925 )
8 years ago
Yu Yang
3db5278301
Feature/py executor test ( #4922 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Expose get global scope
* Make global scope not thread-safe
1. It is no need to make global scope thread-safe, since it will be
invoked in Python main thread.
2. Do not free the global scope when C++ exit. Let the OS free memories,
otherwise, we need to handle the destroy dependencies.
See
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* Fix
* Implementation of simple conv_2d layer
* Stash
* Remove private data members in OpRegister
* Fix bugs
* Stash
* Expose FeedFetchList as VarType
* Change ProgramDesc not a global variable
* Polish code style
* Stash
* Correct implement BlockDesc destructor
* Correct implement BlockDesc destructor
* Unify program as parameter name
* Fix bugs
* Add unittest
* Fix unit test error
* Remove unused functions
* Add clone for Python Program
* Working on executor
* Stash
* Add glog as dependencies of ops
* Use VLOG to logging some information is helpful when we debug Paddle
* Expose VarDesc::persistable to Python
* Test executor
* Complete unittest
* Polish code
* Fix merge error
* Follow comment
* Polish Python Code
8 years ago
dangqingqing
17e33738f2
Enhance unit testing and fix bug.
8 years ago
wanghaoshuang
74b283c9d6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
8 years ago
dangqingqing
b325213150
update to develop branch.
8 years ago
dangqingqing
d1fbf50b9e
Add unit testing for forwad implementation.
8 years ago
Qiao Longfei
d253df742c
remove Program.instance ( #4915 )
...
* remove Program.instance
* fix test_program.py
8 years ago
Yu Yang
47f773ddb2
Copy Constructor for ProgramDesc ( #4895 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Implementation of simple conv_2d layer
* Fix bugs
* Change ProgramDesc not a global variable
* Polish code style
* Stash
* Correct implement BlockDesc destructor
* Correct implement BlockDesc destructor
* Unify program as parameter name
* Fix bugs
* Add unittest
* Fix unit test error
* Remove unused functions
* Add clone for Python Program
* Compare OpDescBind directly
8 years ago
Yu Yang
f6e1d959d2
Expose VarDesc::persistable to Python ( #4911 )
8 years ago
QI JUN
7ad13fbfe9
Merge pull request #4876 from QiJune/sgd_op_sparse_kernel
...
add sparse update kernel for sgd operator
8 years ago
fengjiayi
c93596d35b
unify layer names ( #4913 )
8 years ago
kavyasrinet
c10b8e808f
Adding Proximal Gradient Descent ( #4848 )
...
* Adding Proximal Gradient Descent
* Fixing review comments
8 years ago
fengjiayi
a204fefe16
Fix several bugs in compile time backward and Protobuf desc ( #4894 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Implementation of simple conv_2d layer
* Fix bugs
* Correct implement BlockDesc destructor
* Fix bugs
* Fix unit test error
* Follow comments
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
fengjiayi
efd009a063
implementation of simple conv2d layer ( #4868 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
* Implementation of simple conv_2d layer
* Fix bugs
* Remove debug code
8 years ago
wanghaoshuang
31531ab581
Add backward kernel
8 years ago
chengduoZH
91db457fc0
follow comments
8 years ago
wanghaoshuang
8de04be786
Fix unitest
8 years ago
dangqingqing
2a8dbd130d
LSTM Operator forward implementation.
8 years ago
chengduoZH
1e60c9b2e8
Add sequence_project_op (use im2col)
8 years ago
wanghaoshuang
555ab3f5af
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
8 years ago
wanghaoshuang
23701ffaf0
Refine op
8 years ago
Markus Kliegl
164898277c
MatMul operator ( #4856 )
...
* initial matmul operator
Similar to np.matmul, but also has transpose_X and transpose_Y flags,
and only supports tensors from rank 1 to 3 inclusive.
For GPU, uses cublas?gemmStridedBatched. For CPU, uses
cblas_?gemm_batch if available via MKL; otherwise a simple serial
implementation that loops over the batch dimension is employed for now.
8 years ago
dzhwinter
fd96914d23
Merge pull request #4571 from sidgoyal78/momentum_op
...
Add momentum operator
8 years ago
qijun
f9681459b2
fix gpu build error
8 years ago
qijun
ab8cc401e6
add sparse sgd operator unittest
8 years ago
Qiao Longfei
df0946ebe2
Impl optimizer ( #4734 )
...
* init parameter base class
* optimize the Comments of optimizer
* basic implimentation of optimizer
* add test_optimizer
* add no_grad_set to interface
* update optimizer.py
* python code can run
* fix some problem
* add sync_with_cpp to Python Program and Block
* sync vars and ops in block from cpp
* optimize code and add some comment
* add more check for sync
* update optimizer with return value of Backward
* rm unused code
* infer shape when create gradient vairiable
* update test_optimizer
* update test_program.py
* update backward test
* follow comment
8 years ago
Luo Tao
06456c5f3b
remove test_check_grad for Max strategy to pass the ci
8 years ago
Luo Tao
426f7eee8e
simplify test_pool_py, add comments for different pooling strategy
8 years ago
Luo Tao
a8a63d4c50
add MAX strategy for seqpool op
8 years ago
caoying03
3123e3cf5d
Merge branch 'develop' into crf
8 years ago
caoying03
cc220eec36
add forward computation of crf operator.
8 years ago
QI JUN
cdc236cb82
Merge pull request #4841 from QiJune/pybind_selected_rows
...
export SelectedRows to Python
8 years ago
Yu Yang
8e52b34a0c
Implement FC layer with helper ( #4726 )
...
* Implement FC layer with helper
* Update LayerHelper
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
* Layer wrapper for FC
* Fix unittest
* Fix CI
* Add code generator
* AttributeChecker Better error log and speicalize bool
Since lots of types can be cast to bool
* Complete mlp, fit_a_line
8 years ago
QI JUN
9fc593603b
Merge pull request #4837 from QiJune/pybind_feed_fetch_method
...
export feed/fetch variable method to Python
8 years ago
Yu Yang
75d0c79015
Change Name convention of operator attributes ( #4807 )
...
* Change dataType to data_type
Follow PEP8
* Change name_convention to fit PEP8
8 years ago
qijun
219f46ae16
export SelectedRows to Python
8 years ago
qijun
c87e060c18
export feed/fetch method to Python
8 years ago
qijun
517e3c7947
Merge remote-tracking branch 'baidu/develop' into pybind_feed_fetch_method
8 years ago
Luo Tao
97332d7c0c
Merge branch 'develop' into seqpool
8 years ago
qijun
7c0facd195
init
8 years ago
Qiao Longfei
88b9202c48
Python cpp sync ( #4816 )
...
* add sync_with_cpp to Python Program and Block
* sync vars and ops in block from cpp
* optimize code and add some comment
* add more check for sync
8 years ago
Dong Zhihong
d4d215a514
Merge remote-tracking branch 'origin/develop' into multigpu
8 years ago
Qiao Longfei
a4b172252b
Merge pull request #4809 from jacquesqiao/backward-return-map
...
Backward return map
8 years ago
qiaolongfei
2befb9f972
optimizer backward CreateGradVarInBlock input output order
8 years ago
qiaolongfei
9a0ef7d2aa
append_backward return map to python
8 years ago
Dong Zhihong
d2be7ec370
Merge remote-tracking branch 'origin/develop' into multigpu
8 years ago
Dong Zhihong
5eed0134e6
"refix the python logic"
8 years ago
Dong Zhihong
5bd14f6edb
Merge remote-tracking branch 'origin/develop' into fix/scope
8 years ago
Qiao Longfei
d7383c6dd0
create grad_var when run Backward pass ( #4796 )
...
* add target to Backward, generate var in block when call backward
* modify backward_test
* fix executor_test
* set var desc default type to LOD_TENSOR
* update backward_test
* insert loss in the top level of backward
* create grad vars for all blocks in current program
* optimize code
* update test_program.py
* only create var for newly create blocks when backward
8 years ago
fengjiayi
dbb60572a5
Refine Python operator input/output checks ( #4803 )
8 years ago
Dong Zhihong
b3df1f4a49
"fix tests"
8 years ago
Dong Zhihong
3f4177ea8d
Merge branch 'develop' into fix/scope
8 years ago
chengduoZH
24a796fbc0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Add_conv3d_gemm_op
8 years ago
Dong Zhihong
d144310415
"nccl add interface"
8 years ago
fengjiayi
5d9ce04625
Debug string for Python ProtoBuf ( #4800 )
...
* Add debug string for Python ProtoBuf
and Rename `Sync` to `Flush`
* Add check of ProtoBuf initialization
8 years ago
Yu Yang
d17eb73e9f
Update VarDesc from design doc ( #4769 )
...
* Update VarDesc from design doc
* Fix GCC compile
* Fix unittest
8 years ago
Luo Tao
abfa81b106
Merge branch 'develop' into seqpool
8 years ago
Guo Sheng
a0af1eeabf
Merge pull request #4443 from guoshengCS/add-GRUStepOp
...
Add gru_unit_op
8 years ago
chengduoZH
557c7ae37b
remove conflict
8 years ago
Abhinav Arora
3b954e1ddc
Adding Hard Sigmoid Activation ( #4771 )
...
* Adding Hard Sigmoid Activation
* Adding a comment for slope to be only positive
* Fixing grammatical mistake in comment
8 years ago
Yan Chunwei
1c1f73b46d
Feature/dynamic recurrent op forward test ( #4729 )
8 years ago
Luo Tao
4c3ef7fca5
Merge branch 'develop' into seqpool
8 years ago
Dong Zhihong
51abb6c323
add test
8 years ago
Abhinav Arora
116800378a
Adding the Adam Optimizer operator ( #4733 )
...
* add adam op
moment1_out = beta1 * moment1 + (1 − beta1) * grad
moment2_out = beta2 * moment2 + (1 − beta2) * grad * grad
moment1_hat = moment1_out / (1 - beta1^t)
moment2_hat = moment2_out / (1 - beta2^t)
param_out = param - learning_rate * moment1_hat / (sqrt(moment2_hat) +
epsilon)
* fix moment 2
* Adding the Adam optimization operator
* Adding more tests for Adam op
8 years ago
dongzhihong
7da9ab3c6c
Merge remote-tracking branch 'origin/develop' into fix/scope
8 years ago
fengjiayi
36de398924
Rename Python `graph` to `framework` ( #4762 )
8 years ago
dongzhihong
ff0e9d2207
Merge remote-tracking branch 'origin/develop' into fix/scope
8 years ago
fengjiayi
1a87a963e1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_opdesc_in_python
8 years ago
guosheng
71abb4ceb1
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-NormOp
8 years ago
caoying03
cbcf11d930
Merge branch 'develop' into crf
8 years ago
Luo Tao
393c748c89
add seqlastin/seqfirstin for seq_pool op
8 years ago
chengduoZH
4aae1fff78
fix conv3d_gemm, unit test and follow comments
8 years ago
guosheng
9b4a6af251
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-GRUStepOp
8 years ago
guosheng
0bc5a122d4
Refine gru_unit_op by optional bias
8 years ago
chengduo
487a13bbfa
Merge pull request #4742 from chengduoZH/refine_conv2_naive_func
...
refine conv2d naive function
8 years ago
chengduoZH
db4de4ffd9
follow comments
8 years ago
guosheng
1cabdb8708
Refine gru_unit_op according to comments to support multiple activation types
8 years ago
chengduoZH
5fe68931f6
fix code struce
8 years ago
kexinzhao
d3b8bffaf1
Implementing the Decayed Adagrad optimizer operator ( #4645 )
...
* Implementing the DecayedAdagrad optimizer step operator
* implementing DecayedAdagrad operator
* remove file
* small fix
8 years ago
Luo Tao
e69a565a5b
Merge branch 'develop' into seqpool
8 years ago
chengduoZH
8ad67da9ab
fix conflict
8 years ago
Yu Yang
2daba04042
Merge pull request #4731 from reyoung/feature/fix_ci
...
Feature/fix ci
8 years ago
武毅
a3ccbdb3b6
Cudnn conv op ( #4195 )
...
* add cudnn_conv_op
* WIP
* update
* update
* fix grad check
* use platform::memory
* add support group for cudnn
* update
* follow comments
* fix onlycpu build
* update cuda define
* follow comments
* follow comments
* merge with updates
* fix compile error
* follow comments
* follow comments
8 years ago
chengduoZH
6ef2da2e89
finetune conv2d navie func
8 years ago
Yu Yang
3eac6d9f50
Disable test_seq_concat_op.py temp
8 years ago
chengduoZH
a015ea8f7c
refine conv2d naive function
8 years ago
caoying03
515981d714
Merge branch 'develop' into crf
8 years ago
caoying03
d92c671d5f
add python forward unittest.
8 years ago
chengduoZH
c2fbf8c5a7
Add unit test
8 years ago
dongzhihong
4b6b4bc84a
"change GetOrCreate to Var"
8 years ago
fengjiayi
458a2da3cf
Merge branch 'fix_bugs' into dev_opdesc_in_python
8 years ago
dongzhihong
5d6a3eee5b
new_var to get_or_create
8 years ago
fengjiayi
f8211328e1
Fix bug
8 years ago
Abhinav Arora
b504a2346c
Adding the Thresholded Relu Op ( #4685 )
...
* Adding thresholded_relu op
* Adding test for thresholded relu op
8 years ago
fengjiayi
90fa6db6bd
Add infer_shape to Python Operator and fix bugs
8 years ago
fengjiayi
bf26cc5307
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_opdesc_in_python
8 years ago
fengjiayi
d92f8de431
Merge pull request #4702 from Canpio/fix_expose_checker_to_python
...
Explose check_attr to Python
8 years ago
Qiao Longfei
5e9d43995b
Merge pull request #4699 from jacquesqiao/expose-backward
...
expose AppendBackward of ProgramDesc to python
8 years ago
wanghaoshuang
f984cba0ca
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into seq_expand_op
8 years ago
guosheng
0922fca41e
Add gru_unit_op
8 years ago
wanghaoshuang
901b041196
Add seq_expand op
...
1. Add unitest
2. Add SeqExpandOpKernel
8 years ago
Cao Ying
e9495e7694
Merge pull request #4508 from Yancey1989/seqconcat_op
...
Add the sequence_concat operator.
8 years ago
Luo Tao
c77bd553de
Merge branch 'develop' into seqpool
8 years ago
Yibing Liu
240adef1a1
Merge branch 'develop' of upstream into margin_rank_loss_op_dev
8 years ago
qiaolongfei
e8cad5a1d0
add more unit test for test_append_backward
8 years ago
kexinzhao
9995aed114
Implementing Softplus operator ( #4690 )
...
* implementing softplus
* small fix
* small fix
* small fix
* small fix
8 years ago
fengjiayi
f8267db657
Explose check_attr to Python
8 years ago
qiaolongfei
e9a0c4ef87
expose AppendBackward of ProgramDesc to python
8 years ago
kavyasrinet
1397e17f6b
Implemented the hardShrink activation ( #4653 )
...
* Implemented the hardShrink activation
* Fixing the unit test
8 years ago
Luo Tao
67dc606b32
Merge branch 'develop' into seqpool
8 years ago
fengjiayi
e621ff39e5
Follow comments
8 years ago
Siddharth Goyal
6604d7cda2
Add logsigmoid (numerically stable) and softshrink ( #4663 )
...
* Add numerically-stable logsigmoid activation
* Add softshrink operator
* Adjust relative tolerance for grad-check
* Address review comments
8 years ago
fengjiayi
afaac7896e
Refine code
8 years ago
fengjiayi
906f5e8a26
Fix unittest bugs
8 years ago
fengjiayi
e71b836f53
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_opdesc_in_python
8 years ago
fengjiayi
247fb2a086
Add unittests
8 years ago
Yu Yang
f185af8d7b
Complete parameter
8 years ago
Yu Yang
0c37a06117
Merge branch 'feature/change_proto_to_desc' into feature/complete_variable_bind
8 years ago
Yu Yang
fb2ad4c949
Change PythonAPI `.proto` to `.desc`
8 years ago
Yu Yang
7506e4816b
Merge pull request #4660 from reyoung/feature/polish_infer_shape
...
Polish CompileTime InferShape
8 years ago
fengjiayi
cffca923b9
Change Proto to Desc
8 years ago
fengjiayi
5fddd288a6
Merge branch 'feature/add_persistable_in_var_desc' into dev_opdesc_in_python
8 years ago
Yu Yang
83dbc15055
Merge branch 'develop' of github.com:baidu/Paddle into feature/complete_variable_bind
8 years ago
fengjiayi
86451b3064
Update
8 years ago
Markus Kliegl
a281b38393
Conv Shift Operator ( #4591 )
...
* conv_shift_op: initial implementation using Eigen
Limitations:
- both gradient outputs must be specified and are always computed
- explicit for loops => could be optimized in various ways
(e.g., different memory layout)
* conv shift - gradient fixes
fix case when not all output gradients desired
* conv shift: minor cleanup
* conv shift - more minor cleanup
* conv shift: clean up & initial GPU implementation
* fix rebase issue
8 years ago
Yu Yang
7973d3a0ad
Merge pull request #4641 from reyoung/feature/add_persistable_in_var_desc
...
Init Python API
8 years ago
Yu Yang
69fd376bca
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/polish_infer_shape
8 years ago
chengduo
0f1d3af438
Merge pull request #4461 from chengduoZH/Add_maxpool_withIdx_only
...
Add max pool op (with index)
8 years ago
Luo Tao
60f706a1d6
add SQRT strategy for sequence_pool_op
8 years ago
Yancey1989
a4d410aec8
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into seqconcat_op
8 years ago
Yancey1989
d211b51bd4
update comment
8 years ago
zhouxiao-coder
e6421249d5
update to latest
8 years ago
fengjiayi
a427855902
Update
8 years ago
Yu Yang
d350cdbc97
Polish CompileTime InferShape
...
1. InferShape should be a method for `OpDescBind` not `Operator`, since
`OpDescBind` is a compile-time concept.
2. Pre-create operators and store them into a map. Make InferShape
faster
8 years ago
QI JUN
9efd5422f9
Merge pull request #4655 from abhinavarora/fill_constant_op
...
Implementing the fill constant op for the executor
8 years ago
Tao Luo
ceefb555f7
Merge pull request #4500 from luotao1/interp
...
add interpolation op
8 years ago
fengjiayi
53222cb9c3
Add OpProtoHolder
8 years ago
Abhinav Arora
6efacc14d8
Implementing the fill constant op for the executor
8 years ago
Yu Yang
569616b329
Complete Variable for Python API
8 years ago
Yu Yang
1e41a675d4
Convert np.dtype to core.DataType
8 years ago
Yu Yang
68483f95a0
Merge branch 'develop' of github.com:baidu/Paddle into feature/add_persistable_in_var_desc
8 years ago
Yu Yang
61a5181e31
Add skeleton of Operator
8 years ago
Abhinav Arora
4cb5bd9021
Implementing the Adamax optimizer operator ( #4538 )
...
* Implementing the Adamax optimizer step operator
* Adding unit tests for adamax_op
* Changing learning rate and time step to inputs from attributes
* Changing learning rate and time step to input(tensors)
* Making the Adamax operator conform to naming convention
* Removing Tensor<float> from comments
* Rectifying the Adamax implementation
* Changing Unit Test values and adding comments
* Changing Unit Test to test multiple steps
8 years ago
Yu Yang
8f4771be22
Add skeleton of Variable
8 years ago
kavyasrinet
f30a1f42f0
Adding relu6 activation function ( #4607 )
8 years ago
Yu Yang
bedcf074a2
Implementation singleton
8 years ago
Yu Yang
3c39df197e
Init Python API
...
Following the design
* https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/python_api.md
Just written `Program`, `Block` and unittest of program.
8 years ago
Luo Tao
a06f099d9f
refine comment of interp_op
8 years ago
chengduoZH
fcfce48421
follow coments
8 years ago
typhoonzero
282435204e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into auc_op
8 years ago
zhouxiao-coder
53574e54a1
reslove merge conflict;reimplement ELU activation with functor
8 years ago
Luo Tao
4724bdbe68
Merge branch 'develop' into interp
8 years ago
caoying03
dcfbbd3f1d
Merge branch 'develop' into crf
8 years ago
Yi Wang
99895730f7
Merge pull request #4609 from kavyasrinet/tanhshrink
...
Implementing tanhshrink operator
8 years ago
Yan Chunwei
20a6ae7f1f
Feature/tensor array add python binding ( #4616 )
8 years ago
qiaolongfei
ffe1b69229
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_compile_time_infershape
8 years ago
kexinzhao
087addaa76
Merge pull request #4558 from kexinzhao/adagrad_op
...
Implementing the Adagrad optimizer step operator
8 years ago
Kexin Zhao
78f4c803f3
change learning rate and fix format
8 years ago
Kavya Srinet
0336304176
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into rmsprop
8 years ago
Kavya Srinet
154a6ed29c
Implementing tanhshrink operator
8 years ago
qiaolongfei
628715d602
clean code
8 years ago
qiaolongfei
352af966d7
add python unit test
8 years ago
kavyasrinet
3e2be065b9
Merge pull request #4604 from kavyasrinet/activations
...
Added Leaky Relu activation
8 years ago
sidgoyal78
c10da26cf5
Modify implementation
8 years ago
Abhinav Arora
828c5b3e1d
Adding Adadelta optimization operator ( #4576 )
...
* Adding Adadelta optimization operator
* Making inputs and outputs conform to naming convention
* Removing type alias from header files
* Fixing Adadelta documentation in comments
* Addressing code review feedback
8 years ago
Kavya Srinet
11070e5f36
Updated the reltive error
8 years ago
Kavya Srinet
60af56c1b8
Added Leaky Relu activation
8 years ago
qiaolongfei
5917e09cde
tmp work
8 years ago
Kavya Srinet
fa12e51675
Adding the default attribute test case
8 years ago
Kavya Srinet
94855f4af0
Fixed changes proposed in the review
8 years ago
Abhinav Arora
eed2c1e1d6
Changing SGD inputs and outputs to conform to Operator naming convention ( #4586 )
8 years ago
Abhinav Arora
324876bbbf
Changing learning rate from type Input(float) to Input(tensor) ( #4578 )
8 years ago
zchen0211
94b94e5b68
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
8 years ago
sidgoyal78
d28b3094dd
Add momentum operator
8 years ago
Abhinav Arora
42e7fe05a2
Changing learning rate from attribute to input(float) ( #4568 )
...
* Changing learning rate from attribute to input(float)
* Removing obsolete code
8 years ago
Kavya Srinet
163d287143
Made learning rate the input
8 years ago
Kexin Zhao
d1de7ec630
Change learning rate from attribute to input tensor
8 years ago
Kavya Srinet
61c03f9d59
Adding the implementation for rmsprop operator
8 years ago
zchen0211
58174b12f7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into develop
8 years ago
Kexin Zhao
1ac654a69f
Implementing the Adagrad optimizer step operator
8 years ago
qiaolongfei
32f5c9dd93
recurrent_op pass the unit test
8 years ago
zchen0211
15941dbd8c
solve conflict for cond_op and scatter
8 years ago
qiaolongfei
7163dd0413
revert code
8 years ago
chengduoZH
14b2c98f90
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Add_maxpool_withIdx_only
8 years ago
qiaolongfei
af6f3c0423
use float32 in cond_op
8 years ago
Yu Yang
0900aedfa0
Merge pull request #4514 from reyoung/feature/remove_add_op
...
Remove add_op since it can be replaced by sum_op
8 years ago
chengduoZH
2ed56df1e6
remove conflict
8 years ago
chengduoZH
6fc44800ed
fix unit test
8 years ago
chengduoZH
bee95fc891
fix code format and some bug
8 years ago
Yancey1989
a35e82a649
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into seqconcat_op
8 years ago
chengduo
4f5491b2b4
Merge pull request #4146 from chengduoZH/Add_pool_op
...
Add pool op
8 years ago
chengduoZH
6abcb74c8f
fix unit test class name
8 years ago
Yu Yang
aa52fa1c64
Merge pull request #4491 from reyoung/feature/stable_lstm
...
Using double precision to stablize lstm gradient check
8 years ago
chengduoZH
2d8a5b97cc
fix unit test
8 years ago
Qiao Longfei
7fe0297e64
remove Runtime InferShape for cond op ( #4518 )
...
* init remove cond_op infershape
* optimize code
* add PrepareDataForSubnet and MergeDataFromSubnet
8 years ago
Yu Yang
6164b8986e
Fix CI
8 years ago
Yu Yang
762a99cc06
Remove add_op since it can be replaced by sum_op
8 years ago
caoying03
735737d283
initialize crf opreator.
8 years ago
Yancey1989
be3fa7926e
add sequence concat op
8 years ago
zhouxiao-coder
601e2317fd
update to latest
8 years ago
zhouxiao-coder
a815d6abcf
elu: Optimize gradient calculation;Add more comments
8 years ago
chengduoZH
df59889984
remove conflict
8 years ago
Luo Tao
bb7f555803
remove rowwise_add_op
8 years ago
Luo Tao
884e31a59b
add interpolation op
8 years ago
Cao Ying
99130c6e94
Merge pull request #4498 from pengli09/fix-random-seed
...
fix random seeds in gradient checkers.
8 years ago
Peng Li
4dfc10ccf7
a patch for fixing random seeds in gradient checkers
8 years ago
Liu Yiqun
8bafdda0ad
Merge branch 'develop' into core_add_sequence_softmax_op
8 years ago
guosheng
a53191f12a
Add norm_op
8 years ago
Yu Yang
f60f0eae11
Using double precision to stablize lstm gradient check
8 years ago
Yu Yang
9fbf94b61a
Merge pull request #4487 from abhinavarora/softsign_activation
...
Implementing the SoftSign activation operator
8 years ago
Abhinav Arora
0c3eee09ff
Implementing the SoftSign activation operator
8 years ago
Yu Yang
279178e457
Fix bug in test_prelu and test_xe
...
They were using float64 for FP32 kernel before.
8 years ago
Yu Yang
54892c0797
Simplify op_test
8 years ago
Yu Yang
61cc3ae4d1
Stablize elementwise_mul by using double precision
8 years ago
Yu Yang
6efcbc4fcb
Fix bug in test_prelu and test_xe
...
They were using float64 for FP32 kernel before.
8 years ago
zchen0211
88a8eedda1
scatter gather gpu
...
gather scatter gpu
8 years ago
Yu Yang
6ed78729b2
Simplify op_test
8 years ago
Yu Yang
fd479631e1
Stablize elementwise_mul by using double precision
8 years ago
Abhinav Arora
b9336e6f8c
Adding support for the sigmoid_cross_entropy_with_logits operator ( #4448 )
...
* Adding support for the sigmoid_cross_entropy_with_logits operator
* Fixing a typo in the cuda file
* Adding Python documentation for sigmoid_cross_entropy_with_logits_op
* Correcting typos in documentation
* Adding unit tests for sigmoid_cross_entropy_with_logits_op
* Addressing code review feedback
8 years ago
chengduoZH
6326c40d27
Add max pool with index
8 years ago
Guo Sheng
ecef2e6b97
Merge pull request #4086 from guoshengCS/add-ReduceOp
...
Add reduce op
8 years ago
Yibing Liu
e303897f35
Merge branch 'develop' of upstream into margin_rank_loss_op_dev
8 years ago
Liu Yiqun
03897f251d
Finish the SequenceSoftmaxGradKernel, using SoftmaxGradFunctor.
8 years ago
Yu Yang
21f63ec223
Merge pull request #4458 from reyoung/feature/compile_time_infer_shape
...
Remove OperatorBase::InferShape
8 years ago
Yancey
d7db15f3e5
Use StridedMemCpy in Concat/Split Kernel ( #4188 )
...
User StridedMemCpy in Concat/Split Op
8 years ago
guosheng
be58c6327d
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-ReduceOp
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
ba4b0291ef
Follow comments, check exception message
8 years ago
Yu Yang
680c20217e
Merge branch 'develop' of github.com:baidu/Paddle into feature/make_python_catch_enforce_not_met
8 years ago
chengduoZH
3c0f079333
remove conflict and fix InferShape function
8 years ago
Liu Yiqun
ce3171f3c4
Merge branch 'develop' into core_add_sequence_softmax_op
8 years ago
guosheng
99b8dbb14f
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-ReduceOp
8 years ago
Yu Yang
dcfd31d736
Merge pull request #4397 from reyoung/feature/pybind_for_protobuf_desc
...
Feature/pybind for protobuf desc
8 years ago
Yu Yang
de35098779
Fix CI and follow comment
8 years ago
Liu Yiqun
c8fc6037fd
Merge branch 'develop' into core_add_sequence_softmax_op
8 years ago
Yu Yang
7b385ff206
Merge pull request #4407 from Canpio/fix_huber_loss_test_error
...
Fix error in unit test of ModifiedHuberLossOp
8 years ago
Yiqun Liu
29cb85634c
Merge pull request #4144 from lcy-seso/softmax_with_cross_entropy_op
...
Softmax with cross entropy op.
8 years ago
fengjiayi
36f3d0af22
Fix error in unit test of ModifiedHuberLossOp
8 years ago
Yu Yang
49697d9dab
Merge branch 'develop' of github.com:baidu/Paddle into feature/make_python_catch_enforce_not_met
8 years ago
Yu Yang
9e5de16719
Merge branch 'feature/pybind_for_protobuf_desc' of github.com:reyoung/Paddle into feature/pybind_for_protobuf_desc
8 years ago
Yu Yang
62d597c176
Merge branch 'develop' of github.com:baidu/Paddle into feature/pybind_for_protobuf_desc
8 years ago
Yu Yang
67cdd5bc61
Make PyBind support C++ exception
8 years ago
Yibing Liu
dc186af729
Merge branch 'develop' of upstream into margin_rank_loss_op_dev
8 years ago
Yibing Liu
367a54e08c
Merge pull request #4360 from kuke/multiplex_modify_dev
...
Modify multiplex_op
8 years ago
chengduoZH
30a586df0c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Add_pool_op
8 years ago
caoying03
3d77360b89
add negative clipping for softmax.
8 years ago
caoying03
360bde9a70
Merge branch 'develop' into softmax_with_cross_entropy_op
8 years ago
Cao Ying
7d65321620
Merge pull request #4237 from lcy-seso/optimize_cross_entropy_kernel
...
optimize cross entropy kernel.
8 years ago
caoying03
000d75116f
fix backward op.
8 years ago
Yibing Liu
089f8e2d37
Merge branch 'develop' of upstream into multiplex_modify_dev
8 years ago
caoying03
8b8ad6b164
fix implementations of supporting soft labels.
8 years ago
fengjiayi
6915c924a4
Fix bug
8 years ago
fengjiayi
4fb106afb0
Merge branch 'feature/pybind_for_protobuf_desc' of https://github.com/reyoung/Paddle into feature/pybind_for_protobuf_desc
8 years ago
fengjiayi
5419f16b38
Add unittests
8 years ago
Yu Yang
16c5f629bd
Complete unittest for OP
8 years ago
Yu Yang
f9f910a33b
Complete op
8 years ago
Yu Yang
1cd2014007
Merge branch 'develop' of github.com:baidu/Paddle into feature/pybind_for_protobuf_desc
8 years ago
Zhuoyuan
e5a3c1d2d5
Merge pull request #4372 from reyoung/feature/stable_prelu_grad_test
...
Stabilize prelu gradient check
8 years ago
Zhuoyuan
f698a49ce3
Merge pull request #4240 from zchen0211/develop
...
lstm unit
8 years ago
Yu Yang
d54e8420be
Stabilize prelu gradient check
8 years ago
Yibing Liu
236af56612
separate index tensor from candidate tensors in multiplex_op
8 years ago
chengduoZH
b72854389e
Fix (According to the review)
8 years ago
Liu Yiqun
9f32c8d896
Merge branch 'develop' into core_add_sequence_softmax_op
8 years ago
Yibing Liu
47fbc96fa1
Merge pull request #4064 from kuke/multiplex_op_dev
...
Add multiplex operator
8 years ago
Tao Luo
01bec25734
Merge pull request #4193 from luotao1/seq_pool
...
implement framework of seq_pool_op and its unitest
8 years ago
caoying03
bb58b63b6c
Merge branch 'develop' into softmax_with_cross_entropy_op
8 years ago
guosheng
1295e5ef54
Refine reduce_op unit test and add newline at end of file
8 years ago
guosheng
c8d877195b
Revise the reduce_op unit test accordingly
8 years ago
guosheng
3994e91a67
Add reduce_op
8 years ago
caoying03
201c2bcf20
delete redundant codes.
8 years ago
caoying03
6735585b0f
fix cpu kernel with soft labels.
8 years ago
Yu Yang
9fa7c9306c
Merge branch 'feature/pybind_for_protobuf_desc' of github.com:reyoung/Paddle into feature/pybind_for_protobuf_desc
8 years ago
fengjiayi
08e9900621
Fix bugs
8 years ago
Yu Yang
b941865d44
Merge branch 'feature/simplify_attr_parse' into feature/pybind_for_protobuf_desc
8 years ago
fengjiayi
57c95c7957
Merge branch 'fix_lod_tensor_dim_64' into feature/pybind_for_protobuf_desc
8 years ago
Yu Yang
ddf2448484
Update Input/Output of Op
8 years ago
Yu Yang
dc643a3352
Hot fix unittest
8 years ago
Yu Yang
bddb40609d
Buggy code
8 years ago
fengjiayi
f5aa8b4d7e
Update namespace of pybind/protobuf.cc and .h
8 years ago
fengjiayi
6db6475460
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/pybind_for_protobuf_desc
8 years ago
fengjiayi
ee547f6ac9
Add unittests
8 years ago
superjom
b545b5b86b
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into feature/recurrent_op_backward_fix
8 years ago
caoying03
30bfaab36e
Merge branch 'develop' into optimize_cross_entropy_kernel
8 years ago
gongweibao
f99841dd2a
Elementwise operator. ( #4139 )
...
Elementwise operator add/sub/mul/div
8 years ago
dangqingqing
efb56db770
tune max_relative_error in test_cos_sim_op.
8 years ago
qingqing01
7831b1d9ea
Merge branch 'develop' into attr_bool
8 years ago
chengduoZH
c2c2d610a4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Add_pool_op
8 years ago
Yu Yang
618884dd69
Complete unittest for ProgramDesc
8 years ago
Yu Yang
70f398e207
Update
8 years ago
dangqingqing
0dce16a697
Use bool type for attr in cross_entropy_op.
8 years ago
Yibing Liu
85a5d38446
Merge branch 'develop' of upstream into multiplex_op_dev
8 years ago
chengduoZH
6f61b5df7d
fix unit test
8 years ago