package tensorflow.serving

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ModelService

model_service.proto:12

ModelService provides methods to query and update the state of the server, e.g. which models/versions are being served.

service PredictionService

prediction_service.proto:15

open source marker; do not remove PredictionService provides access to machine-learned models loaded by model_servers.

service SessionService

session_service.proto:53

SessionService defines a service with which a client can interact to execute Tensorflow model inference. The SessionService::SessionRun method is similar to MasterService::RunStep of Tensorflow, except that all sessions are ready to run, and you request a specific model/session with ModelSpec.

message Class

classification.proto:11

A single class.

Used in: Classifications

message ClassificationRequest

classification.proto:33

Used as request type in: PredictionService.Classify

Used as field type in: ClassifyLog

message ClassificationResponse

classification.proto:42

Used as response type in: PredictionService.Classify

Used as field type in: ClassifyLog

message ClassificationResult

classification.proto:27

Contains one result per input example, in the same order as the input in ClassificationRequest.

Used in: ClassificationResponse, InferenceResult

message Classifications

classification.proto:21

List of classes for a single item (tensorflow.Example).

Used in: ClassificationResult

message ClassifyLog

prediction_log.proto:14

Used in: PredictionLog

message ExampleList

input.proto:15

Specifies one or more fully independent input Examples. See examples at: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/example/example.proto

Used in: Input

message ExampleListWithContext

input.proto:72

Specifies one or more independent input Examples, with a common context Example. The common use case for context is to cleanly and optimally specify some features that are common across multiple examples. See example below with a search query as the context and multiple restaurants to perform some inference on. context: { features: { feature: { key : "query" value: { bytes_list: { value: [ "pizza" ] } } } } } examples: { features: { feature: { key : "cuisine" value: { bytes_list: { value: [ "Pizzeria" ] } } } } } examples: { features: { feature: { key : "cuisine" value: { bytes_list: { value: [ "Taqueria" ] } } } } } Implementations of ExampleListWithContext merge the context Example into each of the Examples. Note that feature keys must not be duplicated between the Examples and context Example, or the behavior is undefined. See also: tensorflow/core/example/example.proto https://developers.google.com/protocol-buffers/docs/proto3#maps

Used in: Input

message FileSystemStoragePathSourceConfig

file_system_storage_path_source.proto:6

Config proto for FileSystemStoragePathSource.

message FileSystemStoragePathSourceConfig.ServableToMonitor

file_system_storage_path_source.proto:40

A servable name and base path to look for versions of the servable.

Used in: FileSystemStoragePathSourceConfig

message FileSystemStoragePathSourceConfig.ServableVersionPolicy

file_system_storage_path_source.proto:8

A policy that dictates which version(s) of a servable should be served.

Used in: ServableToMonitor, ModelConfig

message FileSystemStoragePathSourceConfig.ServableVersionPolicy.All

file_system_storage_path_source.proto:19

Serve all versions found on disk.

Used in: ServableVersionPolicy

(message has no fields)

message FileSystemStoragePathSourceConfig.ServableVersionPolicy.Latest

file_system_storage_path_source.proto:13

Serve the latest versions (i.e. the ones with the highest version numbers), among those found on disk. This is the default policy, with the default number of versions as 1.

Used in: ServableVersionPolicy

message FileSystemStoragePathSourceConfig.ServableVersionPolicy.Specific

file_system_storage_path_source.proto:27

Serve a specific version (or set of versions). This policy is useful for rolling back to a specific version, or for canarying a specific version while still serving a separate stable version.

Used in: ServableVersionPolicy

message InferenceResult

inference.proto:36

Inference result, matches the type of request or is an error.

Used in: MultiInferenceResponse

message InferenceTask

inference.proto:23

Inference request such as classification, regression, etc...

Used in: MultiInferenceRequest

message Input

input.proto:77

Used in: ClassificationRequest, MultiInferenceRequest, RegressionRequest

message LogCollectorConfig

log_collector_config.proto:6

Used in: LoggingConfig

message LogMetadata

logging.proto:11

Metadata logged along with the request logs.

Used in: PredictionLog

message LoggingConfig

logging_config.proto:15

Configuration for logging query/responses.

Used in: ModelConfig

message ModelConfig

model_server_config.proto:20

Common configuration for loading a model being served.

Used in: ModelConfigList

message ModelConfigList

model_server_config.proto:72

Static list of models to be loaded for serving.

Used in: ModelServerConfig

message ModelServerConfig

model_server_config.proto:77

ModelServer config.

Used in: ReloadConfigRequest

message ModelSpec

model.proto:9

Metadata for an inference request such as the model name and version.

Used in: ClassificationRequest, ClassificationResponse, GetModelMetadataRequest, GetModelMetadataResponse, GetModelStatusRequest, InferenceResult, InferenceTask, LogMetadata, PredictRequest, PredictResponse, RegressionRequest, RegressionResponse, SessionRunRequest, SessionRunResponse

enum ModelType

model_server_config.proto:13

The type of model. TODO(b/31336131): DEPRECATED.

Used in: ModelConfig

message ModelVersionStatus

get_model_status.proto:20

Version number, state, and status for a single version of a model.

Used in: GetModelStatusResponse

enum ModelVersionStatus.State

get_model_status.proto:26

States that map to ManagerState enum in tensorflow_serving/core/servable_state.h

Used in: ModelVersionStatus

message MonitoringConfig

monitoring_config.proto:17

Configuration for monitoring.

message MultiInferenceLog

prediction_log.proto:29

Used in: PredictionLog

message MultiInferenceRequest

inference.proto:46

Inference request containing one or more requests.

Used as request type in: PredictionService.MultiInference

Used as field type in: MultiInferenceLog

message MultiInferenceResponse

inference.proto:55

Inference request containing one or more responses.

Used as response type in: PredictionService.MultiInference

Used as field type in: MultiInferenceLog

message PlatformConfig

platform_config.proto:9

Configuration for a servable platform e.g. tensorflow or other ML systems.

Used in: PlatformConfigMap

message PlatformConfigMap

platform_config.proto:15

message PredictLog

prediction_log.proto:24

Used in: PredictionLog

message PredictRequest

predict.proto:12

PredictRequest specifies which TensorFlow model to run, as well as how inputs are mapped to tensors and how outputs are filtered before returning to user.

Used as request type in: PredictionService.Predict

Used as field type in: PredictLog

message PredictResponse

predict.proto:34

Response for PredictRequest on successful run.

Used as response type in: PredictionService.Predict

Used as field type in: PredictLog

message PredictionLog

prediction_log.proto:40

Logged model inference request.

message PrometheusConfig

monitoring_config.proto:7

Configuration for Prometheus monitoring.

Used in: MonitoringConfig

message RegressLog

prediction_log.proto:19

Used in: PredictionLog

message Regression

regression.proto:11

Regression result for a single item (tensorflow.Example).

Used in: RegressionResult

message RegressionRequest

regression.proto:23

Used as request type in: PredictionService.Regress

Used as field type in: RegressLog

message RegressionResponse

regression.proto:32

Used as response type in: PredictionService.Regress

Used as field type in: RegressLog

message RegressionResult

regression.proto:17

Contains one result per input example, in the same order as the input in RegressionRequest.

Used in: InferenceResult, RegressionResponse

message SSLConfig

ssl_config.proto:7

Configuration for a secure gRPC channel

message SamplingConfig

logging_config.proto:8

Used in: LogMetadata, LoggingConfig

message SessionRunLog

prediction_log.proto:34

Used in: PredictionLog

message SessionRunRequest

session_service.proto:11

Used as request type in: SessionService.SessionRun

Used as field type in: SessionRunLog

message SessionRunResponse

session_service.proto:37

Used as response type in: SessionService.SessionRun

Used as field type in: SessionRunLog

message SignatureDefMap

get_model_metadata.proto:11

Message returned for "signature_def" field.

message StatusProto

status.proto:11

Status that corresponds to Status in third_party/tensorflow/core/lib/core/status.h.

Used in: ModelVersionStatus, ReloadConfigResponse