projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb399e
)
[tests] don't use Gaussian labels in NetTest's TinyNet
author
Jonathan L Long
<jonlong@cs.berkeley.edu>
Tue, 30 Dec 2014 20:52:53 +0000
(12:52 -0800)
committer
Jonathan L Long
<jonlong@cs.berkeley.edu>
Tue, 30 Dec 2014 20:52:53 +0000
(12:52 -0800)
Previously, labels were being nonsensically filled with a zero-mean
Gaussian. Now they are just set to constant zero. Note that this is not
necessary for TrickyNet, neither forward nor backward are ever called.
src/caffe/test/test_net.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/test/test_net.cpp
b/src/caffe/test/test_net.cpp
index
611d11b
..
319958f
100644
(file)
--- a/
src/caffe/test/test_net.cpp
+++ b/
src/caffe/test/test_net.cpp
@@
-75,6
+75,10
@@
class NetTest : public MultiDeviceTest<TypeParam> {
" type: 'gaussian' "
" std: 0.01 "
" } "
+ " data_filler { "
+ " type: 'constant' "
+ " value: 0 "
+ " } "
" } "
" top: 'data' "
" top: 'label' "