Skip to content

Commit

Permalink
fix code format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
[Minxi committed Nov 16, 2020
1 parent cb1cf49 commit 9262727
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions RecoTracker/FinalTrackSelectors/plugins/TrackTfClassifier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@ namespace {
void beginStream() {}

void initEvent(const edm::EventSetup& es) {
std::cout<<"flag1"<<std::endl;
if (!cache_->session_) {
std::cout<<"flag2"<<std::endl;
edm::ESHandle<TfGraphDefWrapper> tfDnnHandle;
std::cout<<"flag3"<<std::endl;
es.get<TfGraphRecord>().get(tfDnnLabel_, tfDnnHandle);
std::cout<<"flag4"<<std::endl;
tensorflow::GraphDef* graphDef_ = tfDnnHandle.product()->getGraphDef();
cache_->session_ = tensorflow::createSession(
graphDef_, 1); //The integer controls how many threads are used for running inference
Expand Down

0 comments on commit 9262727

Please sign in to comment.