Rosetta
Classes | Typedefs | Functions
basic::tensorflow_manager Namespace Reference

Classes

class  RosettaTensorflowManager
 A manager class for loading Tensorflow sessions and controlling mapping to the CPU or GPU. More...
 
class  RosettaTensorflowProtocolBase
 A pure virtual base class for storing Tensorflow sessions and the code for executing them and returning a result. Derived classes will be protocol-specific, and will accept a RosettaTensorflowInput and produce a RosettaTensorflowOutput. More...
 
class  RosettaTensorflowTensorContainer
 
struct  TFDataTypeDetector
 
struct  TFDataTypeDetector< float >
 
struct  TFDataTypeDetector< double >
 
struct  TFDataTypeDetector< bool >
 
struct  TFDataTypeDetector< int >
 
struct  TFDataTypeDetector< unsigned int >
 
struct  TFDataTypeDetector< long int >
 
struct  TFDataTypeDetector< unsigned long int >
 

Typedefs

typedef std::chrono::high_resolution_clock ROSETTA_TENSORFLOW_CLOCK
 
using RosettaTensorflowManagerOP = utility::pointer::shared_ptr< RosettaTensorflowManager >
 
using RosettaTensorflowManagerCOP = utility::pointer::shared_ptr< RosettaTensorflowManager const >
 
using RosettaTensorflowProtocolBaseOP = utility::pointer::shared_ptr< RosettaTensorflowProtocolBase >
 
using RosettaTensorflowProtocolBaseCOP = utility::pointer::shared_ptr< RosettaTensorflowProtocolBase const >
 
using RosettaTensorflowSessionContainerOP = utility::pointer::shared_ptr< RosettaTensorflowSessionContainer >
 
using RosettaTensorflowSessionContainerCOP = utility::pointer::shared_ptr< RosettaTensorflowSessionContainer const >
 
template<typename T >
using RosettaTensorflowTensorContainerOP = utility::pointer::shared_ptr< RosettaTensorflowTensorContainer< T > >
 
template<typename T >
using RosettaTensorflowTensorContainerCOP = utility::pointer::shared_ptr< RosettaTensorflowTensorContainer< T > const >
 

Functions

std::string get_tensorflow_compilation_instructions (std::string const &module_name, bool const use_single_quotations)
 Writes the following message: The <module_name> requires compilation with Tensorflow support. To compile with Tensorflow support... (Followed by instructions terminating in a carriage return character.) More...
 

Typedef Documentation

◆ ROSETTA_TENSORFLOW_CLOCK

typedef std::chrono::high_resolution_clock basic::tensorflow_manager::ROSETTA_TENSORFLOW_CLOCK

◆ RosettaTensorflowManagerCOP

using basic::tensorflow_manager::RosettaTensorflowManagerCOP = typedef utility::pointer::shared_ptr< RosettaTensorflowManager const >

◆ RosettaTensorflowManagerOP

◆ RosettaTensorflowProtocolBaseCOP

◆ RosettaTensorflowProtocolBaseOP

◆ RosettaTensorflowSessionContainerCOP

using basic::tensorflow_manager::RosettaTensorflowSessionContainerCOP = typedef utility::pointer::shared_ptr< RosettaTensorflowSessionContainer const >

◆ RosettaTensorflowSessionContainerOP

using basic::tensorflow_manager::RosettaTensorflowSessionContainerOP = typedef utility::pointer::shared_ptr< RosettaTensorflowSessionContainer >

◆ RosettaTensorflowTensorContainerCOP

template<typename T >
using basic::tensorflow_manager::RosettaTensorflowTensorContainerCOP = typedef utility::pointer::shared_ptr< RosettaTensorflowTensorContainer< T > const >

◆ RosettaTensorflowTensorContainerOP

template<typename T >
using basic::tensorflow_manager::RosettaTensorflowTensorContainerOP = typedef utility::pointer::shared_ptr< RosettaTensorflowTensorContainer< T > >

Function Documentation

◆ get_tensorflow_compilation_instructions()

std::string basic::tensorflow_manager::get_tensorflow_compilation_instructions ( std::string const &  module_name,
bool const  use_single_quotations = false 
)

Writes the following message: The <module_name> requires compilation with Tensorflow support. To compile with Tensorflow support... (Followed by instructions terminating in a carriage return character.)

Note
If use_single_quotations is true, quoted strings use a single quotation (') instead of a double ("). This is necessary in the context of, for example, the RosettaScripts XSD, where double quotations are prohibited in descriptions.

References utility::replace_in().

Referenced by main().