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".
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 expected to be stored as named generic signature under the key "inputs" in the model export. Each alias listed in a generic signature named "inputs" should be provided exactly once in order to run the prediction.
Output filter. Names specified are alias names. The mapping from aliases to real output tensor names is expected to be stored as named generic signature under the key "outputs" in the model export. 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).
For tensorflow.Example this will contain one result. For tensorflow.InferenceExample this will contain one result for each InferenceExample::features and in the same order as the features.
Used in:
List of classes for a single item (tensorflow.Example or tensorflow.InferenceExample.features).
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:
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. Note that only MultiInference will initially support this.
Regression result for a single item (tensorflow.Example or tensorflow.InferenceExample.features).
Used in:
For tensorflow.Example this will contain one result. For tensorflow.InferenceExample this will contain one result for each InferenceExample::features.
Used in:
Message returned for "signature_def" field.