CMS 3D CMS Logo

TfGraphDefWrapper.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_TensorFlow_TfGraphDefWrapper_h
2 #define PhysicsTools_TensorFlow_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
const tensorflow::Session * getSession() const
TfGraphDefWrapper(tensorflow::Session *, tensorflow::GraphDef *)
tensorflow::Session * session_
TfGraphDefWrapper & operator=(const TfGraphDefWrapper &)=delete
std::unique_ptr< tensorflow::GraphDef > graph_