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

Public Types

using Creator = std::function< Status(const DataType &, std::unique_ptr< ServableType > *)>
 
using ResourceEstimator = std::function< Status(const DataType &, 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

static ResourceEstimator EstimateNoResources ()
 

Protected Member Functions

 SimpleLoaderSourceAdapter (Creator creator, ResourceEstimator resource_estimator)
 
Status Convert (const DataType &data, std::unique_ptr< Loader > *loader) final
 
- Protected Member Functions inherited from tensorflow::serving::TargetBase< InputType >
void Detach ()
 

Additional Inherited Members

- 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.
 

Detailed Description

template<typename DataType, typename ServableType>
class tensorflow::serving::SimpleLoaderSourceAdapter< DataType, ServableType >

Definition at line 184 of file simple_loader.h.


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