Package org.tensorflow.distruntime
Interface RecvTensorResponseOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecvTensorResponse
,RecvTensorResponse.Builder
public interface RecvTensorResponseOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.long
getSendStartMicros()
The time at which tensor was available and started to be returned.TensorProto
getTensor()
The tensor as a proto.TensorProtoOrBuilder
getTensorOrBuilder()
The tensor as a proto.org.nd4j.shade.protobuf.Any
getTransportOptions()
Optional additional information about how to receive the tensor, e.g.org.nd4j.shade.protobuf.AnyOrBuilder
getTransportOptionsOrBuilder()
Optional additional information about how to receive the tensor, e.g.boolean
hasTensor()
The tensor as a proto.boolean
hasTransportOptions()
Optional additional information about how to receive the tensor, e.g.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTensor
boolean hasTensor()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
- Returns:
- Whether the tensor field is set.
-
getTensor
TensorProto getTensor()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
- Returns:
- The tensor.
-
getTensorOrBuilder
TensorProtoOrBuilder getTensorOrBuilder()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
-
getIsDead
boolean getIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.
bool is_dead = 2;
- Returns:
- The isDead.
-
getSendStartMicros
long getSendStartMicros()
The time at which tensor was available and started to be returned.
int64 send_start_micros = 3;
- Returns:
- The sendStartMicros.
-
hasTransportOptions
boolean hasTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
org.nd4j.shade.protobuf.Any getTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
- Returns:
- The transportOptions.
-
getTransportOptionsOrBuilder
org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
-
-