Skip to content

Commit

Permalink
Code-format
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Jul 12, 2023
1 parent 6de546c commit 611fe5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoMET/METPUSubtraction/plugins/DeepMETProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ DeepMETProducer::DeepMETProducer(const edm::ParameterSet& cfg, const tensorflow:
max_n_pf_(cfg.getParameter<unsigned int>("max_n_pf")),
session_(cache->getSession()) {
produces<pat::METCollection>();

// Workaround for missing constructor TensorShape::TensorShape(absl::Slice<long>),
// the constructor expects Slice<int64> or initializer_list<int64> 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_);
Expand Down

0 comments on commit 611fe5b

Please sign in to comment.