Get desktop application:
View/edit binary Protocol Buffers messages
open source marker; do not remove PredictionService provides access to machine-learned models loaded by model_servers.
Classify.
Model Specification.
Input data.
Result of the classification.
GetModelMetadata - provides access to metadata for loaded models.
Model Specification indicating which model we are querying for metadata.
Metadata fields to get. Currently supported: "signature_def".
Model Specification indicating which model this metadata belongs to.
Map of metadata field name to metadata field. The options for metadata field name are listed in GetModelMetadataRequest. Currently supported: "signature_def".
MultiInference API for multi-headed models.
Inference request containing one or more requests.
Inference tasks.
Input data.
Inference request containing one or more responses.
List of results; one for each InferenceTask in the request, returned in the same order as the request.
Predict -- provides access to loaded TensorFlow model.
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.
Model Specification.
Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'outputs' field. Only tensors specified here will be run/fetched and returned, with the exception that when none is specified, all tensors specified in the named signature will be run/fetched and returned.
Response for PredictRequest on successful run.
Output tensors.
Regress.
Model Specification.
Input data.
A single class.
Used in:
Label or name of the class.
Score for this class (e.g., the probability the item belongs to this class).
Contains one result per input example, in the same order as the input in ClassificationRequest.
Used in: ,
List of classes for a single item (tensorflow.Example).
Used in:
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:
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: { feature: { key : "query" value: { bytes_list: { value: [ "pizza" ] } } } } examples: { feature: { key : "cuisine" value: { bytes_list: { value: [ "Pizzeria" ] } } } } examples: { 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:
Inference result, matches the type of request or is an error.
Used in:
Inference request such as classification, regression, etc...
Used in:
Signature's method_name. Should be one of the method names defined in third_party/tensorflow/python/saved_model/signature_constants.py. e.g. "tensorflow/serving/classify".
Used in: , ,
Metadata for an inference request such as the model name and version.
Used in: , , , , , ,
Required servable name.
Optional version. If unspecified, will use the latest (numerical) version. Typically not needed unless coordinating across multiple models that were co-trained and/or have inter-dependencies on the versions used at inference time.
A named signature to evaluate. If unspecified, the default signature will be used.
Regression result for a single item (tensorflow.Example).
Used in:
Contains one result per input example, in the same order as the input in RegressionRequest.
Used in: ,
Message returned for "signature_def" field.