|
TensorFlow Serving C++ API Documentation
|


Public Member Functions | |
| FakeLoaderSourceAdapter (const string &suffix="", std::function< void(const string &)> call_on_destruct={}) | |
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, string > | |
| using | Creator = std::function< Status(const StoragePath &, std::unique_ptr< 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, string > | |
| static ResourceEstimator | EstimateNoResources () |
Protected Member Functions inherited from tensorflow::serving::SimpleLoaderSourceAdapter< StoragePath, 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 () |
Definition at line 42 of file fake_loader_source_adapter.h.