Class DevicePropertiesProtos.DeviceProperties
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.DevicePropertiesProtos.DeviceProperties
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, DevicePropertiesProtos.DevicePropertiesOrBuilder
- Enclosing class:
DevicePropertiesProtos
public static final class DevicePropertiesProtos.DeviceProperties
extends GeneratedMessageV3
implements DevicePropertiesProtos.DevicePropertiesOrBuilder
Protobuf type
tensorflow.DeviceProperties- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetensorflow.DevicePropertiesNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)booleanlongMemory bandwidth in KB/sstatic final Descriptors.DescriptorDeprecated.intVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)getEnvironmentOrDefault(String key, String defaultValue) Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)longCore Frequency in MhzlongL1 cache size in byteslongL2 cache size in byteslongL3 cache size in byteslongMemory size in bytesgetModel()Model (Haswell, K40, ...)Model (Haswell, K40, ...)longNumber of coreslongNumber of registers per core.intlongShared memory size per multiprocessor in bytes.getType()Device type (CPU, GPU, ...)Device type (CPU, GPU, ...)final UnknownFieldSetVendor (Intel, nvidia, ...)Vendor (Intel, nvidia, ...)inthashCode()protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldinternalGetMapField(int number) final booleanprotected ObjectparseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
VENDOR_FIELD_NUMBER
public static final int VENDOR_FIELD_NUMBER- See Also:
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER- See Also:
-
NUM_CORES_FIELD_NUMBER
public static final int NUM_CORES_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
NUM_REGISTERS_FIELD_NUMBER
public static final int NUM_REGISTERS_FIELD_NUMBER- See Also:
-
L1_CACHE_SIZE_FIELD_NUMBER
public static final int L1_CACHE_SIZE_FIELD_NUMBER- See Also:
-
L2_CACHE_SIZE_FIELD_NUMBER
public static final int L2_CACHE_SIZE_FIELD_NUMBER- See Also:
-
L3_CACHE_SIZE_FIELD_NUMBER
public static final int L3_CACHE_SIZE_FIELD_NUMBER- See Also:
-
SHARED_MEMORY_SIZE_PER_MULTIPROCESSOR_FIELD_NUMBER
public static final int SHARED_MEMORY_SIZE_PER_MULTIPROCESSOR_FIELD_NUMBER- See Also:
-
MEMORY_SIZE_FIELD_NUMBER
public static final int MEMORY_SIZE_FIELD_NUMBER- See Also:
-
BANDWIDTH_FIELD_NUMBER
public static final int BANDWIDTH_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetMapField
- Overrides:
internalGetMapFieldin classGeneratedMessageV3
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getType
Device type (CPU, GPU, ...)
string type = 1;- Specified by:
getTypein interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The type.
-
getTypeBytes
Device type (CPU, GPU, ...)
string type = 1;- Specified by:
getTypeBytesin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The bytes for type.
-
getVendor
Vendor (Intel, nvidia, ...)
string vendor = 2;- Specified by:
getVendorin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The vendor.
-
getVendorBytes
Vendor (Intel, nvidia, ...)
string vendor = 2;- Specified by:
getVendorBytesin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The bytes for vendor.
-
getModel
Model (Haswell, K40, ...)
string model = 3;- Specified by:
getModelin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The model.
-
getModelBytes
Model (Haswell, K40, ...)
string model = 3;- Specified by:
getModelBytesin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The bytes for model.
-
getFrequency
public long getFrequency()Core Frequency in Mhz
int64 frequency = 4;- Specified by:
getFrequencyin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The frequency.
-
getNumCores
public long getNumCores()Number of cores
int64 num_cores = 5;- Specified by:
getNumCoresin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The numCores.
-
getEnvironmentCount
public int getEnvironmentCount()Description copied from interface:DevicePropertiesProtos.DevicePropertiesOrBuilderVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;- Specified by:
getEnvironmentCountin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder
-
containsEnvironment
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;- Specified by:
containsEnvironmentin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder
-
getEnvironment
Deprecated.UsegetEnvironmentMap()instead.- Specified by:
getEnvironmentin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder
-
getEnvironmentMap
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;- Specified by:
getEnvironmentMapin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder
-
getEnvironmentOrDefault
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;- Specified by:
getEnvironmentOrDefaultin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder
-
getEnvironmentOrThrow
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;- Specified by:
getEnvironmentOrThrowin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder
-
getNumRegisters
public long getNumRegisters()Number of registers per core.
int64 num_registers = 7;- Specified by:
getNumRegistersin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The numRegisters.
-
getL1CacheSize
public long getL1CacheSize()L1 cache size in bytes
int64 l1_cache_size = 8;- Specified by:
getL1CacheSizein interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The l1CacheSize.
-
getL2CacheSize
public long getL2CacheSize()L2 cache size in bytes
int64 l2_cache_size = 9;- Specified by:
getL2CacheSizein interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The l2CacheSize.
-
getL3CacheSize
public long getL3CacheSize()L3 cache size in bytes
int64 l3_cache_size = 10;- Specified by:
getL3CacheSizein interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The l3CacheSize.
-
getMemorySize
public long getMemorySize()Memory size in bytes
int64 memory_size = 12;- Specified by:
getMemorySizein interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The memorySize.
-
getBandwidth
public long getBandwidth()Memory bandwidth in KB/s
int64 bandwidth = 13;- Specified by:
getBandwidthin interfaceDevicePropertiesProtos.DevicePropertiesOrBuilder- Returns:
- The bandwidth.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DevicePropertiesProtos.DeviceProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
public static DevicePropertiesProtos.DeviceProperties.Builder newBuilder(DevicePropertiesProtos.DeviceProperties prototype) -
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-