DeviceAttributes

public final class DeviceAttributes

Protobuf type tensorflow.DeviceAttributes

Nested Classes

class DeviceAttributes.Builder Protobuf type tensorflow.DeviceAttributes  

Constants

int DEVICE_TYPE_FIELD_NUMBER
int INCARNATION_FIELD_NUMBER
int LOCALITY_FIELD_NUMBER
int MEMORY_LIMIT_FIELD_NUMBER
int NAME_FIELD_NUMBER
int PHYSICAL_DEVICE_DESC_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static DeviceAttributes
DeviceAttributes
final static com.google.protobuf.Descriptors.Descriptor
String
getDeviceType()
 String representation of device_type.
com.google.protobuf.ByteString
getDeviceTypeBytes()
 String representation of device_type.
long
getIncarnation()
 A device is assigned a global unique number each time it is
 initialized.
DeviceLocality
getLocality()
 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
DeviceLocalityOrBuilder
getLocalityOrBuilder()
 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
long
getMemoryLimit()
 Memory capacity of device in bytes.
String
getName()
 Fully specified name of the device within a cluster.
com.google.protobuf.ByteString
getNameBytes()
 Fully specified name of the device within a cluster.
String
getPhysicalDeviceDesc()
 String representation of the physical device that this device maps to.
com.google.protobuf.ByteString
getPhysicalDeviceDescBytes()
 String representation of the physical device that this device maps to.
int
final com.google.protobuf.UnknownFieldSet
boolean
hasLocality()
 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
int
final boolean
static DeviceAttributes.Builder
static DeviceAttributes.Builder
DeviceAttributes.Builder
static DeviceAttributes
parseDelimitedFrom(InputStream input)
static DeviceAttributes
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceAttributes
parseFrom(ByteBuffer data)
static DeviceAttributes
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceAttributes
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceAttributes
parseFrom(com.google.protobuf.CodedInputStream input)
static DeviceAttributes
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceAttributes
parseFrom(com.google.protobuf.ByteString data)
static DeviceAttributes
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceAttributes
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
DeviceAttributes.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEVICE_TYPE_FIELD_NUMBER

Constant Value: 2

public static final int INCARNATION_FIELD_NUMBER

Constant Value: 6

public static final int LOCALITY_FIELD_NUMBER

Constant Value: 5

public static final int MEMORY_LIMIT_FIELD_NUMBER

Constant Value: 4

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int PHYSICAL_DEVICE_DESC_FIELD_NUMBER

Constant Value: 7

Public Methods

public boolean equals (Object obj)

public static DeviceAttributes getDefaultInstance ()

public DeviceAttributes getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getDeviceType ()

 String representation of device_type.
 
string device_type = 2;

public com.google.protobuf.ByteString getDeviceTypeBytes ()

 String representation of device_type.
 
string device_type = 2;

public long getIncarnation ()

 A device is assigned a global unique number each time it is
 initialized. "incarnation" should never be 0.
 
fixed64 incarnation = 6;

public DeviceLocality getLocality ()

 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
 
.tensorflow.DeviceLocality locality = 5;

public DeviceLocalityOrBuilder getLocalityOrBuilder ()

 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
 
.tensorflow.DeviceLocality locality = 5;

public long getMemoryLimit ()

 Memory capacity of device in bytes.
 
int64 memory_limit = 4;

public String getName ()

 Fully specified name of the device within a cluster.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 Fully specified name of the device within a cluster.
 
string name = 1;

public getParserForType ()

public String getPhysicalDeviceDesc ()

 String representation of the physical device that this device maps to.
 
string physical_device_desc = 7;

public com.google.protobuf.ByteString getPhysicalDeviceDescBytes ()

 String representation of the physical device that this device maps to.
 
string physical_device_desc = 7;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasLocality ()

 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
 
.tensorflow.DeviceLocality locality = 5;

public int hashCode ()

public final boolean isInitialized ()

public static DeviceAttributes.Builder newBuilder ()

public static DeviceAttributes.Builder newBuilder (DeviceAttributes prototype)

public DeviceAttributes.Builder newBuilderForType ()

public static DeviceAttributes parseDelimitedFrom (InputStream input)

Throws
IOException

public static DeviceAttributes parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceAttributes parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static DeviceAttributes parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceAttributes parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DeviceAttributes parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static DeviceAttributes parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DeviceAttributes parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static DeviceAttributes parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceAttributes parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public DeviceAttributes.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException