public interface
RemoteTensorHandleOrBuilder
Known Indirect Subclasses |
Public Methods
abstract String |
getDevice()
Device where the tensor is located. |
abstract com.google.protobuf.ByteString |
getDeviceBytes()
Device where the tensor is located. |
abstract DataType |
getDtype()
Tensor type. |
abstract int |
getDtypeValue()
Tensor type. |
abstract String |
getOpDevice()
Device of the operation producing this tensor. |
abstract com.google.protobuf.ByteString |
getOpDeviceBytes()
Device of the operation producing this tensor. |
abstract long |
getOpId()
The ID of the operation that produced this tensor. |
abstract int |
getOutputNum()
The index into the outputs of the operation that produced this tensor. |
abstract ResourceDtypeAndShape |
getResourceDtypesAndShapes(int index)
Optional data types and shapes of a remote resource variable. |
abstract int |
getResourceDtypesAndShapesCount()
Optional data types and shapes of a remote resource variable. |
abstract List<ResourceDtypeAndShape> |
getResourceDtypesAndShapesList()
Optional data types and shapes of a remote resource variable. |
abstract ResourceDtypeAndShapeOrBuilder |
getResourceDtypesAndShapesOrBuilder(int index)
Optional data types and shapes of a remote resource variable. |
abstract List<? extends ResourceDtypeAndShapeOrBuilder> |
getResourceDtypesAndShapesOrBuilderList()
Optional data types and shapes of a remote resource variable. |
Public Methods
public abstract 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;
public abstract com.google.protobuf.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;
public abstract int getDtypeValue ()
Tensor type.
.tensorflow.DataType dtype = 5;
public abstract 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;
public abstract com.google.protobuf.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;
public abstract long getOpId ()
The ID of the operation that produced this tensor.
int64 op_id = 1;
public abstract int getOutputNum ()
The index into the outputs of the operation that produced this tensor.
int32 output_num = 2;
public abstract ResourceDtypeAndShape getResourceDtypesAndShapes (int index)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public abstract int getResourceDtypesAndShapesCount ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public abstract List<ResourceDtypeAndShape> getResourceDtypesAndShapesList ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public abstract ResourceDtypeAndShapeOrBuilder getResourceDtypesAndShapesOrBuilder (int index)
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;
public abstract List<? extends ResourceDtypeAndShapeOrBuilder> getResourceDtypesAndShapesOrBuilderList ()
Optional data types and shapes of a remote resource variable.
repeated .tensorflow.eager.ResourceDtypeAndShape resource_dtypes_and_shapes = 6;