DeviceAttributesOrBuilder

public interface DeviceAttributesOrBuilder
Known Indirect Subclasses

Public Methods

abstract String
getDeviceType()
 String representation of device_type.
abstract com.google.protobuf.ByteString
getDeviceTypeBytes()
 String representation of device_type.
abstract long
getIncarnation()
 A device is assigned a global unique number each time it is
 initialized.
abstract DeviceLocality
getLocality()
 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
abstract DeviceLocalityOrBuilder
getLocalityOrBuilder()
 Platform-specific data about device that may be useful
 for supporting efficient data transfers.
abstract long
getMemoryLimit()
 Memory capacity of device in bytes.
abstract String
getName()
 Fully specified name of the device within a cluster.
abstract com.google.protobuf.ByteString
getNameBytes()
 Fully specified name of the device within a cluster.
abstract String
getPhysicalDeviceDesc()
 String representation of the physical device that this device maps to.
abstract com.google.protobuf.ByteString
getPhysicalDeviceDescBytes()
 String representation of the physical device that this device maps to.
abstract boolean
hasLocality()
 Platform-specific data about device that may be useful
 for supporting efficient data transfers.

Public Methods

public abstract String getDeviceType ()

 String representation of device_type.
 
string device_type = 2;

public abstract com.google.protobuf.ByteString getDeviceTypeBytes ()

 String representation of device_type.
 
string device_type = 2;

public abstract long getIncarnation ()

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

public abstract DeviceLocality getLocality ()

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

public abstract DeviceLocalityOrBuilder getLocalityOrBuilder ()

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

public abstract long getMemoryLimit ()

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

public abstract String getName ()

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

public abstract com.google.protobuf.ByteString getNameBytes ()

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

public abstract String getPhysicalDeviceDesc ()

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

public abstract com.google.protobuf.ByteString getPhysicalDeviceDescBytes ()

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

public abstract boolean hasLocality ()

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