Package org.tensorflow.distruntime
Interface RecvTensorRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecvTensorRequest,RecvTensorRequest.Builder
public interface RecvTensorRequestOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceLocalitygetClientLocality()Optional information on client-side device locality.DeviceLocalityOrBuildergetClientLocalityOrBuilder()Optional information on client-side device locality.booleangetDmaOk()If true, use an out-of-band DMA mechanism to transfer the received tensor.StringgetRendezvousKey()A key identifying the channel to receive tensors from.org.nd4j.shade.protobuf.ByteStringgetRendezvousKeyBytes()A key identifying the channel to receive tensors from.longgetRequestId()Unique identifier for this request.DeviceLocalitygetServerLocality()Optional information on server-side device locality.DeviceLocalityOrBuildergetServerLocalityOrBuilder()Optional information on server-side device locality.longgetStepId()The step in which the tensor will be produced.org.nd4j.shade.protobuf.AnygetTransportOptions()Optional information needed by the RPC subsystem.org.nd4j.shade.protobuf.AnyOrBuildergetTransportOptionsOrBuilder()Optional information needed by the RPC subsystem.booleanhasClientLocality()Optional information on client-side device locality.booleanhasServerLocality()Optional information on server-side device locality.booleanhasTransportOptions()Optional information needed by the RPC subsystem.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStepId
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;- Returns:
- The stepId.
-
getRendezvousKey
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;- Returns:
- The rendezvousKey.
-
getRendezvousKeyBytes
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;- Returns:
- The bytes for rendezvousKey.
-
getDmaOk
boolean getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the received tensor.
bool dma_ok = 3;- Returns:
- The dmaOk.
-
hasClientLocality
boolean hasClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;- Returns:
- Whether the clientLocality field is set.
-
getClientLocality
DeviceLocality getClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;- Returns:
- The clientLocality.
-
getClientLocalityOrBuilder
DeviceLocalityOrBuilder getClientLocalityOrBuilder()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;
-
hasServerLocality
boolean hasServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;- Returns:
- Whether the serverLocality field is set.
-
getServerLocality
DeviceLocality getServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;- Returns:
- The serverLocality.
-
getServerLocalityOrBuilder
DeviceLocalityOrBuilder getServerLocalityOrBuilder()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;
-
hasTransportOptions
boolean hasTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
org.nd4j.shade.protobuf.Any getTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;- Returns:
- The transportOptions.
-
getTransportOptionsOrBuilder
org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
-
getRequestId
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;- Returns:
- The requestId.
-
-