TensorFlow Serving C++ API Documentation
|
#include <classifier.h>
Public Member Functions | |
virtual Status | Classify (const ClassificationRequest &request, ClassificationResult *result)=0 |
Model-type agnostic interface for performing classification.
Specific implementations will exist for different model types (e.g. TensorFlow SavedModel) that can convert the request into a model specific input and know how to convert the output into a generic ClassificationResult.
Definition at line 31 of file classifier.h.
|
pure virtual |
Given a ClassificationRequest, populates the ClassificationResult with the result.
request | Input request specifying the model/signature to query along with the data payload. |
result | The output classifications that will get populated. |