sweetsky0901
4ffb73fd3b
format ..
7 years ago
chengduoZH
c339e1b786
remove conflict
7 years ago
sweetsky0901
5b449b6021
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
3206094b5e
format code
7 years ago
武毅
4ecbab42d8
Fix compile on cudnn7 ( #5982 )
...
* fix compile on cudnn7
* update
* update
* make silent
7 years ago
guosheng
1ab03d49d5
Fix gru_op related code style in gpu_kernel
7 years ago
guosheng
3e552cdcac
Fix gru_op related code style
7 years ago
wanghaoshuang
29262ab24d
Fix unitest.
7 years ago
sweetsky0901
d2ee3c98df
format code
7 years ago
sweetsky0901
2d42fa74ec
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
c52ed8de37
format code
7 years ago
kavyasrinet
dcf3ffd980
Adding log loss operator ( #5854 )
...
* Adding log loss operator
* Removing comments
7 years ago
sweetsky0901
bd561384bc
format code
7 years ago
sweetsky0901
d9673cad15
format code
7 years ago
sweetsky0901
821899ccd4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
6fc9a9fd69
modify for del T2 and doc update
7 years ago
Qiao Longfei
c975fe1bde
batch norm support matrix input ( #5980 )
...
* batch norm support matrix input
* update gpu code
* format code
7 years ago
fengjiayi
23b3fef062
Make 'scale_op' supporting int and int64 ( #5986 )
...
* Make 'scale_op' supporting int and int64
* refine .cu file
7 years ago
wanghaoshuang
76a65a83a0
Fix comments style
7 years ago
Yu Yang
985e4ab62d
Add Python wrap of conv2d_transpose and its unittest ( #5946 )
...
* Add Python wrap of conv2d_transpose and its unittest
* Follow comments
* Fix format
7 years ago
wanghaoshuang
ab9d59c539
Fix double type error while using eigen api
7 years ago
wanghaoshuang
d0246e24e0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into nce_op
7 years ago
wanghaoshuang
ea7359c60b
Refine code and comments
...
1. Remove checking for num_neg_samples.
2. Fix dims of Output(Cost) and Input(Bias).
3. Renamed num_sampled_classes to num_neg_samples.
4. Add TODO for add more distribution sampler.
5. Init grad_data of bias by zero.
6. Refine comments.
7. Register a kernel for type double.
7 years ago
武毅
0a8a86e0c9
Send recv op ( #5520 )
...
* WIP send recv op
* WIP send recv
* put grpc impl in details
* put grpc impl in details
* update wip
* update proto
* update proto
* update proto
* clean cmake
* wip on op implementations
* wip on op implementations
* compile ok adding ut
* wip unitest
* add extern cares for linking
* wip add ut
* working version send recv
* revert optimizer.py
* update test cmake
* add libtool to dockerfile
* update cmake dependency
* update cmake depends
* update cmake grpc depends
* fix cmake dependency
* fix compile error
* fix compile
* follow comments
* update
* update copyfrom
7 years ago
sweetsky0901
ee0a794c27
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
57e68e5740
modify for code review by qingqing 2nd
7 years ago
Guo Sheng
0ce9bf77be
Merge pull request #5931 from guoshengCS/fix-ROIPoolOP-warn
...
Refine roi_pool_op to avoid warning
7 years ago
chengduoZH
9abc0e04c1
fix conv and conv_trans op doc
7 years ago
Abhinav Arora
ef3420e2b9
Fix the latex comment syntax in sgd_op.cc ( #5940 )
...
* Fix the latex comment syntax in sgd_op.cc
* Change \textunderscore to \_
7 years ago
guosheng
19a37ecde3
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into fix-ROIPoolOP-warn
7 years ago
fengjiayi
90fc4a6cd5
Complete shrink_rnn_memory_op comments ( #5935 )
...
* Complete shrink_rnn_memory_op comments
* Update
7 years ago
QI JUN
b28b2f172b
refine test_recognize_digits_mlp and format codes ( #5937 )
7 years ago
sweetsky0901
f9c2a5c38e
modify for code review zcd
7 years ago
sweetsky0901
022b48e16f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
20654cf78a
modify for type check rewrite
7 years ago
guosheng
c8bb663141
Refine roi_pool_op to avoid warning
7 years ago
fengjiayi
33fa2dfbde
Compelete max_sequence_len_op ( #5913 )
7 years ago
武毅
a06bec1287
Conv cudnn 3d ( #5783 )
...
* conv cudnn 3d
* update test case
* update
* update
* follow comments and remove groups from helper
* update
* refine
* update
* follow comments2
* update
* fix compile
7 years ago
sweetsky0901
27cf7f3376
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
cfd7721b51
add unpool_op.h modify
7 years ago
Yu Yang
a619695b06
Feature/enhance evaluator ( #5824 )
...
* Stash
* Stash
* Polish Evaluator
* Merge code
* Revert
7 years ago
sweetsky0901
a38bbc8610
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
c218961a6b
modify for code review by qingqing
7 years ago
dzhwinter
513b1e010f
"add floor, ceil, round op" ( #5898 )
...
* "add floor, ceil, round op"
* "reuse zero gradient"
* "fix divide zero"
* "fix numpy floor error"
7 years ago
dzhwinter
45062fe5d7
Feature/copytensor ( #5455 )
...
* "make global tensor function independently"
* "replace functor"
* "fix inline template error"
* "fix tensor array with CopyFrom"
* "fix other case use CopyFrom"
* "move the op interface hardly"
* "fix operators"
* "fix typo"
* "delete dynamic recurrent rnn and fix gru_unit in debugmode"
* "fix unique_ptr copy"
* "fix cuda copy"
* "fix namespace error"
* "removed nccl python test"
* "fix include error"
* "fix typo"
* fix copy util test
7 years ago
wanghaox
0690cca758
Merge pull request #5831 from wanghaox/roi_pool
...
Roi pool operator
7 years ago
wanghaox
cf5b598642
fix some issues
7 years ago
wanghaox
ef905598a2
fix some code issues
7 years ago
Qiao Longfei
65c859db7a
beam_search_decode support multi data type ( #5847 )
...
* beam_search_decode support multi data type
* add VisitDataType for beam search decode
* use Specialization to handle bool
* move Specialization of BeamSearchDecodeFunctor out of class
7 years ago
QI JUN
3a76062c84
support testing when training and handle dropout and batch_norm operator in testing mode ( #5734 )
...
* is_training to is_test in dropout op
* handle dropout and batch_norm operator when prune pdesc in testing mode
* handle dropout and batch_norm operator when prune pdesc in testing mode
* add get_inference_program method
* fix dropout op
* fix ci
* test data after each batch training
* refine code
* refine test_book3
* fix ci
* follow comments
7 years ago
fengjiayi
50d670ee06
Unify dtype and datatype ( #5869 )
...
* Change all `data_type` in Python to `dtype`
* Change `date_type` in C++ to `dtype`
* Refine
7 years ago
peterzhang2029
1ab1b092cd
Merge pull request #5875 from peterzhang2029/refine_op_doc
...
Fix latex syntax in bilinear tensor product operator comment.
7 years ago
peterzhang2029
4bdd97625b
refine the latex mark
7 years ago
Cao Ying
2c471db2c1
Merge pull request #5884 from lcy-seso/fix_latex
...
fix LaTeX syntax in three operators' comments.
7 years ago
qingqing01
52007ea662
Merge pull request #5872 from qingqing01/op_debug
...
Fix lstm_op and gru_op in debug mode.
7 years ago
caoying03
8ba62a5f94
fix LaTeX syntax in liear_chain_crf op.
7 years ago
Yang yaming
98700ceef5
Merge pull request #5867 from pkuyym/fix-5865
...
Fix LaTeX equation for huber_loss_op.cc.
7 years ago
Yu Yang
c077a6d57c
Feature/support int64 for sum ( #5832 )
...
* Support int64 for sum op
* Refine code
7 years ago
peterzhang2029
aacd94127b
refine bilinear tensor product doc
7 years ago
chengduo
e800c0d3f1
Merge pull request #5791 from chengduoZH/fix_conv_op
...
remove vector::erase
7 years ago
dangqingqing
7fb1f7a25f
Fix lstm_op and gru_op in debug mode.
7 years ago
yangyaming
3305c8766e
Add more comment.
7 years ago
sweetsky0901
ee4a5d2117
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
yangyaming
fb56a18109
Fix LaTeX equation for huber_loss_op.cc.
7 years ago
sweetsky0901
66b84366f1
modify for code review by wangyi
7 years ago
kavyasrinet
d883547bf0
Adding the FTRL optimizer. ( #5785 )
...
* Adding the FTRL optimizer
* Fixed the python test case
7 years ago
wanghaox
36dd770a08
add roi operator unittest
7 years ago
wanghaox
7960928883
add roi pool operator
7 years ago
sweetsky0901
0112c5d640
format code
7 years ago
sweetsky0901
47bd0bb678
del printf
7 years ago
sweetsky0901
8ba8237a87
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
e2a5905eae
gpu test ok unpool2dmax
7 years ago
Qiao Longfei
53bd51e3f4
07/Label semantic roles ( #5798 )
...
* init label_semantic_roles.py
* add linear_chain_crf and test
* complete test_linear_chain_crf
* correct last layer of db_lstm
* update optimizer and initializer
* update param_initializer of embedding_layer
* support load pre trained embedding
* rm unused parameter
* optimize code
* clean code
* fix test
* add todo
7 years ago
Guo Sheng
778b981e24
Merge pull request #5804 from guoshengCS/fix-GRUUnitOp-dev
...
Fix calculations in gru_unit_op to consistent with gru_op
7 years ago
sweetsky0901
abb3357d1c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
90f664d0b0
test unpool ok cpu
7 years ago
chengduoZH
a93227a148
refine code
7 years ago
guosheng
b6b7ab63c6
Fix calculations in gru_unit_op to be consistent with gru_op
7 years ago
tensor-tang
55ecd6d29e
Merge pull request #5797 from luotao1/fix_warning
...
fix some warning with MKLDNN related codes and etc
7 years ago
sweetsky0901
822f28343b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_unpool_max_2d
7 years ago
sweetsky0901
200f07c219
add test
7 years ago
Yu Yang
a5e73f9eaf
Support many data types of several operators ( #5731 )
...
* Support many data types of several operators
* SeqConv only support float/double
* Revert adagrad
7 years ago
sweetsky0901
45a8c9ddaf
add unpool2d make ok
7 years ago
guosheng
f191c82010
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into fix-GRUUnitOp-dev
7 years ago
sweetsky0901
f638f91020
merge cmakelist
7 years ago
sweetsky0901
bc45335e55
add unpool
7 years ago
Luo Tao
67fa0de2a7
fix some warning with MKLDNN related codes and etc
7 years ago
chengduoZH
e5bf9c5670
remove vector::eraze
7 years ago
sweetsky0901
04fd98930b
for code review 6
7 years ago
sweetsky0901
3fbff1ee78
for code review 5
7 years ago
sweetsky0901
350cc61f3f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
sweetsky0901
4e5c989669
rename back
7 years ago
wanghaox
6ac42378ac
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
wanghaox
76fc1a82e1
for code review 4
7 years ago
chengduoZH
bc3ec53671
remove conflict
7 years ago
chengduo
134eaf21b3
Merge pull request #5602 from chengduoZH/add_cudnn_pool3d
...
Add cudnn pool3d
7 years ago
wanghaox
52f2366d2b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
wanghaox
c645d065fe
add a space + *
7 years ago
guosheng
3e7fff4188
Fix calculations in gru_unit_op
7 years ago
wanghaox
794117bb93
fix some comments
7 years ago
wanghaox
2d7a652869
del framework test_maxout_op
7 years ago
wanghaox
25d76bc7e1
modify for add a space in maxout op
7 years ago
wanghaox
63f8c5fe58
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
wanghaox
5802880bbc
update maxoutop for code review 3
7 years ago
Abhinav Arora
6cfcf6245a
Adding logical operators for beam search and control flow ( #5708 )
7 years ago
chengduoZH
5238c9fb0b
input type should be different
7 years ago
wanghaox
360354670c
fix some codes
7 years ago
chengduoZH
3bd3cc0c85
add double type for kernel
7 years ago
chengduoZH
dec61ab6df
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_cudnn_pool3d
7 years ago
chengduo
0f83674c7d
Merge pull request #5603 from chengduoZH/Add_conv3d_transpose_cudnn_op
...
add conv3d_trans_cudnn_op
7 years ago
Guo Sheng
7a57b3b788
Merge pull request #5623 from guoshengCS/fix-H0-GRUOp
...
Fix data order of H0 in GRU Operator
7 years ago
chengduoZH
c359e39b59
add double type kernel
7 years ago
chengduoZH
0bc2f41da9
remove conflict
7 years ago
guosheng
aa83e19e24
Remove lstm_op including in gru_op
7 years ago
chengduo
06d155b539
Merge pull request #5718 from chengduoZH/Add_pad_and_stride_for_conv_transpose_op
...
Add padding for conv_transpose_op
7 years ago
chengduoZH
eb07047699
add padding
7 years ago
Yancey1989
d13c3a98ce
fix no framework proto file
7 years ago
guosheng
afd1f36186
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into fix-H0-GRUOp-dev
7 years ago
Yan Chunwei
186581d2cc
add is empty op ( #5639 )
7 years ago
wanghaox
a0b7a07eb6
fix some comments
7 years ago
qingqing01
9cf6036533
Merge pull request #5707 from qingqing01/cos_sim_op
...
Fix cos_sim_op in debug mode.
7 years ago
peterzhang2029
55c2c73f3c
Merge pull request #5703 from qingqing01/op_debug
...
Fix bilinear_tensor_product_op in debug mode.
7 years ago
Yang Yang(Tony)
18f0c40a97
feature/while_grad_op ( #5554 )
...
* first commit
* Python API for while op
* Python Unittest for simple while_op forward
* fix out to be list
* Fix UT
* VarType
* Fix several bugs
* Fix bug
* Fix bug
* Fix Bug
* Fix bug
* Fix unittest
* Remove debug log
* Add comments
* add PADDLE_ENFORCE
* while_grad_op first commit
* Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
* not sure how to setdim of while outputs
* push for test
* add executor vlog
* fix bug of while_op cond
* Several enhancement for code
1. Backward always infer shape & infer var type. Since there are RENAME
variables will be created when creating backward operator, but their
shape & var types are not inferenced.
2. Never use SomePtr-> directly, since every pointer could be nullptr if
it is a function return value. Add `detail::Ref` to cast pointer to
reference safely.
3. Enhance error message for backward.
4. Infer data type of variable in `sum` and `tensor_write`
* Fix bugs of while_op gradient
* Fix several bugs of while_op grad
* fix fill zeros like
* fix 3 >= 3
* fix place holder shouldn't be null
* fail on sum op
* Fix SumOp of TensorList
* clean up
* pass while test
* fix test_array_write_read
* pass sum op
* Support int/int64 for fill_constant_batch_size_like
* Fix compile
7 years ago
wanghaox
49a594217b
fix some typos
7 years ago
dangqingqing
24819df055
Fix cos_sim_op in debug mode.
7 years ago
qingqing01
01fa4cc73d
Remove the unused code.
7 years ago
dangqingqing
0321e1f861
Fix bilinear_tensor_product_op in debug mode.
7 years ago
chengduoZH
7e91da41e7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_cudnn_pool3d
7 years ago
wanghaox
352c5a9683
update some code
7 years ago
wanghaox
1d95173cfe
change offset and length's rank to 2, dim[0] for batch size
7 years ago
wanghaox
40a6c4882d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into sub_sequence_op
7 years ago
chengduo
dc78f3ca7d
Merge pull request #5558 from mkliegl/conv_shift_fix_camel_case
...
conv shift op: change to CamelCase & fix bug
7 years ago
guosheng
75426e013a
Refine GRU Operator
7 years ago
qingqing01
57bbee650d
Merge branch 'develop' into cmake_speed
7 years ago
QI JUN
d7bf372d26
support adagrad sparse update ( #5272 )
...
* adam sparse support
* fix gpu build error
* fix ci
* fix ci
* fix adagrad sparse update bug
* fix gpu build error
7 years ago
wanghaox
0968c7cd6b
Update code and fix conflicts.
7 years ago
Markus Kliegl
d0b601c4a8
address PR feedback
7 years ago
Markus Kliegl
42dd5da0fd
conv shift: fix return before syncthreads
7 years ago
Markus Kliegl
3dc8834209
conv shift op: change to CamelCase
7 years ago
dzhwinter
e97b89873a
"fix accuracy kernel bug" ( #5673 )
...
* "fix accuracy kernel bug"
* "relauch ci"
7 years ago
wanghaoshuang
668dc53fcc
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into nce_op
7 years ago
wanghaoshuang
09d32b068c
Add unitest and comments.
7 years ago
chengduoZH
f91422ecc4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into refine_im2col
7 years ago
chengduoZH
31dc0193c9
fix ContextProjectFunctor parameter order
7 years ago
Yan Chunwei
09866fb75f
feature/beam search op ( #5052 )
7 years ago
chengduoZH
7c2fd61869
fix data layout
7 years ago
wanghaox
4c426f191b
update sequence_slice_op.h, change some code
7 years ago
wanghaox
3ef776ef28
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
wanghaox
8d9babf204
maxout code review 2nd
7 years ago
chengduoZH
74912c7d4e
fix data layout
7 years ago
dzhwinter
7c3ec22081
"fix gpu related op registered" ( #5647 )
7 years ago
chengduoZH
e825a49259
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_cudnn_pool3d
7 years ago
chengduoZH
c5330fa772
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into Add_conv3d_transpose_cudnn_op
7 years ago
chengduoZH
e25bfc7508
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into refine_im2col
7 years ago
chengduoZH
356d695404
follow comments
7 years ago
dangqingqing
d9a305cb93
Update code and fix conflicts
7 years ago
helinwang
d1d21004dd
Merge pull request #5331 from dzhwinter/feature/evaluator
...
Feature/evaluator
7 years ago
Dong Zhihong
2f33f74a35
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
Dong Zhihong
60232d812c
Merge remote-tracking branch 'origin/develop' into fix/reduce_op
7 years ago
Abhinav Arora
c3a61349e4
Adding greater than and less than equal ops to compare op ( #5609 )
...
* Adding greater than and less than equal ops to compare op
* Changing the name of the less_than_equal and greater_than_equal op
* Also changing the name of the functors
7 years ago
chengduo
feaf1e2db5
Merge pull request #5608 from chengduoZH/fix_pooling_function_parameter_order
...
fix pooling functor parameter order
7 years ago
wanghaox
9a18e78e69
update sequence slice op, fix some error
7 years ago
wanghaox
29c25828b0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into sub_sequence_op
7 years ago
wanghaox
f319fb1ce1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
wanghaox
f57cd1e0f9
del a err comments
7 years ago
dangqingqing
2673657684
Move RowwiseAdd functor to math_funcion and Add ColwiseSum functor.
7 years ago
Dong Zhihong
12858baa6c
"relauch ci"
7 years ago
Qiao Longfei
7345de3ad1
Beam search decode op python ( #5631 )
...
* fix lod_tensor_array
* init test beam search decode op
* add test_beam_search_decode_op
7 years ago
Dong Zhihong
fc117ecfa6
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
emailweixu
85b839f0f1
Fix l1_norm_op and squared_l2_norm_op for debug mode ( #5560 )
7 years ago
wanghaox
494edc6c07
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
wanghaox
bd773b9c84
modify for maxoutop code review
7 years ago
Yibing Liu
2f3d1c345f
Merge pull request #4747 from kuke/seq_reshape_op_dev
...
Add Lod Reset Operator
7 years ago
wanghaox
8e7c8bb5c6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into sub_sequence_op
7 years ago
Yu Yang
488320a703
Conditional Block Forward ( #5530 )
...
* Conditional Block Forward
* Assign Operator.
Out=X, when type in [LoDTensor/SelectedRows/LoDTensorArray]
* Stash
* Add Scope::Rename
it is useful in gradient phase of an operator with block
* ConditionalBlock Grad Done
* Add comments
* yapf format code
7 years ago
guosheng
2bed961211
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into fix-H0-GRUOp
7 years ago
guosheng
b103072dc8
Fix data order of H0 in GRU Operator
7 years ago
Yibing Liu
6772dfa0bd
Merge branch 'develop' of upstream into seq_reshape_op_dev
7 years ago
wanghaox
b24afd819a
update the sub_sequence_op to sequence_slice_op code.
7 years ago
wanghaox
f23d6cc4c8
update the sub_sequence_op tp sequence_slice_op code.
7 years ago
QI JUN
f07a226a4f
add split and merge lod tensor operator ( #5537 )
...
* add split lod tensor operator
* add more test cast
* clean code
* add merge lod tensor operator
* fix bug
* clean code
* add grad operator
* make mask support GPU
* add comments
7 years ago
Yu Yang
7c1755d93f
Assign Operator. ( #5531 )
...
* Assign Operator.
Out=X, when type in [LoDTensor/SelectedRows/LoDTensorArray]
* Follow comments
7 years ago
dangqingqing
48947b5133
update code and fix conflicts.
7 years ago
Cao Ying
e9695f4975
Merge pull request #5014 from peterzhang2029/bi_tensor_prod_op
...
Add Bilinear Tensor Product operator.
7 years ago
emailweixu
05c0908492
Merge pull request #5555 from emailweixu/fix_sequence_pool
...
Fix sequence_pool_op in debug mode
7 years ago
xuwei06
983502d2e9
Fix sequence_pool_op in debug mode
...
The rank of the tensor from the chip() function is changed. In release mode, eigen_assert is not enabled and the dimenstion mismatch is not detected.
7 years ago
xuwei06
6a6e4d8d0f
Fix matmal_op for debug mode
...
The dimension is not set correctly and is not being checked in release mode because eigen_assert is not enabled.
7 years ago
dangqingqing
e9082bb78e
Resume unit testing.
7 years ago
chengduoZH
2160497786
fix pooling functor parameter order
7 years ago
wanghaox
ab9c71d963
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into my_maxout_op
7 years ago
dangqingqing
884ce5d5a2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cmake_speed
7 years ago
peterzhang2029
c5d7107767
refine var name
7 years ago
chengduoZH
6fb4bb8efe
add conv3d_trans_cudnn_op unit test
7 years ago
chengduoZH
ec1e2fc938
add cudnn_pool3d unit test
7 years ago
peterzhang2029
0a6262d550
fix warning
7 years ago
chengduoZH
3a507b44bd
add conv3d_trans_cudnn_op
7 years ago
chengduoZH
7ba3d1e4bd
add cudnn_pool3d_op
7 years ago
Qiao Longfei
a4106278e9
BeamSearchDecodeOp ( #5498 )
...
* init trieconcat_op
* add basic implementation
* add test
* add more test
* update unit test
* add PackAllSteps test
* fix PackAllSteps
* all test passed
* clean code
* remove state inside helper
* rename prob to score
* optimize RemoveFromEnd
* use deconstructor to delete BeamNode recursively
* optimize interface
* add comment to interface
* optimizer data structure
* use template to define the type of score
* use template parameter for BeamHelper
* change father to parent
* rename TrieConcat to BeamSearchOutConcat
* use LoDTensorArray
* rename BeamSearchOutConcat to BeamSearchDecode
* refine code
* remain all candidate sentence in beam_search_decode_op, do not consider endid
* use unique_ptr
* fix compare bug
* fix lod compile problem
7 years ago
Yibing Liu
c6275eca3a
trigger ci for lod_reset_op
7 years ago
Yibing Liu
9bc71087b6
bug fix in lod_reset_op: cast int to size_t in LoD
7 years ago
dangqingqing
91d4fc6941
Fix compling for softmax_with_cross_entropy_op.
7 years ago
peterzhang2029
ab41648ca7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
peterzhang2029
5f99ae908b
refine notation in bilinear_tensor_product_op.h
7 years ago
dangqingqing
5f21709938
Fix bug.
7 years ago
wanghaox
4748073dc6
paddle/operators/math/CMakeLists.txt maybe del sequence_pooling and add it
7 years ago
wanghaox
fef617ae07
for resolve conflicts
7 years ago
wanghaox
784fd82345
resolve conflicts
7 years ago
dangqingqing
524ccba4fe
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cmake_speed
7 years ago
dangqingqing
f5e367655e
Use G++ to compile some cu operators.
7 years ago
wanghaox
058bdd345d
this for maxout op new add
7 years ago
wanghaox
4a428c8fbb
this for maxout op new add
7 years ago
dzhwinter
23b9bc0a6f
"fix ci failed" ( #5567 )
...
* "fix ci failed"
* "comment out seq_concate op to unblock PRs"
7 years ago
Dong Zhihong
e0ef42ab32
"fix ci"
7 years ago
Dong Zhihong
8483578417
fix shape bug
7 years ago
qingqing01
561d6340a4
Merge pull request #4061 from pkuyym/fix-4029
...
Add expand operator
7 years ago
emailweixu
58b4c9af34
Fixing duplicate struct name TensorSetConstant. ( #5532 )
...
TensorSetConstant struct is used both in math_function.cc and math_function.cu. Somehow the release version can correctly handle it. But in debug version, set_constant_with_place() in math_function.cu uses the TensorSetConstant in math_function.cc and causes crash.
7 years ago
Yu Yang
edb22c2f0c
Add Scope::Rename ( #5534 )
...
it is useful in gradient phase of an operator with block
7 years ago
emailweixu
2378679a9e
Fix a dead lock bug for dyload/nccl.h when nccl lib cannot be loaded ( #5533 )
...
It caused by a bug of std::call_once described in https://stackoverflow.com/questions/41717579/stdcall-once-hangs-on-second-call-after-callable-threw-on-first-call . It is likely caused by a deeper bug of pthread_once, which is discussed in https://patchwork.ozlabs.org/patch/482350/
7 years ago
yangyaming
d7e7a1d7a5
Add using case.
7 years ago
chengduoZH
7d73b8fc8e
fix unit test (conv3d)
7 years ago
Yancey
e5d810b9a0
Fix seq concat op with refactoring LoD ( #5486 )
...
* fix seq_concat with refactaring LoD
* fix failed unit test
* rename function name
7 years ago
yangyaming
d04c8538a9
Refine .cc and .h, more unit test more readable.
7 years ago
chengduoZH
271fc9c119
Add dilation for vol2col
7 years ago
yangyaming
3c84ebec62
IndicateDataType --> GetKernelType
7 years ago
Yang Yang(Tony)
40367d18d4
feature/while_op ( #5502 )
...
* first commit
* Python API for while op
* Python Unittest for simple while_op forward
* fix out to be list
* Fix UT
* VarType
* Fix several bugs
* Fix bug
* Fix bug
* Fix Bug
* Fix bug
* Fix unittest
* Remove debug log
* Add comments
* add PADDLE_ENFORCE
* while_grad_op first commit
* Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
* refine code
* fix unittest bug
7 years ago
qingqing01
3d6ca6ade5
Merge pull request #5484 from qingqing01/cmake_speed
...
Remove fill_constant_batch_size_like_op.h and clean some operator codes.
7 years ago
qingqing01
aa340671d2
Merge pull request #5016 from guoshengCS/add-ChunkEvalOp
...
Add chunk eval op
7 years ago
chengduoZH
93551bd232
refine unit test (Add dilation)
7 years ago
Dong Zhihong
46c61b35f7
"add elementwise op support"
7 years ago
Yu Yang
133f890346
Merge pull request #5499 from reyoung/feature/increase_cpu
...
Feature/increase cpu
7 years ago
Siddharth Goyal
2e355f032e
Fix attribute naming for momentum_op ( #5453 )
...
* Fix attribute naming for momentum_op
* Fix minor typo in comment
* Fix attribute name
* Fix names in test_optimizer
* Fix python wrapper
7 years ago
Dong Zhihong
b8f557f283
"add elementwise_add more type"
7 years ago
Yu Yang
c88f98cf9e
Merge pull request #5501 from reyoung/feature/lod_array_length
...
Add `lod_array_length` operator
7 years ago
Yu Yang
ef84ff8657
Merge branch 'develop' into feature/increase_cpu
7 years ago
Tao Luo
03fa1edc20
Merge pull request #5512 from luotao1/intel
...
remove unused INTEL_MKL_ROOT etc.
7 years ago
dangqingqing
cceed08119
remove header file paddle/framework/eigen.h
7 years ago
dangqingqing
3fa3f5e799
Update code and resolve conflicts.
7 years ago
dangqingqing
d60fe75ac3
follow comments.
7 years ago
wanghaox
23b0388f46
add sub sequence operator code and unittest
7 years ago
Luo Tao
7835d49384
remove PADDLE_USE_MKL
7 years ago
peterzhang2029
5cf8204171
refine docString
7 years ago
chengduoZH
21ce704247
refine conv2d for filter size:(1,1)
7 years ago
dangqingqing
4098ce730b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_fix
7 years ago
yangyaming
0d9ba3da9a
Adapt to new interface.
7 years ago
Hu Weiwei
91855659d7
Merge pull request #5296 from wwhu/clip_by_norm
...
add clip_by_norm op
7 years ago
fengjiayi
b698d19bfb
Add grad for lodtensor array ops ( #5461 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add skeleton for array_to_lod_tensor and lod_tensor_to_array
* Add VarType::LoDTensorArray
* Add PyBind of LoDTensorArray
* Add InferVarType
* Add first unittest
* Add ut
* Add unittest
* Add unittest
* Add unittests
* update
* init
* add infershape for lod_tensor_to_array_op
* compelete array_to_lod_tensor_op
* copy data
* clean code
* clean code
* Fix unittest data
* fix bugs
* fix compile error
* Refine TensorToArrayOp
* refactor array_to_lod_tensor
* Unittest
* fix bugs
* Fix unittest
* Fix unittest
* debug
* Debug
* Fix unittest
* Add grad for ops
* Debug
* Fix a bug
* fix a bug
* fix a bug
7 years ago
Yang Yu
d24d8c20f3
Add `lod_array_length` operator
7 years ago
Yu Yang
b266f504c5
Merge pull request #5441 from reyoung/feature/fill_constant_force_cpu
...
Add force_cpu for fill_constant op
7 years ago
Yu Yang
7f22a6d1b5
Merge pull request #5465 from reyoung/feature/compare_op_support_cpu
...
CompareOp's kernel device type is decided by input tensor place
7 years ago
Yang Yu
6d41bfb7df
Add increment op
7 years ago
Yang Yu
568270f3c6
Stash
7 years ago
Yu Yang
2a76b42e44
Merge pull request #5419 from reyoung/feature/shrink_memory_op
...
Feature/shrink memory op
7 years ago
guosheng
c8dcd9a9ba
Refine ChunkEvalOp by following comments and rewrite the doc
7 years ago
wwhu
b3a86b6dbb
fix CI
7 years ago
dangqingqing
e5791dd1c7
Remove fill_constant_batch_size_like_op.h and clean some operator codes.
7 years ago
chengduoZH
b6f9ba484e
fix conv2d doc
7 years ago
yangyaming
7be390aa83
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix-4029
7 years ago
武毅
502d7daff7
Merge pull request #5467 from typhoonzero/fix_accuracy_cudamemset
...
fix accuracy cudamemset
7 years ago
chengduoZH
97e9dd7237
add dilation for im2col
7 years ago
chengduo
86e58b2343
Merge pull request #5457 from chengduoZH/fix_pool_attr_name
...
fix_pool_op_attr_name
7 years ago
Yang Yang(Tony)
870650d8c1
Static lstm sanity check ( #5365 )
...
* add fill_constant_batch_size_like_op to rnn h_boot
* first commit
* merge develop; fix conflict
* update to main_program
7 years ago
typhoonzero
11ee50ceb9
update
7 years ago
peterzhang2029
44e1ac3882
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
peterzhang2029
47269273ff
refine memory transform
7 years ago
wanghaoshuang
c2dd75be68
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into nce_op
7 years ago
wanghaoshuang
3d276277df
Add nce op
...
1. Add nce forward and backward kernel for CPU
7 years ago
typhoonzero
6308ccc265
fix accuracy cudamemset
7 years ago
Yu Yang
ee82e660c5
Merge pull request #5447 from reyoung/feature/fill_constant_no_template
...
Add `op::math::set_constant` without template
7 years ago
Yang Yu
3187451ae7
CompareOp's kernel device type is decided by input tensor place
...
CompareOp can run on CPU even other operators are running on GPU, since
opeatations like comparing control flags should be performed only on CPU
7 years ago
Yang Yu
272a272b68
Merge branch 'develop' of github.com:baidu/Paddle into feature/shrink_memory_op
7 years ago
Yang Yu
0142530929
Rename shrink_state -> shrink_rnn_memory
...
Follow comments
7 years ago
Yang Yu
2ac5772970
Merge branch 'develop' of github.com:baidu/Paddle into feature/fill_constant_force_cpu
7 years ago
Yu Yang
c365c61ac6
Merge pull request #5445 from reyoung/feature/fix_dynamic_rnn_compile
...
Add gtest for drnn
7 years ago
Dong Zhihong
e34e12931e
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
wwhu
c8c4b6e427
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into clip_by_norm
...
update
7 years ago
chengduoZH
cdf5e87104
fix attr name
7 years ago
Yu Yang
91b724821c
Merge pull request #5443 from reyoung/feature/InferKernelKey
...
Polish OpWithKernel
7 years ago
Yu Yang
f72729d407
Feature/rnn to array to lod tensor ( #5411 )
...
* Add LoDRankTable
LoD Rank Table stores the `level` of `lod` which is ordered by sequence
length in descending order. It is useful when implement dynamic RNN and
is shared by dynamic RNN memory, dynamic RNN slice input and dynamic
RNN slice output operators.
* Add skeleton for array_to_lod_tensor and lod_tensor_to_array
* Add VarType::LoDTensorArray
* Add PyBind of LoDTensorArray
* Add InferVarType
* Add first unittest
* Add ut
* Add unittest
* Add unittest
* Add unittests
* update
* init
* add infershape for lod_tensor_to_array_op
* compelete array_to_lod_tensor_op
* copy data
* clean code
* clean code
* Fix unittest data
* fix bugs
* fix compile error
* Refine TensorToArrayOp
* refactor array_to_lod_tensor
* Unittest
* fix bugs
* Fix unittest
* Fix unittest
* debug
* Debug
* Fix unittest
* clean code
* refactor
* use ostream
* update test
* fix gpu build error
* make gpu test pass
7 years ago
Yang Yu
2dd91dd572
Shrink State Operator
...
Used for shrink memories state in DyRNN. The height of state could
be shrinked after running a step block.
7 years ago
Yang Yu
f651cefe27
Merge branch 'feature/fill_constant_no_template' into feature/fill_constant_force_cpu
7 years ago
Yu Yang
b4e1824363
Fix CI
7 years ago
Yu Yang
0708a1550c
Fix CI
7 years ago
Yu Yang
5ee62383bd
Rewrite fill_constant op
7 years ago
Yu Yang
aadb098138
Add `op::math::set_constant` without template
7 years ago
Yu Yang
db3b49fe0e
Add gtest for drnn
7 years ago
Yu Yang
bbdac7f7d8
Polish OpWithKernel
...
* Chage `IndicateDataType` to `GetKernelType`. Make it easier to
understand.
* Change `OpKernelKey` to `OpKernelType`
* Make operator developers can customize which kernel the operator will
use in runtime.
7 years ago
Yu Yang
f74fb79036
Compare Operator ( #5325 )
...
* Compare Operator
* Follow comments
7 years ago
qingqing01
58db07b7bb
Check errors for the cuda kernel calls. ( #5436 )
7 years ago
Dong Zhihong
7874399cf3
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
peterzhang2029
f5cb52ca3e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bi_tensor_prod_op
7 years ago
peterzhang2029
3ae14242da
update for mini-batch
7 years ago
typhoonzero
00360e7eb5
update
7 years ago
typhoonzero
579c92abc3
fix compile
7 years ago
dangqingqing
ed2d30b5f9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into lstm_fix
7 years ago
dangqingqing
d94c936bd5
Enhance unit testing.
...
1. user can disable peephole connections.
2. not calculate some gradients.
7 years ago
Dong Zhihong
8d9b33412d
Merge remote-tracking branch 'origin/develop' into feature/evaluator
7 years ago
Dong Zhihong
c09ad73c33
"add fit a line test"
7 years ago
dangqingqing
7eb65b31a5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into avx_cmake
7 years ago
dangqingqing
7abd1bdfff
Fix cmake error when building with WITH_AVX=OFF.
7 years ago
武毅
3014645d35
Merge pull request #5403 from typhoonzero/refine_get_cuda_context
...
Refine get cuda context
7 years ago