Package org.platanios.tensorflow.proto
Interface EagerServiceOuterClass.SendTensorOpOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EagerServiceOuterClass.SendTensorOp
,EagerServiceOuterClass.SendTensorOp.Builder
- Enclosing class:
- EagerServiceOuterClass
public static interface EagerServiceOuterClass.SendTensorOpOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDeviceName()
The device on which the tensors should be resident.com.google.protobuf.ByteString
getDeviceNameBytes()
The device on which the tensors should be resident.long
getOpId()
All remote tensors are identified by <Op ID, Output num>.TensorProto
getTensors(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.int
getTensorsCount()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.java.util.List<TensorProto>
getTensorsList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.TensorProtoOrBuilder
getTensorsOrBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.java.util.List<? extends TensorProtoOrBuilder>
getTensorsOrBuilderList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOpId
long getOpId()
All remote tensors are identified by <Op ID, Output num>. To mimic this situation when directly sending tensors, we include an "artificial" op ID (which would have corresponded to the _Recv op when not using SendTensor).
int64 op_id = 1;
- Returns:
- The opId.
-
getTensorsList
java.util.List<TensorProto> getTensorsList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensors
TensorProto getTensors(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensorsCount
int getTensorsCount()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensorsOrBuilderList
java.util.List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensorsOrBuilder
TensorProtoOrBuilder getTensorsOrBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getDeviceName
java.lang.String getDeviceName()
The device on which the tensors should be resident.
string device_name = 3;
- Returns:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.ByteString getDeviceNameBytes()
The device on which the tensors should be resident.
string device_name = 3;
- Returns:
- The bytes for deviceName.
-
-