#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 192 of file TensorFlow.h.
|
inline |
Definition at line 197 of file TensorFlow.h.
|
inline |
Definition at line 201 of file TensorFlow.h.
References createSession(), and HLT_2024v13_cff::graphPath.
|
inline |
void tensorflow::SessionCache::closeSession | ( | ) |
Definition at line 344 of file TensorFlow.cc.
References tensorflow::closeSession(), graph, alignCSCRings::s, and session.
Referenced by ~SessionCache().
|
inline |
Definition at line 211 of file TensorFlow.h.
References tensorflow::createSession(), graph, HLT_2024v13_cff::graphPath, tensorflow::loadGraphDef(), and session.
Referenced by SessionCache().
|
inline |
std::atomic<GraphDef*> tensorflow::SessionCache::graph |
Definition at line 193 of file TensorFlow.h.
Referenced by closeSession(), createSession(), and cuy.FindIssue::startElement().
std::atomic<Session*> tensorflow::SessionCache::session |
Definition at line 194 of file TensorFlow.h.
Referenced by closeSession(), createSession(), and getSession().