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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getType()
Device type (CPU, GPU, ...)
string type = 1;
getType
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public com.google.protobuf.ByteString getTypeBytes()
Device type (CPU, GPU, ...)
string type = 1;
getTypeBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public String getVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;
getVendor
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public com.google.protobuf.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;
getVendorBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public String getModel()
Model (Haswell, K40, ...)
string model = 3;
getModel
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public com.google.protobuf.ByteString getModelBytes()
Model (Haswell, K40, ...)
string model = 3;
getModelBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getFrequency()
Core Frequency in Mhz
int64 frequency = 4;
getFrequency
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getNumCores()
Number of cores
int64 num_cores = 5;
getNumCores
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public int getEnvironmentCount()
DevicePropertiesProtos.DevicePropertiesOrBuilder
Version 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.DevicePropertiesOrBuilder
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;
containsEnvironment
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
@Deprecated public Map<String,String> getEnvironment()
getEnvironmentMap()
instead.getEnvironment
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
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;
getEnvironmentMap
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
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;
getEnvironmentOrDefault
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
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;
getEnvironmentOrThrow
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getNumRegisters()
Number of registers per core.
int64 num_registers = 7;
getNumRegisters
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;
getL1CacheSize
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;
getL2CacheSize
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;
getL3CacheSize
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public long getMemorySize()
Memory size in bytes
int64 memory_size = 12;
getMemorySize
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public long getBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;
getBandwidth
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2015–2019. All rights reserved.