#include <TensorFlow.h>
Public Member Functions | |
void | closeSession () |
template<typename... Args> | |
void | createSession (const std::string &graphPath, Args &&... sessionArgs) |
const Session * | getSession () const |
SessionCache () | |
template<typename... Args> | |
SessionCache (const std::string &graphPath, Args &&... sessionArgs) | |
~SessionCache () | |
Public Attributes | |
std::atomic< GraphDef * > | graph |
std::atomic< Session * > | session |
Definition at line 186 of file TensorFlow.h.
|
inline |
Definition at line 191 of file TensorFlow.h.
|
inline |
Definition at line 195 of file TensorFlow.h.
References createSession(), and HLT_2022v15_cff::graphPath.
|
inline |
void tensorflow::SessionCache::closeSession | ( | ) |
Definition at line 281 of file TensorFlow.cc.
References tensorflow::closeSession(), graph, alignCSCRings::s, and session.
Referenced by ~SessionCache().
|
inline |
Definition at line 205 of file TensorFlow.h.
References tensorflow::createSession(), graph, HLT_2022v15_cff::graphPath, tensorflow::loadGraphDef(), and session.
Referenced by SessionCache().
|
inline |
std::atomic<GraphDef*> tensorflow::SessionCache::graph |
Definition at line 187 of file TensorFlow.h.
Referenced by closeSession(), createSession(), and cuy.FindIssue::startElement().
std::atomic<Session*> tensorflow::SessionCache::session |
Definition at line 188 of file TensorFlow.h.
Referenced by closeSession(), createSession(), and getSession().