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