public static final class DevicePropertiesProtos.DeviceProperties extends com.google.protobuf.GeneratedMessageV3 implements DevicePropertiesProtos.DevicePropertiesOrBuilder
tensorflow.DeviceProperties| Modifier and Type | Class and Description |
|---|---|
static class |
DevicePropertiesProtos.DeviceProperties.Builder
Protobuf type
tensorflow.DeviceProperties |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BANDWIDTH_FIELD_NUMBER |
static int |
ENVIRONMENT_FIELD_NUMBER |
static int |
FREQUENCY_FIELD_NUMBER |
static int |
L1_CACHE_SIZE_FIELD_NUMBER |
static int |
L2_CACHE_SIZE_FIELD_NUMBER |
static int |
L3_CACHE_SIZE_FIELD_NUMBER |
static int |
MEMORY_SIZE_FIELD_NUMBER |
static int |
MODEL_FIELD_NUMBER |
static int |
NUM_CORES_FIELD_NUMBER |
static int |
NUM_REGISTERS_FIELD_NUMBER |
static int |
SHARED_MEMORY_SIZE_PER_MULTIPROCESSOR_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VENDOR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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
|
static DevicePropertiesProtos.DeviceProperties |
getDefaultInstance() |
DevicePropertiesProtos.DeviceProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getEnvironment()
Deprecated.
|
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
|
long |
getL1CacheSize()
L1 cache size in bytes
|
long |
getL2CacheSize()
L2 cache size in bytes
|
long |
getL3CacheSize()
L3 cache size in bytes
|
long |
getMemorySize()
Memory size in bytes
|
String |
getModel()
Model (Haswell, K40, ...)
|
com.google.protobuf.ByteString |
getModelBytes()
Model (Haswell, K40, ...)
|
long |
getNumCores()
Number of cores
|
long |
getNumRegisters()
Number of registers per core.
|
com.google.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> |
getParserForType() |
int |
getSerializedSize() |
long |
getSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes.
|
String |
getType()
Device type (CPU, GPU, ...)
|
com.google.protobuf.ByteString |
getTypeBytes()
Device type (CPU, GPU, ...)
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVendor()
Vendor (Intel, nvidia, ...)
|
com.google.protobuf.ByteString |
getVendorBytes()
Vendor (Intel, nvidia, ...)
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static DevicePropertiesProtos.DeviceProperties.Builder |
newBuilder() |
static DevicePropertiesProtos.DeviceProperties.Builder |
newBuilder(DevicePropertiesProtos.DeviceProperties prototype) |
DevicePropertiesProtos.DeviceProperties.Builder |
newBuilderForType() |
protected DevicePropertiesProtos.DeviceProperties.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DevicePropertiesProtos.DeviceProperties |
parseDelimitedFrom(InputStream input) |
static DevicePropertiesProtos.DeviceProperties |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(byte[] data) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(ByteBuffer data) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(com.google.protobuf.ByteString data) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(InputStream input) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> |
parser() |
DevicePropertiesProtos.DeviceProperties.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int VENDOR_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
public static final int NUM_CORES_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
public static final int NUM_REGISTERS_FIELD_NUMBER
public static final int L1_CACHE_SIZE_FIELD_NUMBER
public static final int L2_CACHE_SIZE_FIELD_NUMBER
public static final int L3_CACHE_SIZE_FIELD_NUMBER
public static final int SHARED_MEMORY_SIZE_PER_MULTIPROCESSOR_FIELD_NUMBER
public static final int MEMORY_SIZE_FIELD_NUMBER
public static final int BANDWIDTH_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getType()
Device type (CPU, GPU, ...)
string type = 1;getType in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Device type (CPU, GPU, ...)
string type = 1;getTypeBytes in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic String getVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;getVendor in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic com.google.protobuf.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;getVendorBytes in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic String getModel()
Model (Haswell, K40, ...)
string model = 3;getModel in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic com.google.protobuf.ByteString getModelBytes()
Model (Haswell, K40, ...)
string model = 3;getModelBytes in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getFrequency()
Core Frequency in Mhz
int64 frequency = 4;getFrequency in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getNumCores()
Number of cores
int64 num_cores = 5;getNumCores in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic int getEnvironmentCount()
DevicePropertiesProtos.DevicePropertiesOrBuilderVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;getEnvironmentCount in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic 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;containsEnvironment in interface DevicePropertiesProtos.DevicePropertiesOrBuilder@Deprecated public Map<String,String> getEnvironment()
getEnvironmentMap() instead.getEnvironment in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic 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;getEnvironmentMap in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic 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;getEnvironmentOrDefault in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic 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;getEnvironmentOrThrow in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getNumRegisters()
Number of registers per core.
int64 num_registers = 7;getNumRegisters in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;getL1CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;getL2CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;getL3CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;getSharedMemorySizePerMultiprocessor in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getMemorySize()
Memory size in bytes
int64 memory_size = 12;getMemorySize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic long getBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;getBandwidth in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DevicePropertiesProtos.DeviceProperties.Builder newBuilder()
public static DevicePropertiesProtos.DeviceProperties.Builder newBuilder(DevicePropertiesProtos.DeviceProperties prototype)
public DevicePropertiesProtos.DeviceProperties.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DevicePropertiesProtos.DeviceProperties getDefaultInstance()
public static com.google.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> parser()
public com.google.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.