@@ -146,14 +146,14 @@ void PoolingLayer<Dtype>::Forward_gpu(const vector<Blob<Dtype>*>& bottom,
146146 int count = (*top)[0 ]->count ();
147147 switch (this ->layer_param_ .pool ()) {
148148 case LayerParameter_PoolMethod_MAX:
149- // NOLINT_NEXTLINE (whitespace/operators)
149+ // NOLINT_NEXT_LINE (whitespace/operators)
150150 MaxPoolForward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>> (
151151 count, bottom_data, bottom[0 ]->num (), CHANNELS_,
152152 HEIGHT_, WIDTH_, POOLED_HEIGHT_, POOLED_WIDTH_, KSIZE_, STRIDE_,
153153 top_data);
154154 break ;
155155 case LayerParameter_PoolMethod_AVE:
156- // NOLINT_NEXTLINE (whitespace/operators)
156+ // NOLINT_NEXT_LINE (whitespace/operators)
157157 AvePoolForward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>> (
158158 count, bottom_data, bottom[0 ]->num (), CHANNELS_,
159159 HEIGHT_, WIDTH_, POOLED_HEIGHT_, POOLED_WIDTH_, KSIZE_, STRIDE_,
@@ -164,14 +164,14 @@ void PoolingLayer<Dtype>::Forward_gpu(const vector<Blob<Dtype>*>& bottom,
164164 // We need to create the random index as well.
165165 CURAND_CHECK (curandGenerateUniform (Caffe::curand_generator (),
166166 rand_idx_.mutable_gpu_data (), count));
167- // NOLINT_NEXTLINE (whitespace/operators)
167+ // NOLINT_NEXT_LINE (whitespace/operators)
168168 StoPoolForwardTrain<Dtype><<<CAFFE_GET_BLOCKS(count),
169169 CAFFE_CUDA_NUM_THREADS>>> (
170170 count, bottom_data, bottom[0 ]->num (), CHANNELS_,
171171 HEIGHT_, WIDTH_, POOLED_HEIGHT_, POOLED_WIDTH_, KSIZE_, STRIDE_,
172172 rand_idx_.mutable_gpu_data (), top_data);
173173 } else {
174- // NOLINT_NEXTLINE (whitespace/operators)
174+ // NOLINT_NEXT_LINE (whitespace/operators)
175175 StoPoolForwardTest<Dtype><<<CAFFE_GET_BLOCKS(count),
176176 CAFFE_CUDA_NUM_THREADS>>> (
177177 count, bottom_data, bottom[0 ]->num (), CHANNELS_,
@@ -294,21 +294,21 @@ Dtype PoolingLayer<Dtype>::Backward_gpu(const vector<Blob<Dtype>*>& top,
294294 int count = (*bottom)[0 ]->count ();
295295 switch (this ->layer_param_ .pool ()) {
296296 case LayerParameter_PoolMethod_MAX:
297- // NOLINT_NEXTLINE (whitespace/operators)
297+ // NOLINT_NEXT_LINE (whitespace/operators)
298298 MaxPoolBackward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>> (
299299 count, (*bottom)[0 ]->gpu_data (), top[0 ]->gpu_data (), top_diff,
300300 top[0 ]->num (), CHANNELS_, HEIGHT_, WIDTH_, POOLED_HEIGHT_,
301301 POOLED_WIDTH_, KSIZE_, STRIDE_, bottom_diff);
302302 break ;
303303 case LayerParameter_PoolMethod_AVE:
304- // NOLINT_NEXTLINE (whitespace/operators)
304+ // NOLINT_NEXT_LINE (whitespace/operators)
305305 AvePoolBackward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>> (
306306 count, top_diff, top[0 ]->num (), CHANNELS_,
307307 HEIGHT_, WIDTH_, POOLED_HEIGHT_, POOLED_WIDTH_, KSIZE_, STRIDE_,
308308 bottom_diff);
309309 break ;
310310 case LayerParameter_PoolMethod_STOCHASTIC:
311- // NOLINT_NEXTLINE (whitespace/operators)
311+ // NOLINT_NEXT_LINE (whitespace/operators)
312312 StoPoolBackward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>> (
313313 count, rand_idx_.gpu_data (), top_diff,
314314 top[0 ]->num (), CHANNELS_, HEIGHT_, WIDTH_, POOLED_HEIGHT_,
0 commit comments