public final class RunGraphRequest extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements RunGraphRequestOrBuilder
tensorflow.RunGraphRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RunGraphRequest.Builder
Protobuf type
tensorflow.RunGraphRequest |
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_WORKER_SESSION_CALLED_FIELD_NUMBER |
static int |
EXEC_OPTS_FIELD_NUMBER |
static int |
GRAPH_HANDLE_FIELD_NUMBER |
static int |
IS_LAST_PARTIAL_RUN_FIELD_NUMBER |
static int |
IS_PARTIAL_FIELD_NUMBER |
static int |
RECV_KEY_FIELD_NUMBER |
static int |
SEND_FIELD_NUMBER |
static int |
SESSION_HANDLE_FIELD_NUMBER |
static int |
STEP_ID_FIELD_NUMBER |
static int |
STORE_ERRORS_IN_RESPONSE_BODY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
|
static RunGraphRequest |
getDefaultInstance() |
RunGraphRequest |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
org.nd4j.shade.protobuf.Parser<RunGraphRequest> |
getParserForType() |
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; |
org.nd4j.shade.protobuf.ProtocolStringList |
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.
|
int |
getSerializedSize() |
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.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExecOpts()
Options for this step.
|
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RunGraphRequest.Builder |
newBuilder() |
static RunGraphRequest.Builder |
newBuilder(RunGraphRequest prototype) |
RunGraphRequest.Builder |
newBuilderForType() |
protected RunGraphRequest.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RunGraphRequest |
parseDelimitedFrom(InputStream input) |
static RunGraphRequest |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunGraphRequest |
parseFrom(byte[] data) |
static RunGraphRequest |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunGraphRequest |
parseFrom(ByteBuffer data) |
static RunGraphRequest |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunGraphRequest |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static RunGraphRequest |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunGraphRequest |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static RunGraphRequest |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunGraphRequest |
parseFrom(InputStream input) |
static RunGraphRequest |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<RunGraphRequest> |
parser() |
RunGraphRequest.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SESSION_HANDLE_FIELD_NUMBER
public static final int CREATE_WORKER_SESSION_CALLED_FIELD_NUMBER
public static final int GRAPH_HANDLE_FIELD_NUMBER
public static final int STEP_ID_FIELD_NUMBER
public static final int EXEC_OPTS_FIELD_NUMBER
public static final int SEND_FIELD_NUMBER
public static final int RECV_KEY_FIELD_NUMBER
public static final int IS_PARTIAL_FIELD_NUMBER
public static final int IS_LAST_PARTIAL_RUN_FIELD_NUMBER
public static final int STORE_ERRORS_IN_RESPONSE_BODY_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public 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;getSessionHandle in interface RunGraphRequestOrBuilderpublic 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;getSessionHandleBytes in interface RunGraphRequestOrBuilderpublic boolean getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 10;getCreateWorkerSessionCalled in interface RunGraphRequestOrBuilderpublic String getGraphHandle()
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;getGraphHandle in interface RunGraphRequestOrBuilderpublic org.nd4j.shade.protobuf.ByteString getGraphHandleBytes()
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
string graph_handle = 1;getGraphHandleBytes in interface RunGraphRequestOrBuilderpublic 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;getStepId in interface RunGraphRequestOrBuilderpublic boolean hasExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;hasExecOpts in interface RunGraphRequestOrBuilderpublic ExecutorOpts getExecOpts()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;getExecOpts in interface RunGraphRequestOrBuilderpublic ExecutorOptsOrBuilder getExecOptsOrBuilder()
Options for this step.
.tensorflow.ExecutorOpts exec_opts = 5;getExecOptsOrBuilder in interface RunGraphRequestOrBuilderpublic 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;getSendList in interface RunGraphRequestOrBuilderpublic 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;getSendOrBuilderList in interface RunGraphRequestOrBuilderpublic 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;getSendCount in interface RunGraphRequestOrBuilderpublic 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;getSend in interface RunGraphRequestOrBuilderpublic 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;getSendOrBuilder in interface RunGraphRequestOrBuilderpublic org.nd4j.shade.protobuf.ProtocolStringList getRecvKeyList()
repeated string recv_key = 4;getRecvKeyList in interface RunGraphRequestOrBuilderpublic int getRecvKeyCount()
repeated string recv_key = 4;getRecvKeyCount in interface RunGraphRequestOrBuilderpublic String getRecvKey(int index)
repeated string recv_key = 4;getRecvKey in interface RunGraphRequestOrBuilderpublic org.nd4j.shade.protobuf.ByteString getRecvKeyBytes(int index)
repeated string recv_key = 4;getRecvKeyBytes in interface RunGraphRequestOrBuilderpublic boolean getIsPartial()
True if the RunGraphRequest is a partial run request.
bool is_partial = 6;getIsPartial in interface RunGraphRequestOrBuilderpublic boolean getIsLastPartialRun()
True if this is the last partial run request in a sequence of requests.
bool is_last_partial_run = 7;getIsLastPartialRun in interface RunGraphRequestOrBuilderpublic 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;getStoreErrorsInResponseBody in interface RunGraphRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static RunGraphRequest parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static RunGraphRequest parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static RunGraphRequest parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static RunGraphRequest parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static RunGraphRequest parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static RunGraphRequest parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static RunGraphRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static RunGraphRequest parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunGraphRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RunGraphRequest parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunGraphRequest parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RunGraphRequest parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RunGraphRequest.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static RunGraphRequest.Builder newBuilder()
public static RunGraphRequest.Builder newBuilder(RunGraphRequest prototype)
public RunGraphRequest.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected RunGraphRequest.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static RunGraphRequest getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<RunGraphRequest> parser()
public org.nd4j.shade.protobuf.Parser<RunGraphRequest> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public RunGraphRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.