public static interface Predict.PredictRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInputs(java.lang.String key)
Input tensors.
|
java.util.Map<java.lang.String,TensorProto> |
getInputs()
Deprecated.
|
int |
getInputsCount()
Input tensors.
|
java.util.Map<java.lang.String,TensorProto> |
getInputsMap()
Input tensors.
|
TensorProto |
getInputsOrDefault(java.lang.String key,
TensorProto defaultValue)
Input tensors.
|
TensorProto |
getInputsOrThrow(java.lang.String key)
Input tensors.
|
Model.ModelSpec |
getModelSpec()
Model Specification.
|
Model.ModelSpecOrBuilder |
getModelSpecOrBuilder()
Model Specification.
|
java.lang.String |
getOutputFilter(int index)
Output filter.
|
com.google.protobuf.ByteString |
getOutputFilterBytes(int index)
Output filter.
|
int |
getOutputFilterCount()
Output filter.
|
java.util.List<java.lang.String> |
getOutputFilterList()
Output filter.
|
boolean |
hasModelSpec()
Model Specification.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasModelSpec()
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;Model.ModelSpec getModelSpec()
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;Model.ModelSpecOrBuilder getModelSpecOrBuilder()
Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;int getInputsCount()
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.
map<string, .tensorflow.TensorProto> inputs = 2;boolean containsInputs(java.lang.String key)
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.
map<string, .tensorflow.TensorProto> inputs = 2;@Deprecated java.util.Map<java.lang.String,TensorProto> getInputs()
getInputsMap() instead.java.util.Map<java.lang.String,TensorProto> getInputsMap()
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.
map<string, .tensorflow.TensorProto> inputs = 2;TensorProto getInputsOrDefault(java.lang.String key, TensorProto defaultValue)
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.
map<string, .tensorflow.TensorProto> inputs = 2;TensorProto getInputsOrThrow(java.lang.String key)
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.
map<string, .tensorflow.TensorProto> inputs = 2;java.util.List<java.lang.String> getOutputFilterList()
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.
repeated string output_filter = 3;int getOutputFilterCount()
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.
repeated string output_filter = 3;java.lang.String getOutputFilter(int index)
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.
repeated string output_filter = 3;index - The index of the element to return.com.google.protobuf.ByteString getOutputFilterBytes(int index)
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.
repeated string output_filter = 3;index - The index of the value to return.