public static final class DeviceAttributes.Builder
tensorflow.DeviceAttributes tipo tensorflow.DeviceAttributes
Métodos Públicos
| DeviceAttributes.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| DeviceAttributes | build () |
| DeviceAttributes | buildPartial () |
| DeviceAttributes.Builder | limpar () |
| DeviceAttributes.Builder | clearDeviceType () String representation of device_type. |
| DeviceAttributes.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| DeviceAttributes.Builder | clearIncarnation () A device is assigned a global unique number each time it is initialized. |
| DeviceAttributes.Builder | clearLocality () Platform-specific data about device that may be useful for supporting efficient data transfers. |
| DeviceAttributes.Builder | clearMemoryLimit () Memory capacity of device in bytes. |
| DeviceAttributes.Builder | clearName () Fully specified name of the device within a cluster. |
| DeviceAttributes.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| DeviceAttributes.Builder | clearPhysicalDeviceDesc () String representation of the physical device that this device maps to. |
| DeviceAttributes.Builder | clone () |
| DeviceAttributes | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Fragmento | getDeviceType () String representation of device_type. |
| com.google.protobuf.ByteString | getDeviceTypeBytes () String representation of device_type. |
| longo | getIncarnation () A device is assigned a global unique number each time it is initialized. |
| DeviceLocality | getLocality () Platform-specific data about device that may be useful for supporting efficient data transfers. |
| DeviceLocality.Builder | getLocalityBuilder () Platform-specific data about device that may be useful for supporting efficient data transfers. |
| DeviceLocalityOrBuilder | getLocalityOrBuilder () Platform-specific data about device that may be useful for supporting efficient data transfers. |
| longo | getMemoryLimit () Memory capacity of device in bytes. |
| Fragmento | getName () Fully specified name of the device within a cluster. |
| com.google.protobuf.ByteString | getNameBytes () Fully specified name of the device within a cluster. |
| Fragmento | getPhysicalDeviceDesc () String representation of the physical device that this device maps to. |
| com.google.protobuf.ByteString | getPhysicalDeviceDescBytes () String representation of the physical device that this device maps to. |
| boleano | hasLocality () Platform-specific data about device that may be useful for supporting efficient data transfers. |
| final booleano | |
| DeviceAttributes.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| DeviceAttributes.Builder | mergeFrom (com.google.protobuf.Message other) |
| DeviceAttributes.Builder | mergeLocality (valor DeviceLocality ) Platform-specific data about device that may be useful for supporting efficient data transfers. |
| final DeviceAttributes.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
| DeviceAttributes.Builder | setDeviceType (valor String) String representation of device_type. |
| DeviceAttributes.Builder | setDeviceTypeBytes (com.google.protobuf.ByteString value) String representation of device_type. |
| DeviceAttributes.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| DeviceAttributes.Builder | setIncarnation (valor longo) A device is assigned a global unique number each time it is initialized. |
| DeviceAttributes.Builder | setLocality (valor DeviceLocality ) Platform-specific data about device that may be useful for supporting efficient data transfers. |
| DeviceAttributes.Builder | setLocality ( DeviceLocality.Builder builderForValue) Platform-specific data about device that may be useful for supporting efficient data transfers. |
| DeviceAttributes.Builder | setMemoryLimit (valor longo) Memory capacity of device in bytes. |
| DeviceAttributes.Builder | setName (valor String) Fully specified name of the device within a cluster. |
| DeviceAttributes.Builder | setNameBytes (com.google.protobuf.ByteString value) Fully specified name of the device within a cluster. |
| DeviceAttributes.Builder | setPhysicalDeviceDesc (String value) String representation of the physical device that this device maps to. |
| DeviceAttributes.Builder | setPhysicalDeviceDescBytes (com.google.protobuf.ByteString value) String representation of the physical device that this device maps to. |
| DeviceAttributes.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
| final DeviceAttributes.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public DeviceAttributes.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public DeviceAttributes.Builder clearDeviceType ()
String representation of device_type.
string device_type = 2;public DeviceAttributes.Builder clearIncarnation ()
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;public DeviceAttributes.Builder clearLocality ()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public DeviceAttributes.Builder clearMemoryLimit ()
Memory capacity of device in bytes.
int64 memory_limit = 4; limite_de_memória int64 memory_limit = 4;public DeviceAttributes.Builder clearName ()
Fully specified name of the device within a cluster.
string name = 1;public DeviceAttributes.Builder clearPhysicalDeviceDesc ()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getDeviceType ()
String representation of device_type.
string device_type = 2;public com.google.protobuf.ByteString getDeviceTypeBytes ()
String representation of device_type.
string device_type = 2;public long getIncarnation ()
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;public DeviceLocality getLocality ()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public DeviceLocality.Builder getLocalityBuilder ()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public DeviceLocalityOrBuilder getLocalityOrBuilder ()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public long getMemoryLimit ()
Memory capacity of device in bytes.
int64 memory_limit = 4; limite_de_memória int64 memory_limit = 4;public String getName ()
Fully specified name of the device within a cluster.
string name = 1;public com.google.protobuf.ByteString getNameBytes ()
Fully specified name of the device within a cluster.
string name = 1;public String getPhysicalDeviceDesc ()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;public com.google.protobuf.ByteString getPhysicalDeviceDescBytes ()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;public boolean hasLocality ()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public final boolean isInitialized ()
public DeviceAttributes.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public DeviceAttributes.Builder mergeLocality (valor DeviceLocality )
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public final DeviceAttributes.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public DeviceAttributes.Builder setDeviceType (String value)
String representation of device_type.
string device_type = 2;public DeviceAttributes.Builder setDeviceTypeBytes (com.google.protobuf.ByteString value)
String representation of device_type.
string device_type = 2; public DeviceAttributes.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public DeviceAttributes.Builder setIncarnation (valor longo)
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;public DeviceAttributes.Builder setLocality ( DeviceLocality value)
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public DeviceAttributes.Builder setLocality ( DeviceLocality.Builder builderForValue)
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;public DeviceAttributes.Builder setMemoryLimit (valor longo)
Memory capacity of device in bytes.
int64 memory_limit = 4; limite_de_memória int64 memory_limit = 4;pública DeviceAttributes.Builder setName (String value)
Fully specified name of the device within a cluster.
string name = 1;public DeviceAttributes.Builder setNameBytes (com.google.protobuf.ByteString value)
Fully specified name of the device within a cluster.
string name = 1;public DeviceAttributes.Builder setPhysicalDeviceDesc (String value)
String representation of the physical device that this device maps to.
string physical_device_desc = 7;public DeviceAttributes.Builder setPhysicalDeviceDescBytes (com.google.protobuf.ByteString value)
String representation of the physical device that this device maps to.
string physical_device_desc = 7;