RecoTracker
FinalTrackSelectors
interface
TfGraphDefWrapper.h
Go to the documentation of this file.
1
#ifndef RecoTracker_FinalTrackSelectors_TfGraphDefWrapper_h
2
#define RecoTracker_FinalTrackSelectors_TfGraphDefWrapper_h
3
4
#include "
PhysicsTools/TensorFlow/interface/TensorFlow.h
"
5
6
class
TfGraphDefWrapper
{
7
public
:
8
TfGraphDefWrapper
(tensorflow::Session*, tensorflow::GraphDef*);
9
~TfGraphDefWrapper
();
10
TfGraphDefWrapper
(
const
TfGraphDefWrapper
&) =
delete
;
11
TfGraphDefWrapper
&
operator=
(
const
TfGraphDefWrapper
&) =
delete
;
12
TfGraphDefWrapper
(
TfGraphDefWrapper
&&) =
delete
;
13
TfGraphDefWrapper
&
operator=
(
TfGraphDefWrapper
&&) =
delete
;
14
const
tensorflow::Session*
getSession
()
const
;
15
16
private
:
17
tensorflow::Session*
session_
;
18
std::unique_ptr<tensorflow::GraphDef>
graph_
;
19
};
20
21
#endif
TfGraphDefWrapper::getSession
const tensorflow::Session * getSession() const
Definition:
TfGraphDefWrapper.cc:5
TensorFlow.h
TfGraphDefWrapper::~TfGraphDefWrapper
~TfGraphDefWrapper()
Definition:
TfGraphDefWrapper.cc:7
TfGraphDefWrapper::TfGraphDefWrapper
TfGraphDefWrapper(tensorflow::Session *, tensorflow::GraphDef *)
Definition:
TfGraphDefWrapper.cc:3
TfGraphDefWrapper::session_
tensorflow::Session * session_
Definition:
TfGraphDefWrapper.h:17
TfGraphDefWrapper
Definition:
TfGraphDefWrapper.h:6
TfGraphDefWrapper::graph_
std::unique_ptr< tensorflow::GraphDef > graph_
Definition:
TfGraphDefWrapper.h:18
TfGraphDefWrapper::operator=
TfGraphDefWrapper & operator=(const TfGraphDefWrapper &)=delete
Generated for CMSSW Reference Manual by
1.8.16