projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbb8e40
)
fix clang compilation problem w/ DummyDataLayer
author
Jeff Donahue
<jeff.donahue@gmail.com>
Tue, 10 Jun 2014 18:35:08 +0000
(11:35 -0700)
committer
Jeff Donahue
<jeff.donahue@gmail.com>
Tue, 10 Jun 2014 18:35:08 +0000
(11:35 -0700)
src/caffe/layers/dummy_data_layer.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/layers/dummy_data_layer.cpp
b/src/caffe/layers/dummy_data_layer.cpp
index
8925772
..
58044f4
100644
(file)
--- a/
src/caffe/layers/dummy_data_layer.cpp
+++ b/
src/caffe/layers/dummy_data_layer.cpp
@@
-75,7
+75,7
@@
void DummyDataLayer<Dtype>::SetUp(const vector<Blob<Dtype>*>& bottom,
(*top)[i]->Reshape(num, channels, height, width);
}
// Run Forward once, with refill_ inverted, to fill the constant Blobs.
- Forward(bottom, top);
+
this->
Forward(bottom, top);
// Invert the inverted refill_ values to refill the desired (non-constant)
// Blobs in every usual forward pass.
for (int i = 0; i < refill_.size(); ++i) {