#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 189 of file TensorFlow.h.
|
inline |
Definition at line 194 of file TensorFlow.h.
|
inline |
Definition at line 198 of file TensorFlow.h.
References createSession(), and HLT_2024v14_cff::graphPath.
|
inline |
void tensorflow::SessionCache::closeSession | ( | ) |
Definition at line 334 of file TensorFlow.cc.
References tensorflow::closeSession(), graph, alignCSCRings::s, and session.
Referenced by ~SessionCache().
|
inline |
Definition at line 208 of file TensorFlow.h.
References tensorflow::createSession(), graph, HLT_2024v14_cff::graphPath, tensorflow::loadGraphDef(), and session.
Referenced by SessionCache().
|
inline |
std::atomic<GraphDef*> tensorflow::SessionCache::graph |
Definition at line 190 of file TensorFlow.h.
Referenced by closeSession(), createSession(), and cuy.FindIssue::startElement().
std::atomic<Session*> tensorflow::SessionCache::session |
Definition at line 191 of file TensorFlow.h.
Referenced by closeSession(), createSession(), and getSession().