TensorFlow Serving C++ API Documentation
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
tensorflow::serving::DynamicSourceRouter< T > Class Template Referencefinal
Inheritance diagram for tensorflow::serving::DynamicSourceRouter< T >:
Inheritance graph
[legend]
Collaboration diagram for tensorflow::serving::DynamicSourceRouter< T >:
Collaboration graph
[legend]

Public Types

using Routes = std::map< string, int >
 

Public Member Functions

Routes GetRoutes () const
 
Status UpdateRoutes (const Routes &routes)
 
- Public Member Functions inherited from tensorflow::serving::SourceRouter< T >
std::vector< Source< T > * > GetOutputPorts ()
 
void SetAspiredVersions (const StringPiece servable_name, std::vector< ServableData< T >> versions) final
 
- Public Member Functions inherited from tensorflow::serving::TargetBase< T >
Source< T >::AspiredVersionsCallback GetAspiredVersionsCallback () final
 

Static Public Member Functions

static Status Create (int num_output_ports, const Routes &routes, std::unique_ptr< DynamicSourceRouter< T >> *result)
 

Protected Member Functions

int num_output_ports () const override
 
int Route (const StringPiece servable_name, const std::vector< ServableData< T >> &versions) override
 
- Protected Member Functions inherited from tensorflow::serving::TargetBase< T >
void Detach ()
 

Additional Inherited Members

- Static Public Attributes inherited from tensorflow::serving::SourceRouter< T >
static constexpr int kNoRoute = -1
 

Detailed Description

template<typename T>
class tensorflow::serving::DynamicSourceRouter< T >

Definition at line 34 of file dynamic_source_router.h.


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