Package tensorflow.serving
Interface SessionServiceOuterClass.SessionRunRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SessionServiceOuterClass.SessionRunRequest,SessionServiceOuterClass.SessionRunRequest.Builder
- Enclosing class:
SessionServiceOuterClass
public static interface SessionServiceOuterClass.SessionRunRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFeed(int index) Tensors to be fed in the step.intTensors to be fed in the step.Tensors to be fed in the step.getFeedOrBuilder(int index) Tensors to be fed in the step.List<? extends NamedTensorProtoOrBuilder> Tensors to be fed in the step.getFetch(int index) Fetches.com.google.protobuf.ByteStringgetFetchBytes(int index) Fetches.intFetches.Fetches.Model Specification.Model Specification.Options for the run call.Options for the run call.getTarget(int index) Target Nodes.com.google.protobuf.ByteStringgetTargetBytes(int index) Target Nodes.intTarget Nodes.Target Nodes.booleanIf true, treat names in feed/fetch/target as alias names than actual tensor names (that appear in the TF graph).booleanModel Specification.booleanOptions for the run call.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()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Model Specification. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
getFeedList
List<NamedTensorProto> getFeedList()Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2; -
getFeed
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2; -
getFeedCount
int getFeedCount()Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2; -
getFeedOrBuilderList
List<? extends NamedTensorProtoOrBuilder> getFeedOrBuilderList()Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2; -
getFeedOrBuilder
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2; -
getFetchList
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Returns:
- A list containing the fetch.
-
getFetchCount
int getFetchCount()Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Returns:
- The count of fetch.
-
getFetch
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Parameters:
index- The index of the element to return.- Returns:
- The fetch at the given index.
-
getFetchBytes
com.google.protobuf.ByteString getFetchBytes(int index) Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fetch at the given index.
-
getTargetList
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;- Returns:
- A list containing the target.
-
getTargetCount
int getTargetCount()Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;- Returns:
- The count of target.
-
getTarget
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;- Parameters:
index- The index of the element to return.- Returns:
- The target at the given index.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes(int index) Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the target at the given index.
-
getTensorNameIsAlias
boolean getTensorNameIsAlias()If true, treat names in feed/fetch/target as alias names than actual tensor names (that appear in the TF graph). Alias names are resolved to actual names using `SignatureDef` in SavedModel associated with the model.
bool tensor_name_is_alias = 6;- Returns:
- The tensorNameIsAlias.
-
hasOptions
boolean hasOptions()Options for the run call. **Currently ignored.**
.tensorflow.RunOptions options = 5;- Returns:
- Whether the options field is set.
-
getOptions
RunOptions getOptions()Options for the run call. **Currently ignored.**
.tensorflow.RunOptions options = 5;- Returns:
- The options.
-
getOptionsOrBuilder
RunOptionsOrBuilder getOptionsOrBuilder()Options for the run call. **Currently ignored.**
.tensorflow.RunOptions options = 5;
-