We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1b30a commit 6af56beCopy full SHA for 6af56be
src/caffe/layers/eltwise_layer.cpp
@@ -27,7 +27,7 @@ void EltwiseLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
27
coeffs_[i] = this->layer_param().eltwise_param().coeff(i);
28
}
29
30
- input_scale_ = vector<Dtype>(bottom.size(), 0);
+ input_scale_ = vector<Dtype>(bottom.size(), 1.0);
31
if (this->layer_param().eltwise_param().input_scale_size()) {
32
for (int i = 0; i < bottom.size(); ++i) {
33
input_scale_[i] = this->layer_param().eltwise_param().input_scale(i);
0 commit comments