All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tensorflow.distruntime.RunGraphRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/worker.proto

package org.tensorflow.distruntime;

public interface RunGraphRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.RunGraphRequest)
    org.nd4j.shade.protobuf.MessageOrBuilder {

  /**
   * 
   * 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; * @return The sessionHandle. */ 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; * @return The bytes for sessionHandle. */ org.nd4j.shade.protobuf.ByteString getSessionHandleBytes(); /** *
   * Set to true if `CreateWorkerSession` was called for `session_handle`.
   * 
* * bool create_worker_session_called = 10; * @return The createWorkerSessionCalled. */ boolean getCreateWorkerSessionCalled(); /** *
   * REQUIRED: graph_handle must be returned by a RegisterGraph call
   * to the same WorkerService.
   * 
* * string graph_handle = 1; * @return The graphHandle. */ java.lang.String getGraphHandle(); /** *
   * REQUIRED: graph_handle must be returned by a RegisterGraph call
   * to the same WorkerService.
   * 
* * string graph_handle = 1; * @return The bytes for graphHandle. */ org.nd4j.shade.protobuf.ByteString getGraphHandleBytes(); /** *
   * 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; * @return The stepId. */ long getStepId(); /** *
   * Options for this step.
   * 
* * .tensorflow.ExecutorOpts exec_opts = 5; * @return Whether the execOpts field is set. */ boolean hasExecOpts(); /** *
   * Options for this step.
   * 
* * .tensorflow.ExecutorOpts exec_opts = 5; * @return The execOpts. */ org.tensorflow.distruntime.ExecutorOpts getExecOpts(); /** *
   * Options for this step.
   * 
* * .tensorflow.ExecutorOpts exec_opts = 5; */ org.tensorflow.distruntime.ExecutorOptsOrBuilder getExecOptsOrBuilder(); /** *
   * 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 .tensorflow.NamedTensorProto send = 3; */ java.util.List 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 .tensorflow.NamedTensorProto send = 3; */ org.tensorflow.framework.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 .tensorflow.NamedTensorProto send = 3; */ 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 .tensorflow.NamedTensorProto send = 3; */ java.util.List 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 .tensorflow.NamedTensorProto send = 3; */ org.tensorflow.framework.NamedTensorProtoOrBuilder getSendOrBuilder( int index); /** * repeated string recv_key = 4; * @return A list containing the recvKey. */ java.util.List getRecvKeyList(); /** * repeated string recv_key = 4; * @return The count of recvKey. */ int getRecvKeyCount(); /** * repeated string recv_key = 4; * @param index The index of the element to return. * @return The recvKey at the given index. */ java.lang.String getRecvKey(int index); /** * repeated string recv_key = 4; * @param index The index of the value to return. * @return The bytes of the recvKey at the given index. */ org.nd4j.shade.protobuf.ByteString getRecvKeyBytes(int index); /** *
   * True if the RunGraphRequest is a partial run request.
   * 
* * bool is_partial = 6; * @return The isPartial. */ boolean getIsPartial(); /** *
   * True if this is the last partial run request in a sequence of requests.
   * 
* * bool is_last_partial_run = 7; * @return The isLastPartialRun. */ boolean getIsLastPartialRun(); /** *
   * 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; * @return The storeErrorsInResponseBody. */ boolean getStoreErrorsInResponseBody(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy