hedaoyuan
ff7b4284f4
Add a auto compare for BaseMatrix
8 years ago
liaogang
e488001675
Merge conflict with hl_cuda_device.cc
8 years ago
Luo Tao
80c68d38ff
clang format .cc .h .cpp .c and .hpp file
8 years ago
Yu Yang
5e738ca333
Change auto => size_t in BaseMatrix.cu
...
* Because it is a cuda source file, and we need to support c++ 03 in
cuda.
8 years ago
liaogang
8393c19ccf
Add recursive mutex and counter for gpu profiler
8 years ago
Yu Yang
20600e7036
Fix several cpp issues
...
* Different Type compare.
* ostream << should pass a const object.
* remove always true checks.
9 years ago
liaogang
2c84c1ecfb
Add profiler object and update docs
9 years ago
liaogang
84cab2c763
Merge conflict with develop branch
9 years ago
liaogang
e8c0fb9e14
Add GPU Profiler unit test
9 years ago
Yu Yang
9115ab1c11
Merge pull request #450 from reyoung/feature/pre-commit-hooks-scripts
...
Feature/pre commit hooks scripts
9 years ago
xuwei06
a6ad9a1608
Fix unittest
...
Change-Id: Ic80845c892c96c37a0df0ddc433fe1aeaa5a9d1c
9 years ago
xuwei06
bf6f690f31
Add ScalingProjection
...
out = w * input
where w is a parameter of size 1
Change-Id: Ife682d62323ceb1a20cbbf6269421b20a862d888
9 years ago
Yu Yang
836d61382f
Update pre-commit-config
...
* Check all files by pre commit hooks
9 years ago
Haonan
5591292b7a
modifications according to comments
9 years ago
Haonan
069d0004dc
multi_binary_cross_entropy when ids vector is provided
9 years ago
qijun
9dd588b414
fix merge conflicts
9 years ago
gangliao
8295eb91bf
Merge pull request #287 from gangliao/bilinear
...
Add bilinear interpolation layer
9 years ago
qingqing01
cfc965d52c
Merge pull request #269 from wangyang59/deconv
9 years ago
qijun
61444d903d
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
9 years ago
wangyang59
af7a50c0d4
minor changes on deconv implementation and add protostr test for deconv layer
9 years ago
wangyang59
53e1629a43
Refactored imageSize in ConvBaseLayer to MathUtil
9 years ago
liaogang
bc2b521c24
Follow comments
9 years ago
Liang Zhao
992ac8f9a1
Implement setDiag() with BaseMatrix::assign()
9 years ago
Liang Zhao
8c40bfd0fc
Make matrix well-conditioned when unittest inverse
9 years ago
qijun
3553576e6e
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
9 years ago
liaogang
cc04a7d7ab
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
9 years ago
liaogang
db1757556e
Follow comments
9 years ago
hedaoyuan
125c19a3c3
fix some nvcc compile options ( #392 )
9 years ago
qijun
db569f293e
fix merge conflict
9 years ago
hedaoyuan
a07da94939
fix floating-point overflow problem of tanh ( #355 )
9 years ago
qijun
5ece5c96ad
add python wrap for sppLayer
9 years ago
liaogang
5a1e7dbc6a
Fix conflict
9 years ago
luotao1
e802471c58
abstract outputSize function in CNN-related layers ( #314 )
9 years ago
liaogang
724d6dd40a
Replace outputH to batchSize
9 years ago
liaogang
d373c10091
Fix bilinear interp bug
9 years ago
liaogang
bd38facada
Fix conflict
9 years ago
liaogang
57348806b5
Follow comments
9 years ago
lzhao4ever
36bda94eb4
include mkl_lapacke.h ( #359 )
9 years ago
lzhao4ever
5f2059db05
Add matrix inverse ( #240 )
...
* Add matrix inverse
9 years ago
qijun
766a61c374
fix conflict with baidu/develop
9 years ago
qingqing01
45c81a414f
Add job=time in trainer, refine cudnn_conv to reduce gpu memory and speed up training. ( #218 )
...
* Add benchmark for PaddlePaddle, tensorflow and caffe
* ConvProjection to reduce memory for goolenet
* Add unit test for ConvProjection.
1. unit test in test_LayerGrad.
2. compare the ConvPorjection and CudnnConvLayer, also compare the concat_layer+img_conv_layer and concat_layer_conv_projection.
* Reduce cudnn_conv memory and add benchmark document.
1. Use TmpMatrix as the workspace in cudnn_conv to reduce gpu memory. It reduce lots of memory.
2. Add benchmark document.
3. fix smallnet_mnist_cifar.py in paddle.
* Add job=time and refine cudnn_conv to reduce gpu memroy and speed up
* Refine cudnn_conv and shared biases operation in concat_layer and mixed_layer.
* follow comments
* follow comments
* Use unique_ptr to prevent memory leaks in CudnnConvLayer.
9 years ago
qijun
cdac60f616
add SpatialPyramidPoolLayer c++ support
9 years ago
liaogang
460320a41c
fix type unmatch on gcc
9 years ago
liaogang
fd4eeaf59c
Merge conflict with maxout layer
9 years ago
liaogang
ddfff3a7fd
Add bilinear interpolation layer
9 years ago
backyes
46bd5f53e3
add input sparse data check for sparse layer at runtime ( #247 )
...
* add input sparse data check for sparse layer at runtime,
to avoid invalid data access at pserver end while doing prefetch
* remote sparse design support binary sparse and float saprse both
9 years ago
luotao1
3dd8c9bea4
add maxout layer, including interface and unittest ( #229 )
...
* add maxout layer, including interface and unittest
* follow maxout comments
* auto setting channels
* fix unittest bug in test_RecurrentGradientMachine
9 years ago
luotao1
91df606280
remove some copyfrom in AgentLayer and ExpandLayer, fix warning in seq2seq config ( #183 )
9 years ago
qingqing01
191fafe355
support rectangle padding, stride, window and input for PoolProjection ( #115 )
...
* support rectangle padding, stride, window and input for PoolProjection
* Follow comments.
1. Remove start
2. refine img_pool_a/b.conf for test_NetworkCompare
3. Split unit test
* Modify the test in img_layers.py
9 years ago
Yu Yang
cbb904356c
Remove main function in some unittest.
9 years ago
liaogang
a8df411192
Replace random_shuffle using shuffle.
...
* reduce trainer count for unit test on MAC OSX
9 years ago
liaogang
b8d26ff4d7
fix float except bugs
9 years ago
liaogang
536bf7d87f
fix poolAllocator unordered_map bug on Mac OS X
...
* using map to replace unordered_map on Mac
9 years ago
liaogang
92ca98d5f5
Merge remote-tracking branch 'upstream/master'
9 years ago
liaogang
1f8c21978d
replace fabsf() using std::abs
9 years ago
liaogang
d8366a67fa
fix bug on thread barrier
9 years ago
Haonan
688eeefab3
fixed issues with synchronizing streams when copy from gpu to cpu
...
* by default, synchronize default_stream after resizeAndCopyFrom
* add sync in some places after resizeAndCopyFrom using other streams
9 years ago
liaogang
b2d65384e9
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# paddle/math/tests/test_perturbation.cpp
9 years ago
liaogang
1df0c7b149
avoid link failed on unit test for mac os
9 years ago
Yu Yang
55a1a7588b
Disable a unittest will use large memory by grep
9 years ago
Yu Yang
a238b11f83
Fix linux compile
9 years ago
liaogang
58f74e2ca1
Add main entry for unit test files and replace memalign by posix_memalign
9 years ago
liaogang
3f5ce64cab
fix StorageEngine::singleton and std::function<void()> type unmatched.
9 years ago
liaogang
445d1e8201
Support MAC OS for PaddlePaddle
9 years ago
He
903d5c7ec0
bug fix for hl_matrix_classification_error
9 years ago
liaogang
291318e5a2
delete Bits.h and move its func into utils/Util.h
...
Change-Id: Ib7f7d3c65c9850b8420f9a4799835a7ea03572bd
9 years ago
dangqingqing
54d4968d38
Refine code and comments for CRMNormLayer.
...
ISSUE=4612671
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1501 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
dangqingqing
7857d7f74b
Bug fix for image classification demo and ResNet model zoo when using CPU.
...
But need to check consistency of CPU and GPU later for conv layer.
ISSUE=4592155
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1427 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
zhangjinchao01
b72beee4f0
fix dash and space bug,
...
ISSUE=4586495
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1408 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago