public final class AvailableDeviceInfo
Matches DeviceAttributes
tensorflow.AvailableDeviceInfo
tipo tensorflow.AvailableDeviceInfo
Classes aninhadas
aula | AvailableDeviceInfo.Builder | Matches DeviceAttributes tensorflow.AvailableDeviceInfo tipo tensorflow.AvailableDeviceInfo |
Constantes
int | MEMORY_LIMIT_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | PHYSICAL_DESCRIPTION_FIELD_NUMBER | |
int | TYPE_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
static AvailableDeviceInfo | |
AvailableDeviceInfo | |
final static com.google.protobuf.Descriptors.Descriptor | |
longo | getMemoryLimit () Memory capacity in bytes. |
Fragmento | getName () Device name. |
com.google.protobuf.ByteString | getNameBytes () Device name. |
Fragmento | getPhysicalDescription () The physical description of this device. |
com.google.protobuf.ByteString | getPhysicalDescriptionBytes () The physical description of this device. |
int | |
Fragmento | getType () Device type, e.g. |
com.google.protobuf.ByteString | getTypeBytes () Device type, e.g. |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
static AvailableDeviceInfo.Builder | newBuilder (protótipo AvailableDeviceInfo ) |
static AvailableDeviceInfo.Builder | newBuilder () |
AvailableDeviceInfo.Builder | |
static AvailableDeviceInfo | parseDelimitedFrom (input InputStream) |
static AvailableDeviceInfo | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AvailableDeviceInfo | parseFrom (dados ByteBuffer) |
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) |
estático | analisador () |
AvailableDeviceInfo.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int MEMORY_LIMIT_FIELD_NUMBER
Valor Constante: 3
public static final int NAME_FIELD_NUMBER
Valor constante: 1
público estático final int PHYSICAL_DESCRIPTION_FIELD_NUMBER
Valor constante: 4
public static final int TYPE_FIELD_NUMBER
Valor constante: 2
Métodos Públicos
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;
memory_limit int64 memory_limit = 3;
public String getName ()
Device name.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Device name.
string name = 1;
público 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)
Lança
IOException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static AvailableDeviceInfo parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static AvailableDeviceInfo parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|