Interface RunGraphRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RunGraphRequest, RunGraphRequest.Builder

    public interface RunGraphRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getSessionHandle

        java.lang.String getSessionHandle()
         session_handle is the master-generated unique id for this session.
         If session_handle is non-empty, it must be the same as used when
         registering the graph. If it is empty, a single global namespace is used to
         search for the graph_handle.
         
        string session_handle = 8;
        Returns:
        The sessionHandle.
      • getSessionHandleBytes

        com.google.protobuf.ByteString getSessionHandleBytes()
         session_handle is the master-generated unique id for this session.
         If session_handle is non-empty, it must be the same as used when
         registering the graph. If it is empty, a single global namespace is used to
         search for the graph_handle.
         
        string session_handle = 8;
        Returns:
        The bytes for sessionHandle.
      • getCreateWorkerSessionCalled

        boolean getCreateWorkerSessionCalled()
         Set to true if `CreateWorkerSession` was called for `session_handle`.
         
        bool create_worker_session_called = 10;
        Returns:
        The createWorkerSessionCalled.
      • getGraphHandle

        java.lang.String getGraphHandle()
         REQUIRED: graph_handle must be returned by a RegisterGraph call
         to the same WorkerService.
         
        string graph_handle = 1;
        Returns:
        The graphHandle.
      • getGraphHandleBytes

        com.google.protobuf.ByteString getGraphHandleBytes()
         REQUIRED: graph_handle must be returned by a RegisterGraph call
         to the same WorkerService.
         
        string graph_handle = 1;
        Returns:
        The bytes for graphHandle.
      • getStepId

        long getStepId()
         A unique ID to distinguish different runs of the same graph.
         The master generates a global unique `step_id` to distinguish
         different runs of the graph computation. Subgraphs communicate
         (e.g., send/recv ops) with each other using `step_id` to
         distinguish tensors generated by different runs.
         
        int64 step_id = 2;
        Returns:
        The stepId.
      • hasExecOpts

        boolean hasExecOpts()
         Options for this step.
         
        .org.platanios.tensorflow.proto.ExecutorOpts exec_opts = 5;
        Returns:
        Whether the execOpts field is set.
      • getExecOpts

        ExecutorOpts getExecOpts()
         Options for this step.
         
        .org.platanios.tensorflow.proto.ExecutorOpts exec_opts = 5;
        Returns:
        The execOpts.
      • getExecOptsOrBuilder

        ExecutorOptsOrBuilder getExecOptsOrBuilder()
         Options for this step.
         
        .org.platanios.tensorflow.proto.ExecutorOpts exec_opts = 5;
      • getSendList

        java.util.List<NamedTensorProto> getSendList()
         Runs the graph.
         Sends the tensors in "send" into the graph before the run and
         fetches the keys into `RunGraphResponse.recv` after the run.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto send = 3;
      • getSend

        NamedTensorProto getSend​(int index)
         Runs the graph.
         Sends the tensors in "send" into the graph before the run and
         fetches the keys into `RunGraphResponse.recv` after the run.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto send = 3;
      • getSendCount

        int getSendCount()
         Runs the graph.
         Sends the tensors in "send" into the graph before the run and
         fetches the keys into `RunGraphResponse.recv` after the run.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto send = 3;
      • getSendOrBuilderList

        java.util.List<? extends NamedTensorProtoOrBuilder> getSendOrBuilderList()
         Runs the graph.
         Sends the tensors in "send" into the graph before the run and
         fetches the keys into `RunGraphResponse.recv` after the run.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto send = 3;
      • getSendOrBuilder

        NamedTensorProtoOrBuilder getSendOrBuilder​(int index)
         Runs the graph.
         Sends the tensors in "send" into the graph before the run and
         fetches the keys into `RunGraphResponse.recv` after the run.
         
        repeated .org.platanios.tensorflow.proto.NamedTensorProto send = 3;
      • getRecvKeyList

        java.util.List<java.lang.String> getRecvKeyList()
        repeated string recv_key = 4;
        Returns:
        A list containing the recvKey.
      • getRecvKeyCount

        int getRecvKeyCount()
        repeated string recv_key = 4;
        Returns:
        The count of recvKey.
      • getRecvKey

        java.lang.String getRecvKey​(int index)
        repeated string recv_key = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The recvKey at the given index.
      • getRecvKeyBytes

        com.google.protobuf.ByteString getRecvKeyBytes​(int index)
        repeated string recv_key = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the recvKey at the given index.
      • getIsPartial

        boolean getIsPartial()
         True if the RunGraphRequest is a partial run request.
         
        bool is_partial = 6;
        Returns:
        The isPartial.
      • getIsLastPartialRun

        boolean getIsLastPartialRun()
         True if this is the last partial run request in a sequence of requests.
         
        bool is_last_partial_run = 7;
        Returns:
        The isLastPartialRun.
      • getStoreErrorsInResponseBody

        boolean getStoreErrorsInResponseBody()
         If true then some errors, e.g., execution errors that have long
         error messages, may return an OK RunGraphResponse with the actual
         error saved in the status_code/status_error_message fields of the
         response body. This is a workaround since the RPC subsystem may
         truncate long metadata messages.
         
        bool store_errors_in_response_body = 9;
        Returns:
        The storeErrorsInResponseBody.
      • getRequestId

        long getRequestId()
         Unique identifier for this request. Every RunGraphRequest must have a
         unique request_id, and retried RunGraphRequests must have the same
         request_id. If request_id is zero, retry detection is disabled.
         Retried RunGraphRequests are problematic because they may issue a
         RecvTensor that will have no corresponding sender and will wait forever.
         Workers use request_ids to reject retried RunGraph requests instead of
         waiting forever.
         
        int64 request_id = 11;
        Returns:
        The requestId.