16 #ifndef TENSORFLOW_SERVING_SERVABLES_TENSORFLOW_REGRESSION_SERVICE_H_
17 #define TENSORFLOW_SERVING_SERVABLES_TENSORFLOW_REGRESSION_SERVICE_H_
19 #include "tensorflow/core/lib/core/status.h"
20 #include "tensorflow/core/protobuf/config.pb.h"
21 #include "tensorflow_serving/apis/regression.pb.h"
22 #include "tensorflow_serving/model_servers/server_core.h"
24 namespace tensorflow {
31 static Status Regress(
const RunOptions& run_options,
ServerCore* core,
32 const thread::ThreadPoolOptions& thread_pool_options,
33 const RegressionRequest& request,
34 RegressionResponse* response);
38 static Status RegressWithModelSpec(
39 const RunOptions& run_options,
ServerCore* core,
40 const thread::ThreadPoolOptions& thread_pool_options,
41 const ModelSpec& model_spec,
const RegressionRequest& request,
42 RegressionResponse* response);