Package org.platanios.tensorflow.proto
Interface RecvTensorRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecvTensorRequest
,RecvTensorRequest.Builder
public interface RecvTensorRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceLocality
getClientLocality()
Optional information on client-side device locality.DeviceLocalityOrBuilder
getClientLocalityOrBuilder()
Optional information on client-side device locality.boolean
getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the received tensor.java.lang.String
getRendezvousKey()
A key identifying the channel to receive tensors from.com.google.protobuf.ByteString
getRendezvousKeyBytes()
A key identifying the channel to receive tensors from.long
getRequestId()
Unique identifier for this request.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.Any
getTransportOptions()
Optional information needed by the RPC subsystem.AnyOrBuilder
getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.boolean
hasClientLocality()
Optional information on client-side device locality.boolean
hasServerLocality()
Optional information on server-side device locality.boolean
hasTransportOptions()
Optional information needed by the RPC subsystem.-
Methods inherited from interface com.google.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
java.lang.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
com.google.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.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 4;
- Returns:
- Whether the clientLocality field is set.
-
getClientLocality
DeviceLocality getClientLocality()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 4;
- Returns:
- The clientLocality.
-
getClientLocalityOrBuilder
DeviceLocalityOrBuilder getClientLocalityOrBuilder()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 4;
-
hasServerLocality
boolean hasServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 5;
- Returns:
- Whether the serverLocality field is set.
-
getServerLocality
DeviceLocality getServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 5;
- Returns:
- The serverLocality.
-
getServerLocalityOrBuilder
DeviceLocalityOrBuilder getServerLocalityOrBuilder()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 5;
-
hasTransportOptions
boolean hasTransportOptions()
Optional information needed by the RPC subsystem.
.org.platanios.tensorflow.proto.google.Any transport_options = 6;
- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
Any getTransportOptions()
Optional information needed by the RPC subsystem.
.org.platanios.tensorflow.proto.google.Any transport_options = 6;
- Returns:
- The transportOptions.
-
getTransportOptionsOrBuilder
AnyOrBuilder getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
.org.platanios.tensorflow.proto.google.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 and response cache are 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.
-
-