kelas akhir publik AvailableDeviceInfo
Matches DeviceAttributes
tensorflow.AvailableDeviceInfo
Kelas Bersarang
kelas | TersediaDeviceInfo.Builder | Matches DeviceAttributes tensorflow.AvailableDeviceInfo |
Konstanta
ke dalam | MEMORY_LIMIT_FIELD_NUMBER | |
ke dalam | NAME_FIELD_NUMBER | |
ke dalam | PHYSICAL_DESCRIPTION_FIELD_NUMBER | |
ke dalam | TYPE_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
AvailableDeviceInfo statis | |
TersediaDeviceInfo | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
panjang | dapatkanMemoryLimit () Memory capacity in bytes. |
Rangkaian | dapatkan Nama () Device name. |
com.google.protobuf.ByteString | dapatkanNamaBytes () Device name. |
Rangkaian | dapatkanDeskripsi Fisik () The physical description of this device. |
com.google.protobuf.ByteString | dapatkanPhysicalDescriptionBytes () The physical description of this device. |
ke dalam | |
Rangkaian | dapatkan Tipe () Device type, e.g. |
com.google.protobuf.ByteString | dapatkanTypeBytes () Device type, e.g. |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
TersediaDeviceInfo.Builder statis | newBuilder (prototipe AvailableDeviceInfo ) |
TersediaDeviceInfo.Builder statis | |
TersediaDeviceInfo.Builder | |
AvailableDeviceInfo statis | parseDelimitedFrom (masukan Aliran Masukan) |
AvailableDeviceInfo statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AvailableDeviceInfo statis | parseFrom (data ByteBuffer) |
AvailableDeviceInfo statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AvailableDeviceInfo statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AvailableDeviceInfo statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
AvailableDeviceInfo statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AvailableDeviceInfo statis | parseFrom (com.google.protobuf.ByteString data) |
AvailableDeviceInfo statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AvailableDeviceInfo statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
TersediaDeviceInfo.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik MEMORY_LIMIT_FIELD_NUMBER
Nilai Konstan: 3
int final statis publik NAME_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik PHYSICAL_DESCRIPTION_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik TYPE_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
getMemoryLimit panjang publik ()
Memory capacity in bytes.
int64 memory_limit = 3;
GetName String publik ()
Device name.
string name = 1;
publik com.google.protobuf.ByteString getNameBytes ()
Device name.
string name = 1;
publik dapatkanParserForType ()
String publik getPhysicalDescription ()
The physical description of this device.
string physical_description = 4;
publik com.google.protobuf.ByteString getPhysicalDescriptionBytes ()
The physical description of this device.
string physical_description = 4;
publik int getSerializedSize ()
GetType String publik ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
publik com.google.protobuf.ByteString getTypeBytes ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
public static AvailableDeviceInfo parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom AvailableDeviceInfo statis publik (data ByteBuffer)
Melempar
InvalidProtocolBufferException |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public static AvailableDeviceInfo parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom AvailableDeviceInfo statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
public static AvailableDeviceInfo parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom AvailableDeviceInfo statis publik (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
public static AvailableDeviceInfo parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public static AvailableDeviceInfo parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|