public interface
ResourceHandleProtoOrBuilder
Known Indirect Subclasses |
Public Methods
abstract String |
getContainer()
Container in which this resource is placed. |
abstract com.google.protobuf.ByteString |
getContainerBytes()
Container in which this resource is placed. |
abstract String |
getDevice()
Unique name for the device containing the resource. |
abstract com.google.protobuf.ByteString |
getDeviceBytes()
Unique name for the device containing the resource. |
abstract ResourceHandleProto.DtypeAndShape |
getDtypesAndShapes(int index)
Data types and shapes for the underlying resource. |
abstract int |
getDtypesAndShapesCount()
Data types and shapes for the underlying resource. |
abstract List<ResourceHandleProto.DtypeAndShape> |
getDtypesAndShapesList()
Data types and shapes for the underlying resource. |
abstract ResourceHandleProto.DtypeAndShapeOrBuilder |
getDtypesAndShapesOrBuilder(int index)
Data types and shapes for the underlying resource. |
abstract List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> |
getDtypesAndShapesOrBuilderList()
Data types and shapes for the underlying resource. |
abstract long |
getHashCode()
Hash code for the type of the resource. |
abstract String |
getMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if available. |
abstract com.google.protobuf.ByteString |
getMaybeTypeNameBytes()
For debug-only, the name of the type pointed to by this handle, if available. |
abstract String |
getName()
Unique name of this resource. |
abstract com.google.protobuf.ByteString |
getNameBytes()
Unique name of this resource. |
Public Methods
public abstract String getContainer ()
Container in which this resource is placed.
string container = 2;
public abstract com.google.protobuf.ByteString getContainerBytes ()
Container in which this resource is placed.
string container = 2;
public abstract String getDevice ()
Unique name for the device containing the resource.
string device = 1;
public abstract com.google.protobuf.ByteString getDeviceBytes ()
Unique name for the device containing the resource.
string device = 1;
public abstract ResourceHandleProto.DtypeAndShape getDtypesAndShapes (int index)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public abstract int getDtypesAndShapesCount ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public abstract List<ResourceHandleProto.DtypeAndShape> getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public abstract ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (int index)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public abstract List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public abstract long getHashCode ()
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
uint64 hash_code = 4;
public abstract String getMaybeTypeName ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
public abstract com.google.protobuf.ByteString getMaybeTypeNameBytes ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
public abstract String getName ()
Unique name of this resource.
string name = 3;
public abstract com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3;