
org.tensorflow.distruntime.RunGraphRequestOrBuilder Maven / Gradle / Ivy
// 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;
*/
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;
*/
org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes();
/**
*
* Set to true if `CreateWorkerSession` was called for `session_handle`.
*
*
* bool create_worker_session_called = 10;
*/
boolean getCreateWorkerSessionCalled();
/**
*
* REQUIRED: graph_handle must be returned by a RegisterGraph call
* to the same WorkerService.
*
*
* string graph_handle = 1;
*/
java.lang.String getGraphHandle();
/**
*
* REQUIRED: graph_handle must be returned by a RegisterGraph call
* to the same WorkerService.
*
*
* string graph_handle = 1;
*/
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;
*/
long getStepId();
/**
*
* Options for this step.
*
*
* .tensorflow.ExecutorOpts exec_opts = 5;
*/
boolean hasExecOpts();
/**
*
* Options for this step.
*
*
* .tensorflow.ExecutorOpts exec_opts = 5;
*/
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 extends org.tensorflow.framework.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 .tensorflow.NamedTensorProto send = 3;
*/
org.tensorflow.framework.NamedTensorProtoOrBuilder getSendOrBuilder(
int index);
/**
* repeated string recv_key = 4;
*/
java.util.List
getRecvKeyList();
/**
* repeated string recv_key = 4;
*/
int getRecvKeyCount();
/**
* repeated string recv_key = 4;
*/
java.lang.String getRecvKey(int index);
/**
* repeated string recv_key = 4;
*/
org.nd4j.shade.protobuf.ByteString
getRecvKeyBytes(int index);
/**
*
* True if the RunGraphRequest is a partial run request.
*
*
* bool is_partial = 6;
*/
boolean getIsPartial();
/**
*
* True if this is the last partial run request in a sequence of requests.
*
*
* bool is_last_partial_run = 7;
*/
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;
*/
boolean getStoreErrorsInResponseBody();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy