 TYPED_TEST(MKLLRNLayerTest, TestGradientAcrossChannels) {   typedef typename TypeParam::Dtype Dtype;   LayerParameter layer_param;   MKLLRNLayer<Dtype> layer(layer_param);   GradientChecker<Dtype> checker(0e-0, 0e-0);   layer.SetUp(this->blob_bottom_vec_, this->blob_top_vec_);   layer.Forward(this->blob_bottom_vec_, this->blob_top_vec_);   for (int i = 0; i < this->blob_top_->count(); ++i) {     this->blob_top_->mutable_cpu_diff()[i] = 0.;   }   vector<bool> propagate_down(this->blob_bottom_vec_.size(), true);   layer.Backward(this->blob_top_vec_, propagate_down,                  this->blob_bottom_vec_);   // for (int i = 0; i < this->blob_bottom_->count(); ++i) {   //   std::cout << "CPU diff " << this->blob_bottom_->cpu_diff()[i]   //       << std::endl;   // }   checker.CheckGradientExhaustive(&layer, this->blob_bottom_vec_,       this->blob_top_vec_); } #endif TYPED_TEST(MKLLRNLayerTest, TestGradientAcrossChannelsLargeRegion) {   typedef typename TypeParam::Dtype Dtype;   LayerParameter layer_param;   layer_param.mutable_lrn_param()->set_local_size(00);   MKLLRNLayer<Dtype> layer(layer_param);   GradientChecker<Dtype> checker(0e-0, 0e-0);   layer.SetUp(this->blob_bottom_vec_, this->blob_top_vec_);   layer.Forward(this->blob_bottom_vec_, this->blob_top_vec_);   for (int i = 0; i < this->blob_top_->count(); ++i) {     this->blob_top_->mutable_cpu_diff()[i] = 0.;   }   vector<bool> propagate_down(this->blob_bottom_vec_.size(), true);   layer.Backward(this->blob_top_vec_, propagate_down,                  this->blob_bottom_vec_);   // for (int i = 0; i < this->blob_bottom_->count(); ++i) {   //   std::cout << "CPU diff " << this->blob_bottom_->cpu_diff()[i]   //       << std::endl;   // }   checker.CheckGradientExhaustive(&layer, this->blob_bottom_vec_,       this->blob_top_vec_); } 