Package org.tensorflow.framework
Interface ResourceHandleProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceHandleProto,ResourceHandleProto.Builder
public interface ResourceHandleProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionContainer in which this resource is placed.com.google.protobuf.ByteStringContainer in which this resource is placed.Unique name for the device containing the resource.com.google.protobuf.ByteStringUnique name for the device containing the resource.getDtypesAndShapes(int index) Data types and shapes for the underlying resource.intData types and shapes for the underlying resource.Data types and shapes for the underlying resource.getDtypesAndShapesOrBuilder(int index) Data types and shapes for the underlying resource.List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> Data types and shapes for the underlying resource.longHash code for the type of the resource.For debug-only, the name of the type pointed to by this handle, if available.com.google.protobuf.ByteStringFor debug-only, the name of the type pointed to by this handle, if available.getName()Unique name of this resource.com.google.protobuf.ByteStringUnique name of this resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDevice
String getDevice()Unique name for the device containing the resource.
string device = 1;- Returns:
- The device.
-
getDeviceBytes
com.google.protobuf.ByteString getDeviceBytes()Unique name for the device containing the resource.
string device = 1;- Returns:
- The bytes for device.
-
getContainer
String getContainer()Container in which this resource is placed.
string container = 2;- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()Container in which this resource is placed.
string container = 2;- Returns:
- The bytes for container.
-
getName
String getName()Unique name of this resource.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Unique name of this resource.
string name = 3;- Returns:
- The bytes for name.
-
getHashCode
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;- Returns:
- The hashCode.
-
getMaybeTypeName
String getMaybeTypeName()For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;- Returns:
- The maybeTypeName.
-
getMaybeTypeNameBytes
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;- Returns:
- The bytes for maybeTypeName.
-
getDtypesAndShapesList
List<ResourceHandleProto.DtypeAndShape> getDtypesAndShapesList()Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; -
getDtypesAndShapes
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; -
getDtypesAndShapesCount
int getDtypesAndShapesCount()Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; -
getDtypesAndShapesOrBuilderList
List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> getDtypesAndShapesOrBuilderList()Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; -
getDtypesAndShapesOrBuilder
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
-