AvailableDeviceInfo.Builder

classe finale statique publique AvailableDeviceInfo.Builder

 Matches DeviceAttributes
 
tensorflow.AvailableDeviceInfo

Méthodes publiques

AvailableDeviceInfo.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
Informations sur le périphérique disponible
Informations sur le périphérique disponible
AvailableDeviceInfo.Builder
clair ()
AvailableDeviceInfo.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
AvailableDeviceInfo.Builder
clearMemoryLimit ()
 Memory capacity in bytes.
AvailableDeviceInfo.Builder
nom clair ()
 Device name.
AvailableDeviceInfo.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AvailableDeviceInfo.Builder
effacerDescriptionPhysique ()
 The physical description of this device.
AvailableDeviceInfo.Builder
Type clair ()
 Device type, e.g.
AvailableDeviceInfo.Builder
cloner ()
Informations sur le périphérique disponible
final statique com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getMemoryLimit ()
 Memory capacity in bytes.
Chaîne
obtenirNom ()
 Device name.
com.google.protobuf.ByteString
getNameBytes ()
 Device name.
Chaîne
obtenirDescriptionPhysique ()
 The physical description of this device.
com.google.protobuf.ByteString
getPhysicalDescriptionBytes ()
 The physical description of this device.
Chaîne
getType ()
 Device type, e.g.
com.google.protobuf.ByteString
getTypeBytes ()
 Device type, e.g.
booléen final
AvailableDeviceInfo.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AvailableDeviceInfo.Builder
mergeFrom (com.google.protobuf.Message autre)
final AvailableDeviceInfo.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
AvailableDeviceInfo.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
AvailableDeviceInfo.Builder
setMemoryLimit (valeur longue)
 Memory capacity in bytes.
AvailableDeviceInfo.Builder
setName (valeur de chaîne)
 Device name.
AvailableDeviceInfo.Builder
setNameBytes (valeur com.google.protobuf.ByteString)
 Device name.
AvailableDeviceInfo.Builder
setPhysicalDescription (valeur de chaîne)
 The physical description of this device.
AvailableDeviceInfo.Builder
setPhysicalDescriptionBytes (valeur com.google.protobuf.ByteString)
 The physical description of this device.
AvailableDeviceInfo.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
AvailableDeviceInfo.Builder
setType (valeur de chaîne)
 Device type, e.g.
AvailableDeviceInfo.Builder
setTypeBytes (valeur com.google.protobuf.ByteString)
 Device type, e.g.
final AvailableDeviceInfo.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public AvailableDeviceInfo.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public AvailableDeviceInfo ()

public AvailableDeviceInfo buildPartial ()

public AvailableDeviceInfo.Builder clear ()

public AvailableDeviceInfo.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public AvailableDeviceInfo.Builder clearMemoryLimit ()

 Memory capacity in bytes.
 
int64 memory_limit = 3;

public AvailableDeviceInfo.Builder clearName ()

nom de chaîne

 Device name.
 
string name = 1;

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 AvailableDeviceInfo.Builder clearType ()

type de chaîne

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

Clone public AvailableDeviceInfo.Builder ()

public AvailableDeviceInfo getDefaultInstanceForType ()

public statique 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;

chaîne publique getName ()

nom de chaîne

 Device name.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

nom de chaîne

 Device name.
 
string name = 1;

chaîne publique 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;

chaîne publique getType ()

type de chaîne

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public com.google.protobuf.ByteString getTypeBytes ()

type de chaîne

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public final booléen isInitialized ()

public AvailableDeviceInfo.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public AvailableDeviceInfo.Builder mergeFrom (com.google.protobuf.Message autre)

public final AvailableDeviceInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public AvailableDeviceInfo.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public AvailableDeviceInfo.Builder setMemoryLimit (valeur longue)

 Memory capacity in bytes.
 
int64 memory_limit = 3;

public AvailableDeviceInfo.Builder setName (valeur de chaîne)

nom de chaîne

 Device name.
 
string name = 1;

public AvailableDeviceInfo.Builder setNameBytes (valeur com.google.protobuf.ByteString)

nom de chaîne

 Device name.
 
string name = 1;

public AvailableDeviceInfo.Builder setPhysicalDescription (valeur de chaîne)

 The physical description of this device.
 
string physical_description = 4;

public AvailableDeviceInfo.Builder setPhysicalDescriptionBytes (valeur com.google.protobuf.ByteString)

 The physical description of this device.
 
string physical_description = 4;

public AvailableDeviceInfo.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public AvailableDeviceInfo.Builder setType (valeur de chaîne)

type de chaîne

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public AvailableDeviceInfo.Builder setTypeBytes (valeur com.google.protobuf.ByteString)

type de chaîne

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public final AvailableDeviceInfo.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)