public interface RunGraphRequestOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
|
ExecutorOpts |
getExecOpts()
Options for this step.
|
ExecutorOptsOrBuilder |
getExecOptsOrBuilder()
Options for this step.
|
String |
getGraphHandle()
REQUIRED: graph_handle must be returned by a RegisterGraph call
to the same WorkerService.
|
org.nd4j.shade.protobuf.ByteString |
getGraphHandleBytes()
REQUIRED: graph_handle must be returned by a RegisterGraph call
to the same WorkerService.
|
boolean |
getIsLastPartialRun()
True if this is the last partial run request in a sequence of requests.
|
boolean |
getIsPartial()
True if the RunGraphRequest is a partial run request.
|
String |
getRecvKey(int index)
repeated string recv_key = 4; |
org.nd4j.shade.protobuf.ByteString |
getRecvKeyBytes(int index)
repeated string recv_key = 4; |
int |
getRecvKeyCount()
repeated string recv_key = 4; |
List<String> |
getRecvKeyList()
repeated string recv_key = 4; |
NamedTensorProto |
getSend(int index)
Runs the graph.
|
int |
getSendCount()
Runs the graph.
|
List<NamedTensorProto> |
getSendList()
Runs the graph.
|
NamedTensorProtoOrBuilder |
getSendOrBuilder(int index)
Runs the graph.
|
List<? extends NamedTensorProtoOrBuilder> |
getSendOrBuilderList()
Runs the graph.
|
String |
getSessionHandle()
session_handle is the master-generated unique id for this session.
|
org.nd4j.shade.protobuf.ByteString |
getSessionHandleBytes()
session_handle is the master-generated unique id for this session.
|
long |
getStepId()
A unique ID to distinguish different runs of the same graph.
|
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.
|
boolean |
hasExecOpts()
Options for this step.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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()
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;
boolean getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 10;
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()
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;
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;
boolean hasExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
ExecutorOpts getExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
ExecutorOptsOrBuilder getExecOptsOrBuilder()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;
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 .tensorflow.NamedTensorProto send = 3;
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;
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 .tensorflow.NamedTensorProto send = 3;
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 .tensorflow.NamedTensorProto send = 3;
List<String> getRecvKeyList()
repeated string recv_key = 4;
int getRecvKeyCount()
repeated string recv_key = 4;
String getRecvKey(int index)
repeated string recv_key = 4;
index
- The index of the element to return.org.nd4j.shade.protobuf.ByteString getRecvKeyBytes(int index)
repeated string recv_key = 4;
index
- The index of the value to return.boolean getIsPartial()
True if the RunGraphRequest is a partial run request.
bool is_partial = 6;
boolean getIsLastPartialRun()
True if this is the last partial run request in a sequence of requests.
bool is_last_partial_run = 7;
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;
Copyright © 2022. All rights reserved.