Package tensorflow.serving
Interface SessionServiceOuterClass.SessionRunResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SessionServiceOuterClass.SessionRunResponse,SessionServiceOuterClass.SessionRunResponse.Builder
- Enclosing class:
SessionServiceOuterClass
public static interface SessionServiceOuterClass.SessionRunResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionReturned metadata if requested in the options.Returned metadata if requested in the options.Effective Model Specification used for session run.Effective Model Specification used for session run.getTensor(int index) NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.intNOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.getTensorOrBuilder(int index) NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.List<? extends NamedTensorProtoOrBuilder> NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.booleanReturned metadata if requested in the options.booleanEffective Model Specification used for session run.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 for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3; -
getTensorList
List<NamedTensorProto> getTensorList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1; -
getTensor
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1; -
getTensorCount
int getTensorCount()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1; -
getTensorOrBuilderList
List<? extends NamedTensorProtoOrBuilder> getTensorOrBuilderList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1; -
getTensorOrBuilder
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1; -
hasMetadata
boolean hasMetadata()Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Returns:
- Whether the metadata field is set.
-
getMetadata
RunMetadata getMetadata()Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Returns:
- The metadata.
-
getMetadataOrBuilder
RunMetadataOrBuilder getMetadataOrBuilder()Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-