Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Private Member Functions | Friends | List of all members
basic::tensorflow_manager::RosettaTensorflowManager Class Reference

A manager class for loading Tensorflow sessions and controlling mapping to the CPU or GPU. More...

#include <RosettaTensorflowManager.hh>

Inheritance diagram for basic::tensorflow_manager::RosettaTensorflowManager:
Inheritance graph
[legend]

Private Member Functions

 RosettaTensorflowManager ()
 Empty constructor. More...
 
 RosettaTensorflowManager (RosettaTensorflowManager const &)=delete
 Copy constructor is explicitly deleted. More...
 
RosettaTensorflowManager operator= (RosettaTensorflowManager const &)=delete
 Assignment operator is explicitly deleted. More...
 
 ~RosettaTensorflowManager ()
 Destructor. More...
 

Friends

class utility::SingletonBase< RosettaTensorflowManager >
 

Additional Inherited Members

- Public Member Functions inherited from utility::SingletonBase< RosettaTensorflowManager >
 SingletonBase ()
 public constructor (the derived class must have a private constructor, of course). More...
 
- Static Public Member Functions inherited from utility::SingletonBase< RosettaTensorflowManager >
static RosettaTensorflowManager * get_instance ()
 Safely instantiate a singleton class in a (possibly) multithreaded context. More...
 

Detailed Description

A manager class for loading Tensorflow sessions and controlling mapping to the CPU or GPU.

Constructor & Destructor Documentation

basic::tensorflow_manager::RosettaTensorflowManager::RosettaTensorflowManager ( )
private

Empty constructor.

basic::tensorflow_manager::RosettaTensorflowManager::RosettaTensorflowManager ( RosettaTensorflowManager const &  )
privatedelete

Copy constructor is explicitly deleted.

basic::tensorflow_manager::RosettaTensorflowManager::~RosettaTensorflowManager ( )
private

Destructor.

Checks for sessions that are still in use and spits out warnings (but does not throw exceptions).

References basic::Tracer::Error, and basic::TR.

Member Function Documentation

RosettaTensorflowManager basic::tensorflow_manager::RosettaTensorflowManager::operator= ( RosettaTensorflowManager const &  )
privatedelete

Assignment operator is explicitly deleted.

Friends And Related Function Documentation


The documentation for this class was generated from the following files: