Have a question? Connect with the community at the TensorFlow Forum Visit Forum

DeviceProperties.Builder

public static final class DeviceProperties.Builder

Protobuf type tensorflow.DeviceProperties

Public Methods

DeviceProperties.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceProperties
DeviceProperties
DeviceProperties.Builder
DeviceProperties.Builder
clearBandwidth ()
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties.Builder
DeviceProperties.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
DeviceProperties.Builder
clearFrequency ()
 Core Frequency in Mhz
 
int64 frequency = 4;
DeviceProperties.Builder
clearL1CacheSize ()
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
DeviceProperties.Builder
clearL2CacheSize ()
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
DeviceProperties.Builder
clearL3CacheSize ()
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
DeviceProperties.Builder
clearMemorySize ()
 Memory size in bytes
 
int64 memory_size = 12;
DeviceProperties.Builder
clearModel ()
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
clearNumCores ()
 Number of cores
 
int64 num_cores = 5;
DeviceProperties.Builder
clearNumRegisters ()
 Number of registers per core.
DeviceProperties.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeviceProperties.Builder
clearSharedMemorySizePerMultiprocessor ()
 Shared memory size per multiprocessor in bytes.
DeviceProperties.Builder
clearType ()
 Device type (CPU, GPU, ...)
 
string type = 1;
DeviceProperties.Builder
clearVendor ()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
DeviceProperties.Builder
boolean
containsEnvironment (String key)
 Version of the tools and libraries used with this device (e.g.
long
getBandwidth ()
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Map<String, String>
int
getEnvironmentCount ()
 Version of the tools and libraries used with this device (e.g.
Map<String, String>
getEnvironmentMap ()
 Version of the tools and libraries used with this device (e.g.
String
getEnvironmentOrDefault (String key, String defaultValue)
 Version of the tools and libraries used with this device (e.g.
String
getEnvironmentOrThrow (String key)
 Version of the tools and libraries used with this device (e.g.
long
getFrequency ()
 Core Frequency in Mhz
 
int64 frequency = 4;
long
getL1CacheSize ()
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
long
getL2CacheSize ()
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
long
getL3CacheSize ()
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
long
getMemorySize ()
 Memory size in bytes
 
int64 memory_size = 12;
String
getModel ()
 Model (Haswell, K40, ...)
 
string model = 3;
com.google.protobuf.ByteString
getModelBytes ()
 Model (Haswell, K40, ...)
 
string model = 3;
Map<String, String>
getMutableEnvironment ()
Use alternate mutation accessors instead.
long
getNumCores ()
 Number of cores
 
int64 num_cores = 5;
long
getNumRegisters ()
 Number of registers per core.
long
getSharedMemorySizePerMultiprocessor ()
 Shared memory size per multiprocessor in bytes.
String
getType ()
 Device type (CPU, GPU, ...)
 
string type = 1;
com.google.protobuf.ByteString
getTypeBytes ()
 Device type (CPU, GPU, ...)
 
string type = 1;
String
getVendor ()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
com.google.protobuf.ByteString
getVendorBytes ()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
final boolean
DeviceProperties.Builder
mergeFrom (com.google.protobuf.Message other)
DeviceProperties.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final DeviceProperties.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
DeviceProperties.Builder
putAllEnvironment (Map<String, String> values)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
putEnvironment (String key, String value)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
removeEnvironment (String key)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
setBandwidth (long value)
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceProperties.Builder
setFrequency (long value)
 Core Frequency in Mhz
 
int64 frequency = 4;
DeviceProperties.Builder
setL1CacheSize (long value)
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
DeviceProperties.Builder
setL2CacheSize (long value)
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
DeviceProperties.Builder
setL3CacheSize (long value)
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
DeviceProperties.Builder
setMemorySize (long value)
 Memory size in bytes
 
int64 memory_size = 12;
DeviceProperties.Builder
setModel (String value)
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
setModelBytes (com.google.protobuf.ByteString value)
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
setNumCores (long value)
 Number of cores
 
int64 num_cores = 5;
DeviceProperties.Builder
setNumRegisters (long value)
 Number of registers per core.
DeviceProperties.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DeviceProperties.Builder
setSharedMemorySizePerMultiprocessor (long value)
 Shared memory size per multiprocessor in bytes.
DeviceProperties.Builder
setType (String value)
 Device type (CPU, GPU, ...)
 
string type = 1;
DeviceProperties.Builder
setTypeBytes (com.google.protobuf.ByteString value)
 Device type (CPU, GPU, ...)
 
string type = 1;
final DeviceProperties.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
DeviceProperties.Builder
setVendor (String value)
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
DeviceProperties.Builder
setVendorBytes (com.google.protobuf.ByteString value)
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

Inherited Methods