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
parser()
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

Constant Value: 5

public static final int NUM_REGISTERS_FIELD_NUMBER

Constant Value: 7

public static final int SHARED_MEMORY_SIZE_PER_MULTIPROCESSOR_FIELD_NUMBER

Constant Value: 11

public static final int TYPE_FIELD_NUMBER

Constant Value: 1

public static final int VENDOR_FIELD_NUMBER

Constant Value: 2

Public Methods

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 boolean equals (Object obj)

public long getBandwidth ()

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public static DeviceProperties getDefaultInstance ()

public DeviceProperties getDefaultInstanceForType ()

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

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 long getNumCores ()

 Number of cores
 
int64 num_cores = 5;

public long getNumRegisters ()

 Number of registers per core.
 
int64 num_registers = 7;

public getParserForType ()

public int getSerializedSize ()

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 final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public String getVendor ()

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

public com.google.protobuf.ByteString getVendorBytes ()

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

public int hashCode ()

public final boolean isInitialized ()

public static DeviceProperties.Builder newBuilder ()

public static DeviceProperties.Builder newBuilder (DeviceProperties prototype)

public DeviceProperties.Builder newBuilderForType ()

public static DeviceProperties parseDelimitedFrom (InputStream input)

Throws
IOException

public static DeviceProperties parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceProperties parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static DeviceProperties parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceProperties parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DeviceProperties parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static DeviceProperties parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DeviceProperties parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static DeviceProperties parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceProperties parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public DeviceProperties.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException