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:
a35929f
)
remove redundant code in ConvolutionLayer::Reshape
author
Jonathan L Long
<jonlong@cs.berkeley.edu>
Mon, 1 Dec 2014 05:34:29 +0000
(21:34 -0800)
committer
Jonathan L Long
<jonlong@cs.berkeley.edu>
Mon, 1 Dec 2014 05:34:29 +0000
(21:34 -0800)
src/caffe/layers/conv_layer.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/layers/conv_layer.cpp
b/src/caffe/layers/conv_layer.cpp
index
65ff916
..
0a03202
100644
(file)
--- a/
src/caffe/layers/conv_layer.cpp
+++ b/
src/caffe/layers/conv_layer.cpp
@@
-126,9
+126,6
@@
void ConvolutionLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
// it goes lazily unused to save memory.
col_buffer_.Reshape(
1, channels_ * kernel_h_ * kernel_w_, height_out_, width_out_);
- for (int top_id = 0; top_id < top.size(); ++top_id) {
- top[top_id]->Reshape(num_, num_output_, height_out_, width_out_);
- }
// Set up the all ones "bias multiplier" for adding biases by BLAS
if (bias_term_) {
bias_multiplier_.Reshape(1, 1, 1, N_);