classe final pública estática AvailableDeviceInfo.Builder
Matches DeviceAttributes
tensorflow.AvailableDeviceInfo tipo tensorflow.AvailableDeviceInfo Métodos Públicos
| AvailableDeviceInfo.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| AvailableDeviceInfo | build () |
| AvailableDeviceInfo | buildPartial () |
| AvailableDeviceInfo.Builder | limpar () |
| AvailableDeviceInfo.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| 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 | clone () |
| AvailableDeviceInfo | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| 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. |
| Fragmento | getType () Device type, e.g. |
| com.google.protobuf.ByteString | getTypeBytes () Device type, e.g. |
| final booleano | |
| AvailableDeviceInfo.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| AvailableDeviceInfo.Builder | mergeFrom (com.google.protobuf.Message other) |
| final AvailableDeviceInfo.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
| AvailableDeviceInfo.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| AvailableDeviceInfo.Builder | setMemoryLimit (valor longo) Memory capacity in bytes. |
| AvailableDeviceInfo.Builder | setName (valor String) Device name. |
| AvailableDeviceInfo.Builder | setNameBytes (com.google.protobuf.ByteString value) Device name. |
| AvailableDeviceInfo.Builder | setPhysicalDescription (String value) The physical description of this device. |
| AvailableDeviceInfo.Builder | setPhysicalDescriptionBytes (com.google.protobuf.ByteString value) The physical description of this device. |
| AvailableDeviceInfo.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
| AvailableDeviceInfo.Builder | setType (valor String) Device type, e.g. |
| AvailableDeviceInfo.Builder | setTypeBytes (com.google.protobuf.ByteString value) Device type, e.g. |
| final AvailableDeviceInfo.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public AvailableDeviceInfo.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public AvailableDeviceInfo.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
public AvailableDeviceInfo.Builder clearMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3; memory_limit 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 ()
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;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 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 boolean isInitialized ()
public AvailableDeviceInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public final AvailableDeviceInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public AvailableDeviceInfo.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public AvailableDeviceInfo.Builder setMemoryLimit (valor longo)
Memory capacity in bytes.
int64 memory_limit = 3; memory_limit int64 memory_limit = 3;public AvailableDeviceInfo.Builder setNameBytes (valor com.google.protobuf.ByteString)
Device name.
string name = 1;public AvailableDeviceInfo.Builder setPhysicalDescription (String value)
The physical description of this device.
string physical_description = 4;public AvailableDeviceInfo.Builder setPhysicalDescriptionBytes (com.google.protobuf.ByteString value)
The physical description of this device.
string physical_description = 4; public AvailableDeviceInfo.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public AvailableDeviceInfo.Builder setType (String value)
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;public AvailableDeviceInfo.Builder setTypeBytes (valor com.google.protobuf.ByteString)
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;