hedaoyuan
2608c48542
Add test cases where the height and width (input, filter) are not equal.
8 years ago
hedaoyuan
01d52ebf16
Fix RowConvOpTest use CpuGpuFuncCompare.
8 years ago
hedaoyuan
1e0cc74145
Merge branch 'develop' of https://github.com/baidu/Paddle into convolution
8 years ago
hedaoyuan
61aa1098fd
BlockExpandLayer based on the ImageExpand Function.
8 years ago
hedaoyuan
48e0f43253
Add ImageExpandFunction.
8 years ago
dangqingqing
f18d83f3c4
follow comments
8 years ago
hedaoyuan
95a7bc018f
follow comments
8 years ago
hedaoyuan
784e21848f
Fix the error of group convolution.
8 years ago
dangqingqing
6e8c5665b4
Add layers into doc.
8 years ago
hedaoyuan
9885c578d7
format
8 years ago
hedaoyuan
d99faf3108
Add the calculation implementation of GemmConvGradInputFunction.
8 years ago
hedaoyuan
90326198e9
Bug fix & add test of GemmConvGradFilter.
8 years ago
hedaoyuan
6a93f0f37a
Add the calculation implementation of GemmConvGradFilterFunction
8 years ago
hedaoyuan
afbe556e56
Modify the arguments description of ConvFunctionBase. And add the definition of backward input and backward filter function.
8 years ago
dangqingqing
18cd1f2558
Fix bug and Python API.
8 years ago
dangqingqing
b3ac51ff90
GPU implementation of row conv.
8 years ago
hedaoyuan
3408b4b2f4
Bug fix
8 years ago
hedaoyuan
c70d3e1af8
Some bug fix
8 years ago
hedaoyuan
3c0aa0cc34
Add GPU GemmConvFunction implementation
8 years ago
dangqingqing
cb6436b50c
CPU implementation of row convolution
8 years ago
hedaoyuan
3ce974b94e
Add group argument in ConvFunctionBase
8 years ago
hedaoyuan
048b14a916
Change stride to strides, and change padding to paddings.
8 years ago
hedaoyuan
455888c509
Add ConvOpTest for NaiveConv and GemmConv
8 years ago
hedaoyuan
1879332a30
Modify FunctionCompare to Compare2Function to support comparison of two CPU functions.
8 years ago
hedaoyuan
1846d9e172
Add a convolution Function based on gemm.
8 years ago
hedaoyuan
b6de52c47b
Bug fix
8 years ago
hedaoyuan
3b65bc7a26
Add a naive convolution implement
8 years ago
gangliao
d10f6cfbed
Merge pull request #1958 from gangliao/gfortran
...
remove gfortran and dlopen lapack libs
8 years ago
Luo Tao
c810e6a7c0
Merge branch 'develop' into release/0.10.0
8 years ago
liaogang
6237f6f57a
revert clang-format
8 years ago
liaogang
f27fd9dc28
follow comments
8 years ago
Yu Yang
6e9e22dbee
Fix function module does not wait protobuf header generate.
...
* Fix #1877
8 years ago
hedaoyuan
3aa01eaf47
Fix ContextProjectionOpTest
8 years ago
Luo Tao
a7827593d8
fix PadOp bug on Gpu
8 years ago
Yu Yang
36524bb2fa
Add Error in FuncConfig.
...
* Also test std::vector
* Use std::vector to PadConf
8 years ago
Yu Yang
c85ac61ad0
Using linb::any/std::any instead of FunctionConfig
8 years ago
Luo Tao
b18d5a846f
fix compile error
8 years ago
Yu Yang
d6292cca16
Merge pull request #1281 from gangliao/bug
...
Add std for setiosflags
8 years ago
xutianbing
ae3ae08473
resolve merge confilicts
8 years ago
xutianbing
9b17c3ff2e
rewrite unit test using Daoyuan's new FunctionTest.
8 years ago
xutianbing
877decdccc
merge Daoyuan's FuncArg, address one of the comments.
8 years ago
xutianbing
47aaac00b0
add some comments...
8 years ago
xutianbing
a948eea3ed
clean unused code.
8 years ago
xutianbing
ccac20d2db
add Cosine Similarity Backward function.
8 years ago
xutianbing
9ee72367ee
Cosine Simlarity Forward Paddle Function.
8 years ago
xutianbing
02c5ecc334
merge
8 years ago
xutianbing
e79841de91
fix test_LayerGrad.
8 years ago
xutianbing
1251501caf
rewrite unit test using new Function Test.
8 years ago
liaogang
250f784122
Add std for setiosflags
8 years ago
Yu Yang
7c04096ecb
Remove compile warning on clang 8.0 in BufferArg.h
...
* CHECK_XX in glog need the left and right values are both signed or
unsigned integer. So we could use integer literal syntax in C/C++
to make literal unsigned or signed. Add suffix 'UL' means unsigned
long.
8 years ago
tianbingsz
ecbff689fb
Merge pull request #1147 from tianbingsz/paddle_func_sparse
...
Matrix::MUL operators using and test Daoyuan's Paddle Function, SparseMatrixArg and Function Test
8 years ago
hedaoyuan
5edbe32f65
Merge pull request #1216 from hedaoyuan/cmrnorm
...
Function Adds some properties
8 years ago
xutianbing
5b1a5c116a
Daoyuan's comments.
8 years ago
xutianbing
999cd14a6e
Further address Daoyuan's comments, clean the code.
8 years ago
xutianbing
b3be735807
Daoyuan's comments.
8 years ago
xutianbing
bc5d7bb6d2
Add Sparse = dense * dense unit test with Daoyuan's Function test
8 years ago
xutianbing
077f936aa5
Support SparseMatrixArg unit test using Daoyuan's new Function Test.
8 years ago
xutianbing
316bf75afd
clean code in function/MulOp.cpp
8 years ago
xutianbing
9ade63e61c
clean code a little bit.
8 years ago
xutianbing
171eaff216
clean the code a little bit.
8 years ago
xutianbing
4751cc8f7e
Pass unit test for SparseCpuMatrix::mul(CpuMatrix, CpuMatrix),
...
SparseGpuMatrix::mul(GpuMatrix, GpuMatrix),
CpuMatrix::mul(CpuSparseMatrix, CpuMatrix),
and GpuMatrix::mul(GpuSparseMatrix, GpuMatrix)
8 years ago
xutianbing
1ca2846ef6
Pass unit test for CpuMatrix::mul(CpuMatrix, CpuSparseMatrix)
...
and GpuMatrix::mul(CpuMatrix, GpuSparseMatrix)
8 years ago
xutianbing
2df8eec520
Pass Unit test for GpuMatrix::mul(GpuMatrix, GpuMatrix) and CpuMatrix::mul(CpuMatrix, CpuMatrix)
8 years ago
xutianbing
1f0cbcf350
add GpuMatrix::mul, CpuMatrix::mul operators
8 years ago
xutianbing
936301f157
Use and test Daoyuan's SparseMatrixArg.
8 years ago
qingqing01
842d25be9d
Merge pull request #1094 from qingqing01/pad_op
...
Padding Operation
8 years ago
hedaoyuan
a9228e2a40
Fix CrossMapNormalGradFunc
8 years ago
hedaoyuan
c4437fa231
Add FunctionBase::check()
8 years ago
hedaoyuan
9896f15e7c
Add FunctionBase::ops()
8 years ago
hedaoyuan
225a8fa14b
Add numInputs_ and numOutputs_
8 years ago
hedaoyuan
5b9450ae08
follow comments
8 years ago
dangqingqing
abeb3aae84
Minor changes
8 years ago
hedaoyuan
4426573a6e
follow comments
8 years ago
dangqingqing
44e3c724f9
Refine and comments
8 years ago
hedaoyuan
7acd669ee2
Supplement the data format specifications for the parameters.
8 years ago
hedaoyuan
0cc3d82902
Add some comment of CrossMapNormalFunc
8 years ago
dangqingqing
8d47499e1d
update code
8 years ago
hedaoyuan
1c5a7c4316
follow comments
8 years ago
hedaoyuan
f8c9c889c3
Fix CrossMapNormalTest
8 years ago
hedaoyuan
1e233171ff
Fix merge error
8 years ago
hedaoyuan
283bee2883
Merge branch 'develop' of https://github.com/baidu/Paddle into FunctionTest
8 years ago
dangqingqing
47e88f4a2d
update code
8 years ago
hedaoyuan
b791dcddcc
Fix CrossMapNormal Test
8 years ago
hedaoyuan
678174339f
Implement the FunctionTest
8 years ago
hedaoyuan
039c0bf223
Add some constructors for generating object that only contains shape (do not contains data).
8 years ago
hedaoyuan
2a20fdc14b
Change BufferArgPtr to BufferArg*
8 years ago
xutianbing
e9794214cb
Address further comments.
8 years ago
xutianbing
8560ce69ff
Daoyuan's comments about SequenceArg.
8 years ago
xutianbing
9edfd20031
use Daoyuan's SequenceArg.
8 years ago
xutianbing
23ac0b78cb
merge Daoyuan's FuncArgs, pass the ContextProjection test.
8 years ago
xutianbing
1482ec430a
some comments.
8 years ago
xutianbing
df66957ec3
clean a little bit code.
8 years ago
xutianbing
86fa8c0528
Wei Xu's comments, set up right inouts.
8 years ago
hedaoyuan
bff19f57d1
Add a CheckBufferArg.
...
It is used to check the consistency between the BufferArg type argument
received by Function and the original type argument.
8 years ago
hedaoyuan
fdf194aeaf
move a test case from BufferArgTest.cpp to FunctionTest.cpp
8 years ago
hedaoyuan
2629d43ff7
New FunctionTest
8 years ago
hedaoyuan
d623378ea0
fix some warning about CpuSparseMatrix
8 years ago
hedaoyuan
ae4400beda
Bug fix for mac os
8 years ago
hedaoyuan
ee2da539de
Merge branch 'develop' of https://github.com/baidu/Paddle into buffer
8 years ago
hedaoyuan
df9be2d483
fix CrossMapNormalFunc and ContextProjectionFunc(remove inouts argument)
8 years ago
hedaoyuan
57e252119e
BufferArg add ArgType and Function remove inouts
8 years ago
hedaoyuan
d35ef9de10
follow commit
8 years ago
dangqingqing
74f76e61d8
update code and fix bug
8 years ago
dangqingqing
6b61a096e1
Optional padding mode, namely ceil or floor, ceil by default.
8 years ago
dangqingqing
c8817a192b
merge upstream
8 years ago
dangqingqing
8b5431d5e1
padding operation
8 years ago
Yu Yang
d41ac09090
Merge pull request #1017 from gangliao/external
...
Download, build, install External dependencies via cmake
8 years ago
hedaoyuan
ccf0b1bb2e
add FunctionTest.cpp
8 years ago
hedaoyuan
f3fdfd941f
add some comments for Function.h
8 years ago
hedaoyuan
41c52d3b0c
Modify the argument type of ContextProjectionFunc
8 years ago
hedaoyuan
68156c88c5
Modify the argument type of Function
8 years ago
liaogang
fc47492f41
Fix merge conflict bug and glog
8 years ago
liaogang
b090ce329a
Fix conflict with develop
8 years ago
hedaoyuan
c5c8051657
add BufferArg
8 years ago
hedaoyuan
0c4be7e6a6
add TensorType.h
8 years ago
xutianbing
936b0ed118
add paddle_test_util static lib to simplify unit test.
8 years ago
hedaoyuan
904eefaf8a
add TensorShape use to represent tensor of any dimension.
8 years ago
xutianbing
ec6b13dbfc
clean up unused code.
8 years ago
xutianbing
ea4d08dab6
update interface of context projection functions, Tensor -> Matrix/Vector
8 years ago
xutianbing
2c37ad7edc
combine data/weight to ContextProjectionBackward for clean code
8 years ago
xutianbing
f23a11702a
add Context Projection functions to Layer's forward and backward,
...
resolve merge conflicts
8 years ago
xutianbing
590ecba305
add ContextProjectionBackward, ContextProjectionBackwardData, ContextProjectionBackwardWeightw
8 years ago
xutianbing
838ef366dc
add first paddle function example for ContextProjectionForward operator,
...
by going through Daoyuan's excellent paddle function design.
8 years ago
hedaoyuan
54a2b1f682
Merge pull request #1003 from hedaoyuan/remove_main
...
Remove the main function inside the test file
8 years ago
hedaoyuan
918c1ed1c0
move TestMain.cpp to testing
8 years ago
liaogang
0b956711d9
Add external_project_dependencies for targets
8 years ago
liaogang
de3c15277f
Fix glog check type unmatch
8 years ago
hedaoyuan
dc1ee4449c
follow some comments whit pr 854 after committed
8 years ago
hedaoyuan
b132fde01d
follow some comments with issue 973
8 years ago
hedaoyuan
cf498cfad5
move TestMain.cpp into utils and fix some tests for check
8 years ago
hedaoyuan
f1a94e3ff7
follow comments
8 years ago
hedaoyuan
5fddd99e18
move TEST from test_matrixCompare.cpp to cross_map_normal_op_test.cpp
8 years ago
hedaoyuan
cee9346804
add some comments
8 years ago
hedaoyuan
558e86927c
add CMakeLists
8 years ago
hedaoyuan
22a5e478f3
move Function to function dir
8 years ago