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
build()
DeviceProperties
DeviceProperties.Builder
clear()
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
clone()
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

Public Methods

public DeviceProperties.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public DeviceProperties build ()

public DeviceProperties buildPartial ()

public DeviceProperties.Builder clear ()

public DeviceProperties.Builder clearBandwidth ()

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties.Builder clearEnvironment ()

public DeviceProperties.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public DeviceProperties.Builder clearFrequency ()

 Core Frequency in Mhz
 
int64 frequency = 4;

public DeviceProperties.Builder clearL1CacheSize ()

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public DeviceProperties.Builder clearL2CacheSize ()

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public DeviceProperties.Builder clearL3CacheSize ()

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public DeviceProperties.Builder clearMemorySize ()

 Memory size in bytes
 
int64 memory_size = 12;

public DeviceProperties.Builder clearModel ()

 Model (Haswell, K40, ...)
 
string model = 3;

public DeviceProperties.Builder clearNumCores ()

 Number of cores
 
int64 num_cores = 5;

public DeviceProperties.Builder clearNumRegisters ()

 Number of registers per core.
 
int64 num_registers = 7;

public DeviceProperties.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public DeviceProperties.Builder clearSharedMemorySizePerMultiprocessor ()

 Shared memory size per multiprocessor in bytes. This field is
 applicable to GPUs only.
 
int64 shared_memory_size_per_multiprocessor = 11;

public DeviceProperties.Builder clearType ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public DeviceProperties.Builder clearVendor ()

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public DeviceProperties.Builder clone ()

public boolean containsEnvironment (String key)

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public long getBandwidth ()

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public Map<String, String> getEnvironment ()

Use getEnvironmentMap() instead.

public int getEnvironmentCount ()

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public Map<String, String> getEnvironmentMap ()

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public String getEnvironmentOrDefault (String key, String defaultValue)

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public String getEnvironmentOrThrow (String key)

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public long getFrequency ()

 Core Frequency in Mhz
 
int64 frequency = 4;

public long getL1CacheSize ()

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public long getL2CacheSize ()

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public long getL3CacheSize ()

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public long getMemorySize ()

 Memory size in bytes
 
int64 memory_size = 12;

public String getModel ()

 Model (Haswell, K40, ...)
 
string model = 3;

public com.google.protobuf.ByteString getModelBytes ()

 Model (Haswell, K40, ...)
 
string model = 3;

public Map<String, String> getMutableEnvironment ()

Use alternate mutation accessors instead.

public long getNumCores ()

 Number of cores
 
int64 num_cores = 5;

public long getNumRegisters ()

 Number of registers per core.
 
int64 num_registers = 7;

public long getSharedMemorySizePerMultiprocessor ()

 Shared memory size per multiprocessor in bytes. This field is
 applicable to GPUs only.
 
int64 shared_memory_size_per_multiprocessor = 11;

public String getType ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public com.google.protobuf.ByteString getTypeBytes ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public String getVendor ()

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public com.google.protobuf.ByteString getVendorBytes ()

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public final boolean isInitialized ()

public DeviceProperties.Builder mergeFrom (com.google.protobuf.Message other)

public DeviceProperties.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

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

public DeviceProperties.Builder putAllEnvironment (Map<String, String> values)

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public DeviceProperties.Builder putEnvironment (String key, String value)

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public DeviceProperties.Builder removeEnvironment (String key)

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

public DeviceProperties.Builder setBandwidth (long value)

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public DeviceProperties.Builder setFrequency (long value)

 Core Frequency in Mhz
 
int64 frequency = 4;

public DeviceProperties.Builder setL1CacheSize (long value)

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public DeviceProperties.Builder setL2CacheSize (long value)

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public DeviceProperties.Builder setL3CacheSize (long value)

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public DeviceProperties.Builder setMemorySize (long value)

 Memory size in bytes
 
int64 memory_size = 12;

public DeviceProperties.Builder setModel (String value)

 Model (Haswell, K40, ...)
 
string model = 3;

public DeviceProperties.Builder setModelBytes (com.google.protobuf.ByteString value)

 Model (Haswell, K40, ...)
 
string model = 3;

public DeviceProperties.Builder setNumCores (long value)

 Number of cores
 
int64 num_cores = 5;

public DeviceProperties.Builder setNumRegisters (long value)

 Number of registers per core.
 
int64 num_registers = 7;

public DeviceProperties.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public DeviceProperties.Builder setSharedMemorySizePerMultiprocessor (long value)

 Shared memory size per multiprocessor in bytes. This field is
 applicable to GPUs only.
 
int64 shared_memory_size_per_multiprocessor = 11;

public DeviceProperties.Builder setType (String value)

 Device type (CPU, GPU, ...)
 
string type = 1;

public DeviceProperties.Builder setTypeBytes (com.google.protobuf.ByteString value)

 Device type (CPU, GPU, ...)
 
string type = 1;

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

public DeviceProperties.Builder setVendor (String value)

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public DeviceProperties.Builder setVendorBytes (com.google.protobuf.ByteString value)

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;