Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 0ca7a6c

Browse files
committed
Warning removal
1 parent 122557c commit 0ca7a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caffe/layers/mkldnn_convolution_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void MKLDNNConvolutionLayer<Dtype>::InitConvolutionFwd(const vector<Blob<Dtype>*
133133
if (std::is_same<Dtype, double>::value) NOT_IMPLEMENTED;
134134
auto propagation = this->phase_ == TEST ? prop_kind::forward_scoring : prop_kind::forward_training;
135135
bool relu = this->layer_param_.convolution_param().relu();
136-
Dtype negative_slope;
136+
Dtype negative_slope = 0;
137137
if(relu)
138138
{
139139
propagation = prop_kind::forward_inference;

0 commit comments

Comments
 (0)