public final class RecvTensorRequest extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements RecvTensorRequestOrBuilder
tensorflow.RecvTensorRequest
Modifier and Type | Class and Description |
---|---|
static class |
RecvTensorRequest.Builder
Protobuf type
tensorflow.RecvTensorRequest |
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 |
CLIENT_LOCALITY_FIELD_NUMBER |
static int |
DMA_OK_FIELD_NUMBER |
static int |
RENDEZVOUS_KEY_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
SERVER_LOCALITY_FIELD_NUMBER |
static int |
STEP_ID_FIELD_NUMBER |
static int |
TRANSPORT_OPTIONS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DeviceLocality |
getClientLocality()
Optional information on client-side device locality.
|
DeviceLocalityOrBuilder |
getClientLocalityOrBuilder()
Optional information on client-side device locality.
|
static RecvTensorRequest |
getDefaultInstance() |
RecvTensorRequest |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the
received tensor.
|
org.nd4j.shade.protobuf.Parser<RecvTensorRequest> |
getParserForType() |
String |
getRendezvousKey()
A key identifying the channel to receive tensors from.
|
org.nd4j.shade.protobuf.ByteString |
getRendezvousKeyBytes()
A key identifying the channel to receive tensors from.
|
long |
getRequestId()
Unique identifier for this request.
|
int |
getSerializedSize() |
DeviceLocality |
getServerLocality()
Optional information on server-side device locality.
|
DeviceLocalityOrBuilder |
getServerLocalityOrBuilder()
Optional information on server-side device locality.
|
long |
getStepId()
The step in which the tensor will be produced.
|
org.nd4j.shade.protobuf.Any |
getTransportOptions()
Optional information needed by the RPC subsystem.
|
org.nd4j.shade.protobuf.AnyOrBuilder |
getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientLocality()
Optional information on client-side device locality.
|
int |
hashCode() |
boolean |
hasServerLocality()
Optional information on server-side device locality.
|
boolean |
hasTransportOptions()
Optional information needed by the RPC subsystem.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RecvTensorRequest.Builder |
newBuilder() |
static RecvTensorRequest.Builder |
newBuilder(RecvTensorRequest prototype) |
RecvTensorRequest.Builder |
newBuilderForType() |
protected RecvTensorRequest.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RecvTensorRequest |
parseDelimitedFrom(InputStream input) |
static RecvTensorRequest |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(byte[] data) |
static RecvTensorRequest |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(ByteBuffer data) |
static RecvTensorRequest |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static RecvTensorRequest |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static RecvTensorRequest |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(InputStream input) |
static RecvTensorRequest |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<RecvTensorRequest> |
parser() |
RecvTensorRequest.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, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int STEP_ID_FIELD_NUMBER
public static final int RENDEZVOUS_KEY_FIELD_NUMBER
public static final int DMA_OK_FIELD_NUMBER
public static final int CLIENT_LOCALITY_FIELD_NUMBER
public static final int SERVER_LOCALITY_FIELD_NUMBER
public static final int TRANSPORT_OPTIONS_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public long getStepId()
The step in which the tensor will be produced. REQUIRED: This must eventually correspond to the `step_id` passed into a RunGraph call on the same WorkerService.
int64 step_id = 1;
getStepId
in interface RecvTensorRequestOrBuilder
public String getRendezvousKey()
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;
getRendezvousKey
in interface RecvTensorRequestOrBuilder
public org.nd4j.shade.protobuf.ByteString getRendezvousKeyBytes()
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;
getRendezvousKeyBytes
in interface RecvTensorRequestOrBuilder
public boolean getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the received tensor.
bool dma_ok = 3;
getDmaOk
in interface RecvTensorRequestOrBuilder
public boolean hasClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;
hasClientLocality
in interface RecvTensorRequestOrBuilder
public DeviceLocality getClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;
getClientLocality
in interface RecvTensorRequestOrBuilder
public DeviceLocalityOrBuilder getClientLocalityOrBuilder()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;
getClientLocalityOrBuilder
in interface RecvTensorRequestOrBuilder
public boolean hasServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;
hasServerLocality
in interface RecvTensorRequestOrBuilder
public DeviceLocality getServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;
getServerLocality
in interface RecvTensorRequestOrBuilder
public DeviceLocalityOrBuilder getServerLocalityOrBuilder()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;
getServerLocalityOrBuilder
in interface RecvTensorRequestOrBuilder
public boolean hasTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
hasTransportOptions
in interface RecvTensorRequestOrBuilder
public org.nd4j.shade.protobuf.Any getTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
getTransportOptions
in interface RecvTensorRequestOrBuilder
public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
getTransportOptionsOrBuilder
in interface RecvTensorRequestOrBuilder
public long getRequestId()
Unique identifier for this request. Every RecvTensorRequest must have a unique request_id, and retried RecvTensorRequests must have the same request_id. If request_id is zero, retry detection is disabled. Retried RecvTensorRequests are problematic because a RecvTensor with no corresponding sender will wait forever, and the tensor may have been delivered to a previous retry. Workers use request_ids to reject retried RecvTensor requests instead of waiting forever.
int64 request_id = 7;
getRequestId
in interface RecvTensorRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static RecvTensorRequest parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(InputStream input) throws IOException
IOException
public static RecvTensorRequest parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RecvTensorRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RecvTensorRequest parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RecvTensorRequest parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static RecvTensorRequest parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RecvTensorRequest.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static RecvTensorRequest.Builder newBuilder()
public static RecvTensorRequest.Builder newBuilder(RecvTensorRequest prototype)
public RecvTensorRequest.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected RecvTensorRequest.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static RecvTensorRequest getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<RecvTensorRequest> parser()
public org.nd4j.shade.protobuf.Parser<RecvTensorRequest> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public RecvTensorRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2019. All rights reserved.