16 #ifndef TENSORFLOW_SERVING_SERVABLES_TENSORFLOW_CLASSIFICATION_SERVICE_H_
17 #define TENSORFLOW_SERVING_SERVABLES_TENSORFLOW_CLASSIFICATION_SERVICE_H_
19 #include "tensorflow/core/lib/core/status.h"
20 #include "tensorflow/core/platform/threadpool_options.h"
21 #include "tensorflow/core/protobuf/config.pb.h"
22 #include "tensorflow_serving/apis/classification.pb.h"
23 #include "tensorflow_serving/model_servers/server_core.h"
25 namespace tensorflow {
32 static Status Classify(
const RunOptions& run_options,
ServerCore* core,
33 const thread::ThreadPoolOptions& thread_pool_options,
34 const ClassificationRequest& request,
35 ClassificationResponse* response);
39 static Status ClassifyWithModelSpec(
40 const RunOptions& run_options,
ServerCore* core,
41 const thread::ThreadPoolOptions& thread_pool_options,
42 const ModelSpec& model_spec,
const ClassificationRequest& request,
43 ClassificationResponse* response);