TensorFlow Serving C++ API Documentation
Public Member Functions | List of all members
tensorflow::serving::HashmapSourceAdapter Class Referencefinal
Inheritance diagram for tensorflow::serving::HashmapSourceAdapter:
Inheritance graph
[legend]
Collaboration diagram for tensorflow::serving::HashmapSourceAdapter:
Collaboration graph
[legend]

Public Member Functions

 HashmapSourceAdapter (const HashmapSourceAdapterConfig &config)
 
- Public Member Functions inherited from tensorflow::serving::SourceAdapter< InputType, OutputType >
void SetAspiredVersions (const StringPiece servable_name, std::vector< ServableData< InputType >> versions) final
 
void SetAspiredVersionsCallback (typename Source< OutputType >::AspiredVersionsCallback callback) final
 
ServableData< OutputType > AdaptOneVersion (ServableData< InputType > input)
 Adapts a single servable data item. (Implemented on top of Adapt().)
 
- Public Member Functions inherited from tensorflow::serving::TargetBase< InputType >
Source< InputType >::AspiredVersionsCallback GetAspiredVersionsCallback () final
 
- Public Member Functions inherited from tensorflow::serving::Source< OutputType >
virtual void SetAspiredVersionsCallback (AspiredVersionsCallback callback)=0
 Supplies an AspiredVersionsCallback to use. Can be called at most once.
 

Additional Inherited Members

- Public Types inherited from tensorflow::serving::SimpleLoaderSourceAdapter< StoragePath, std::unordered_map< string, string > >
using Creator = std::function< Status(const StoragePath &, std::unique_ptr< std::unordered_map< string, string > > *)>
 
using ResourceEstimator = std::function< Status(const StoragePath &, ResourceAllocation *)>
 
- Public Types inherited from tensorflow::serving::Source< OutputType >
using AspiredVersionsCallback = std::function< void(const StringPiece servable_name, std::vector< ServableData< OutputType > > versions)>
 
- Static Public Member Functions inherited from tensorflow::serving::SimpleLoaderSourceAdapter< StoragePath, std::unordered_map< string, string > >
static ResourceEstimator EstimateNoResources ()
 
- Protected Member Functions inherited from tensorflow::serving::SimpleLoaderSourceAdapter< StoragePath, std::unordered_map< string, string > >
 SimpleLoaderSourceAdapter (Creator creator, ResourceEstimator resource_estimator)
 
Status Convert (const StoragePath &data, std::unique_ptr< Loader > *loader) final
 
- Protected Member Functions inherited from tensorflow::serving::TargetBase< InputType >
void Detach ()
 

Detailed Description

Definition at line 33 of file hashmap_source_adapter.h.


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