public interface
AvailableDeviceInfoOrBuilder
Known Indirect Subclasses |
Public Methods
abstract long |
getMemoryLimit()
Memory capacity in bytes. |
abstract String |
getName()
Device name. |
abstract com.google.protobuf.ByteString |
getNameBytes()
Device name. |
abstract String |
getPhysicalDescription()
The physical description of this device. |
abstract com.google.protobuf.ByteString |
getPhysicalDescriptionBytes()
The physical description of this device. |
abstract String |
getType()
Device type, e.g. |
abstract com.google.protobuf.ByteString |
getTypeBytes()
Device type, e.g. |
Public Methods
public abstract long getMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3;
public abstract String getName ()
Device name.
string name = 1;
public abstract com.google.protobuf.ByteString getNameBytes ()
Device name.
string name = 1;
public abstract String getPhysicalDescription ()
The physical description of this device.
string physical_description = 4;
public abstract com.google.protobuf.ByteString getPhysicalDescriptionBytes ()
The physical description of this device.
string physical_description = 4;
public abstract String getType ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public abstract com.google.protobuf.ByteString getTypeBytes ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;