diff --git a/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc b/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc index 967394ff6070a..da3f37487454c 100644 --- a/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc +++ b/RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc @@ -42,14 +42,14 @@ DeepMETProducer::DeepMETProducer(const edm::ParameterSet& cfg, const tensorflow: max_n_pf_(cfg.getParameter("max_n_pf")), session_(cache->getSession()) { produces(); - + // Workaround for missing constructor TensorShape::TensorShape(absl::Slice), // the constructor expects Slice or initializer_list and is marked explicit tensorflow::TensorShape shape; shape.AddDim(1); shape.AddDim(max_n_pf_); shape.AddDim(8); - + tensorflow::TensorShape cat_shape; shape.AddDim(1); shape.AddDim(max_n_pf_);