CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TfGraphDefWrapper.h
Go to the documentation of this file.
1 #ifndef RecoTracker_FinalTrackSelectors_TfGraphDefWrapper_h
2 #define RecoTracker_FinalTrackSelectors_TfGraphDefWrapper_h
3 
5 
7 public:
8  TfGraphDefWrapper(tensorflow::Session*, tensorflow::GraphDef*);
10  TfGraphDefWrapper(const 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(tensorflow::Session *, tensorflow::GraphDef *)
const tensorflow::Session * getSession() const
tensorflow::Session * session_
TfGraphDefWrapper & operator=(const TfGraphDefWrapper &)=delete
std::unique_ptr< tensorflow::GraphDef > graph_