DeviceProperties

public final class DeviceProperties

Protobuf type tensorflow.DeviceProperties

Nested Classes

class DeviceProperties.Builder Protobuf type tensorflow.DeviceProperties

Constants

int BANDWIDTH_FIELD_NUMBER
int ENVIRONMENT_FIELD_NUMBER
int FREQUENCY_FIELD_NUMBER
int L1_CACHE_SIZE_FIELD_NUMBER
int L2_CACHE_SIZE_FIELD_NUMBER
int L3_CACHE_SIZE_FIELD_NUMBER
int MEMORY_SIZE_FIELD_NUMBER
int MODEL_FIELD_NUMBER
int NUM_CORES_FIELD_NUMBER
int NUM_REGISTERS_FIELD_NUMBER
int SHARED_MEMORY_SIZE_PER_MULTIPROCESSOR_FIELD_NUMBER
int TYPE_FIELD_NUMBER
int VENDOR_FIELD_NUMBER

Public Methods

boolean
containsEnvironment (String key)
 Version of the tools and libraries used with this device (e.g.
boolean
equals (Object obj)
long
getBandwidth ()
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
static DeviceProperties
DeviceProperties
final static 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;
long
getNumCores ()
 Number of cores
 
int64 num_cores = 5;
long
getNumRegisters ()
 Number of registers per core.
int
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;
final com.google.protobuf.UnknownFieldSet
String
getVendor ()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
com.google.protobuf.ByteString
getVendorBytes ()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
int
final boolean
static DeviceProperties.Builder
static DeviceProperties.Builder
DeviceProperties.Builder
static DeviceProperties
parseDelimitedFrom (InputStream input)
static DeviceProperties
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceProperties
parseFrom (ByteBuffer data)
static DeviceProperties
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceProperties
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceProperties
parseFrom (com.google.protobuf.CodedInputStream input)
static DeviceProperties
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceProperties
parseFrom (com.google.protobuf.ByteString data)
static DeviceProperties
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceProperties
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
DeviceProperties.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BANDWIDTH_FIELD_NUMBER

Constant Value: 13

public static final int ENVIRONMENT_FIELD_NUMBER

Constant Value: 6

public static final int FREQUENCY_FIELD_NUMBER

Constant Value: 4

public static final int L1_CACHE_SIZE_FIELD_NUMBER

Constant Value: 8

public static final int L2_CACHE_SIZE_FIELD_NUMBER

Constant Value: 9

public static final int L3_CACHE_SIZE_FIELD_NUMBER

Constant Value: 10

public static final int MEMORY_SIZE_FIELD_NUMBER

Constant Value: 12

public static final int MODEL_FIELD_NUMBER

Constant Value: 3

public static final int NUM_CORES_FIELD_NUMBER

<