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 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

      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

      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

      List<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

      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

      List<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

      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.
    • 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;