public final class
AvailableDeviceInfo
Matches DeviceAttributes
tensorflow.AvailableDeviceInfo
Nested Classes
class | AvailableDeviceInfo.Builder | Matches DeviceAttributes tensorflow.AvailableDeviceInfo
|
Constants
int | MEMORY_LIMIT_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | PHYSICAL_DESCRIPTION_FIELD_NUMBER | |
int | TYPE_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static AvailableDeviceInfo | |
AvailableDeviceInfo | |
final static com.google.protobuf.Descriptors.Descriptor | |
long |
getMemoryLimit()
Memory capacity in bytes. |
String |
getName()
Device name. |
com.google.protobuf.ByteString |
getNameBytes()
Device name. |
|
|
String |
getPhysicalDescription()
The physical description of this device. |
com.google.protobuf.ByteString |
getPhysicalDescriptionBytes()
The physical description of this device. |
int | |
String |
getType()
Device type, e.g. |
com.google.protobuf.ByteString |
getTypeBytes()
Device type, e.g. |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static AvailableDeviceInfo.Builder |
newBuilder(AvailableDeviceInfo prototype)
|
static AvailableDeviceInfo.Builder | |
AvailableDeviceInfo.Builder | |
static AvailableDeviceInfo |
parseDelimitedFrom(InputStream input)
|
static AvailableDeviceInfo |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static AvailableDeviceInfo |
parseFrom(ByteBuffer data)
|
static AvailableDeviceInfo |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static AvailableDeviceInfo |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static AvailableDeviceInfo |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static AvailableDeviceInfo |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static AvailableDeviceInfo |
parseFrom(com.google.protobuf.ByteString data)
|
static AvailableDeviceInfo |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static AvailableDeviceInfo |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
AvailableDeviceInfo.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int MEMORY_LIMIT_FIELD_NUMBER
Constant Value:
3
public static final int NAME_FIELD_NUMBER
Constant Value:
1
public static final int PHYSICAL_DESCRIPTION_FIELD_NUMBER
Constant Value:
4
public static final int TYPE_FIELD_NUMBER
Constant Value:
2
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public long getMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3;
public String getName ()
Device name.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Device name.
string name = 1;
public
getParserForType
()
public String getPhysicalDescription ()
The physical description of this device.
string physical_description = 4;
public com.google.protobuf.ByteString getPhysicalDescriptionBytes ()
The physical description of this device.
string physical_description = 4;
public int getSerializedSize ()
public String getType ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public com.google.protobuf.ByteString getTypeBytes ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static AvailableDeviceInfo parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static AvailableDeviceInfo parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static AvailableDeviceInfo parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|