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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamedTensorProtogetFeed(int index)Tensors to be fed in the step.intgetFeedCount()Tensors to be fed in the step.java.util.List<NamedTensorProto>getFeedList()Tensors to be fed in the step.NamedTensorProtoOrBuildergetFeedOrBuilder(int index)Tensors to be fed in the step.java.util.List<? extends NamedTensorProtoOrBuilder>getFeedOrBuilderList()Tensors to be fed in the step.java.lang.StringgetFetch(int index)Fetches.com.google.protobuf.ByteStringgetFetchBytes(int index)Fetches.intgetFetchCount()Fetches.java.util.List<java.lang.String>getFetchList()Fetches.Model.ModelSpecgetModelSpec()Model Specification.Model.ModelSpecOrBuildergetModelSpecOrBuilder()Model Specification.RunOptionsgetOptions()Options for the run call.RunOptionsOrBuildergetOptionsOrBuilder()Options for the run call.java.lang.StringgetTarget(int index)Target Nodes.com.google.protobuf.ByteStringgetTargetBytes(int index)Target Nodes.intgetTargetCount()Target Nodes.java.util.List<java.lang.String>getTargetList()Target Nodes.booleanhasModelSpec()Model Specification.booleanhasOptions()Options for the run call.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.util.List<NamedTensorProto> getFeedList()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFeed
NamedTensorProto getFeed(int index)
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
java.util.List<? extends NamedTensorProtoOrBuilder> getFeedOrBuilderList()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFeedOrBuilder
NamedTensorProtoOrBuilder getFeedOrBuilder(int index)
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFetchList
java.util.List<java.lang.String> 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
java.lang.String getFetch(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 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
java.util.List<java.lang.String> 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
java.lang.String getTarget(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 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.
-
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;
-
-