Package tensorflow.serving
Interface Predict.PredictResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Predict.PredictResponse,Predict.PredictResponse.Builder
- Enclosing class:
Predict
public static interface Predict.PredictResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOutputs(String key) Output tensors.Effective Model Specification used to process PredictRequest.Effective Model Specification used to process PredictRequest.Deprecated.intOutput tensors.Output tensors.getOutputsOrDefault(String key, TensorProto defaultValue) Output tensors.getOutputsOrThrow(String key) Output tensors.booleanEffective Model Specification used to process PredictRequest.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasModelSpec
boolean hasModelSpec()Effective Model Specification used to process PredictRequest.
.tensorflow.serving.ModelSpec model_spec = 2;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Effective Model Specification used to process PredictRequest.
.tensorflow.serving.ModelSpec model_spec = 2;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Effective Model Specification used to process PredictRequest.
.tensorflow.serving.ModelSpec model_spec = 2; -
getOutputsCount
int getOutputsCount()Output tensors.
map<string, .tensorflow.TensorProto> outputs = 1; -
containsOutputs
Output tensors.
map<string, .tensorflow.TensorProto> outputs = 1; -
getOutputs
Deprecated.UsegetOutputsMap()instead. -
getOutputsMap
Map<String,TensorProto> getOutputsMap()Output tensors.
map<string, .tensorflow.TensorProto> outputs = 1; -
getOutputsOrDefault
Output tensors.
map<string, .tensorflow.TensorProto> outputs = 1; -
getOutputsOrThrow
Output tensors.
map<string, .tensorflow.TensorProto> outputs = 1;
-