TensorFlow Serving C++ API Documentation
Public Member Functions | List of all members
tensorflow::serving::RegressorInterface Class Referenceabstract

#include <regressor.h>

Public Member Functions

virtual Status Regress (const RegressionRequest &request, RegressionResult *result)=0
 

Detailed Description

Model agnostic interface for performing regression.

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

Definition at line 32 of file regressor.h.

Member Function Documentation

◆ Regress()

virtual Status tensorflow::serving::RegressorInterface::Regress ( const RegressionRequest &  request,
RegressionResult *  result 
)
pure virtual

Given a RegressionRequest, populates the RegressionResult with the result.

Parameters
requestInput request specifying the model/signature to query along with the data payload.
resultThe output regression results that will get populated.
Returns
A status object indicating success or failure.

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