|
TensorFlow Serving C++ API Documentation
|


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. | |
Definition at line 184 of file simple_loader.h.