Skip to content

Commit 2cf9dd3

Browse files
committed
Add missing spaces besides equal signs in batch_norm_layer.cpp
1 parent 28c135c commit 2cf9dd3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/caffe/layers/batch_norm_layer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void BatchNormLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
2727
sz.push_back(channels_);
2828
this->blobs_[0].reset(new Blob<Dtype>(sz));
2929
this->blobs_[1].reset(new Blob<Dtype>(sz));
30-
sz[0]=1;
30+
sz[0] = 1;
3131
this->blobs_[2].reset(new Blob<Dtype>(sz));
3232
for (int i = 0; i < 3; ++i) {
3333
caffe_set(this->blobs_[i]->count(), Dtype(0),
@@ -61,7 +61,7 @@ void BatchNormLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
6161
variance_.Reshape(sz);
6262
temp_.ReshapeLike(*bottom[0]);
6363
x_norm_.ReshapeLike(*bottom[0]);
64-
sz[0]=bottom[0]->shape(0);
64+
sz[0] = bottom[0]->shape(0);
6565
batch_sum_multiplier_.Reshape(sz);
6666

6767
int spatial_dim = bottom[0]->count()/(channels_*bottom[0]->shape(0));

0 commit comments

Comments
 (0)