#include <DeepTauBase.h>
Public Types | |
using | GraphPtr = std::shared_ptr< tensorflow::GraphDef > |
Public Member Functions | |
DeepTauCache (const std::string &graph_name, bool mem_mapped) | |
const tensorflow::GraphDef & | getGraph () const |
tensorflow::Session & | getSession () const |
~DeepTauCache () | |
Private Attributes | |
GraphPtr | graph_ |
std::unique_ptr< tensorflow::MemmappedEnv > | memmappedEnv_ |
tensorflow::Session * | session_ |
Definition at line 40 of file DeepTauBase.h.
using deep_tau::DeepTauCache::GraphPtr = std::shared_ptr<tensorflow::GraphDef> |
Definition at line 42 of file DeepTauBase.h.
deep_tau::DeepTauCache::DeepTauCache | ( | const std::string & | graph_name, |
bool | mem_mapped | ||
) |
Definition at line 120 of file DeepTauBase.cc.
References tensorflow::createSession(), Default, tensorflow::loadGraphDef(), AlcaSiPixelAliHarvester0T_cff::options, tensorflow::setThreading(), and btagGenBb_cfi::Status.
deep_tau::DeepTauCache::~DeepTauCache | ( | ) |
|
inline |
|
inline |
|
private |
Definition at line 53 of file DeepTauBase.h.
|
private |
Definition at line 55 of file DeepTauBase.h.
|
private |
Definition at line 54 of file DeepTauBase.h.