Interface RemoteTensorHandleOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
RemoteTensorHandle, RemoteTensorHandle.Builder
-
Method Summary
Modifier and TypeMethodDescriptionDevice where the tensor is located.Device where the tensor is located.getDtype()Tensor type.intTensor type.Device of the operation producing this tensor.Device of the operation producing this tensor.longgetOpId()The ID of the operation that produced this tensor.intThe index into the outputs of the operation that produced this tensor.getResourceDtypesAndShapes(int index) Optional data types and shapes of a remote resource variable.intOptional data types and shapes of a remote resource variable.Optional data types and shapes of a remote resource variable.getResourceDtypesAndShapesOrBuilder(int index) Optional data types and shapes of a remote resource variable.List<? extends ResourceDtypeAndShapeOrBuilder> Optional data types and shapes of a remote resource variable.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getOpId
long getOpId()The ID of the operation that produced this tensor.
int64 op_id = 1;- Returns:
- The opId.
-
getOutputNum
int getOutputNum()The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;- Returns:
- The outputNum.
-
getDevice
String getDevice()Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;- Returns:
- The device.
-
getDeviceBytes
ByteString getDeviceBytes()Device where the tensor is located. Cannot be empty. For multi-device functions, it's the default device passed to placer.
string device = 3;- Returns:
- The bytes for device.
-
getOpDevice
String getOpDevice()Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;- Returns:
- The opDevice.
-
getOpDeviceBytes
ByteString getOpDeviceBytes()Device of the operation producing this tensor. Can be empty if the operation producing this tensor is a multi-device function.
string op_device = 4;- Returns:
- The bytes for opDevice.
-
getDtypeValue
int getDtypeValue()Tensor type.
.tensorflow.DataType dtype = 5;- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
-
getResourceDtypesAndShapesList
List<ResourceDtypeAndShape> getResourceDtypesAndShapesList()Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6; -
getResourceDtypesAndShapes
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6; -
getResourceDtypesAndShapesCount
int getResourceDtypesAndShapesCount()Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6; -
getResourceDtypesAndShapesOrBuilderList
List<? extends ResourceDtypeAndShapeOrBuilder> getResourceDtypesAndShapesOrBuilderList()Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6; -
getResourceDtypesAndShapesOrBuilder
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
-