Package org.tensorflow.framework
Interface ResourceHandleProtoOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceHandleProto,ResourceHandleProto.Builder
public interface ResourceHandleProtoOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContainer()Container in which this resource is placed.org.nd4j.shade.protobuf.ByteStringgetContainerBytes()Container in which this resource is placed.StringgetDevice()Unique name for the device containing the resource.org.nd4j.shade.protobuf.ByteStringgetDeviceBytes()Unique name for the device containing the resource.longgetHashCode()Hash code for the type of the resource.StringgetMaybeTypeName()For debug-only, the name of the type pointed to by this handle, if available.org.nd4j.shade.protobuf.ByteStringgetMaybeTypeNameBytes()For debug-only, the name of the type pointed to by this handle, if available.StringgetName()Unique name of this resource.org.nd4j.shade.protobuf.ByteStringgetNameBytes()Unique name of this resource.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDevice
String getDevice()
Unique name for the device containing the resource.
string device = 1;- Returns:
- The device.
-
getDeviceBytes
org.nd4j.shade.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
org.nd4j.shade.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
org.nd4j.shade.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
org.nd4j.shade.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.
-
-