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:
07c7644
)
Fixed name of threshold_ var
author
Sergio Guadarrama
<sguada@gmail.com>
Thu, 15 May 2014 23:57:50 +0000
(16:57 -0700)
committer
Sergio
<sguada@gmail.com>
Tue, 27 May 2014 17:32:23 +0000
(10:32 -0700)
src/caffe/test/test_threshold_layer.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/test/test_threshold_layer.cpp
b/src/caffe/test/test_threshold_layer.cpp
index
c475f66
..
454b3cb
100644
(file)
--- a/
src/caffe/test/test_threshold_layer.cpp
+++ b/
src/caffe/test/test_threshold_layer.cpp
@@
-59,7
+59,7
@@
TYPED_TEST(ThresholdLayerTest, TestCPU) {
// Now, check values
const TypeParam* bottom_data = this->blob_bottom_->cpu_data();
const TypeParam* top_data = this->blob_top_->cpu_data();
- const TypeParam threshold_ = layer.theshold_;
+ const TypeParam threshold_ = layer.th
r
eshold_;
for (int i = 0; i < this->blob_bottom_->count(); ++i) {
EXPECT_GE(top_data[i], 0.);
EXPECT_LE(top_data[i], 1.);