genel statik son sınıf AvailableDeviceInfo.Builder
Matches DeviceAttributes
tensorflow.AvailableDeviceInfo
Genel Yöntemler
AvailableDeviceInfo.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
Kullanılabilir Cihaz Bilgileri | inşa etmek () |
Kullanılabilir Cihaz Bilgileri | inşaKısmi () |
AvailableDeviceInfo.Builder | temizlemek () |
AvailableDeviceInfo.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
AvailableDeviceInfo.Builder | clearMemoryLimit () Memory capacity in bytes. |
AvailableDeviceInfo.Builder | clearName () Device name. |
AvailableDeviceInfo.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AvailableDeviceInfo.Builder | clearPhysicalDescription () The physical description of this device. |
AvailableDeviceInfo.Builder | clearType () Device type, e.g. |
AvailableDeviceInfo.Builder | klon () |
Kullanılabilir Cihaz Bilgileri | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
uzun | getMemoryLimit () Memory capacity in bytes. |
Sicim | getName () Device name. |
com.google.protobuf.ByteString | getNameBytes () Device name. |
Sicim | getPhysicalDescription () The physical description of this device. |
com.google.protobuf.ByteString | getPhysicalDescriptionBytes () The physical description of this device. |
Sicim | getType () Device type, e.g. |
com.google.protobuf.ByteString | getTypeBytes () Device type, e.g. |
son boole değeri | Başlatıldı () |
AvailableDeviceInfo.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AvailableDeviceInfo.Builder | mergeFrom (com.google.protobuf.Message other) |
final AvailableDeviceInfo.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
AvailableDeviceInfo.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
AvailableDeviceInfo.Builder | setMemoryLimit (uzun değer) Memory capacity in bytes. |
AvailableDeviceInfo.Builder | setName (Dize değeri) Device name. |
AvailableDeviceInfo.Builder | setNameBytes (com.google.protobuf.ByteString değeri) Device name. |
AvailableDeviceInfo.Builder | setPhysicalDescription (Dize değeri) The physical description of this device. |
AvailableDeviceInfo.Builder | setPhysicalDescriptionBytes (com.google.protobuf.ByteString değeri) The physical description of this device. |
AvailableDeviceInfo.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
AvailableDeviceInfo.Builder | setType (Dize değeri) Device type, e.g. |
AvailableDeviceInfo.Builder | setTypeBytes (com.google.protobuf.ByteString değeri) Device type, e.g. |
final AvailableDeviceInfo.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public AvailableDeviceInfo.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public AvailableDeviceInfo.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı)
public AvailableDeviceInfo.Builder clearMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3;
public AvailableDeviceInfo.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public AvailableDeviceInfo.Builder clearPhysicalDescription ()
The physical description of this device.
string physical_description = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel uzun getMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3;
genel Dize getName ()
Device name.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Device name.
string name = 1;
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;
genel Dize 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;
genel final boolean isInitialized ()
public AvailableDeviceInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final AvailableDeviceInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public AvailableDeviceInfo.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public AvailableDeviceInfo.Builder setMemoryLimit (uzun değer)
Memory capacity in bytes.
int64 memory_limit = 3;
public AvailableDeviceInfo.Builder setNameBytes (com.google.protobuf.ByteString değeri)
Device name.
string name = 1;
public AvailableDeviceInfo.Builder setPhysicalDescription (Dize değeri)
The physical description of this device.
string physical_description = 4;
public AvailableDeviceInfo.Builder setPhysicalDescriptionBytes (com.google.protobuf.ByteString değeri)
The physical description of this device.
string physical_description = 4;
public AvailableDeviceInfo.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
public AvailableDeviceInfo.Builder setType (Dize değeri)
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public AvailableDeviceInfo.Builder setTypeBytes (com.google.protobuf.ByteString değeri)
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;