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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContainer()Container in which this resource is placed.com.google.protobuf.ByteStringgetContainerBytes()Container in which this resource is placed.java.lang.StringgetDevice()Unique name for the device containing the resource.com.google.protobuf.ByteStringgetDeviceBytes()Unique name for the device containing the resource.ResourceHandleProto.DtypeAndShapegetDtypesAndShapes(int index)Data types and shapes for the underlying resource.intgetDtypesAndShapesCount()Data types and shapes for the underlying resource.java.util.List<ResourceHandleProto.DtypeAndShape>getDtypesAndShapesList()Data types and shapes for the underlying resource.ResourceHandleProto.DtypeAndShapeOrBuildergetDtypesAndShapesOrBuilder(int index)Data types and shapes for the underlying resource.java.util.List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder>getDtypesAndShapesOrBuilderList()Data types and shapes for the underlying resource.longgetHashCode()Hash code for the type of the resource.java.lang.StringgetMaybeTypeName()For debug-only, the name of the type pointed to by this handle, if available.com.google.protobuf.ByteStringgetMaybeTypeNameBytes()For debug-only, the name of the type pointed to by this handle, if available.java.lang.StringgetName()Unique name of this resource.com.google.protobuf.ByteStringgetNameBytes()Unique name of this resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDevice
java.lang.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
java.lang.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
java.lang.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
java.lang.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
java.util.List<ResourceHandleProto.DtypeAndShape> getDtypesAndShapesList()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
-
getDtypesAndShapes
ResourceHandleProto.DtypeAndShape getDtypesAndShapes(int index)
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
java.util.List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> getDtypesAndShapesOrBuilderList()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
-
getDtypesAndShapesOrBuilder
ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder(int index)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
-
-