public static final class DevicePropertiesProtos.DeviceProperties extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements DevicePropertiesProtos.DevicePropertiesOrBuilder
tensorflow.DeviceProperties| Modifier and Type | Class and Description |
|---|---|
static class |
DevicePropertiesProtos.DeviceProperties.Builder
Protobuf type
tensorflow.DeviceProperties |
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 org.nd4j.shade.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, ...)
|
org.nd4j.shade.protobuf.ByteString |
getModelBytes()
Model (Haswell, K40, ...)
|
long |
getNumCores()
Number of cores
|
long |
getNumRegisters()
Number of registers per core.
|
org.nd4j.shade.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> |
getParserForType() |
int |
getSerializedSize() |
long |
getSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes.
|
String |
getType()
Device type (CPU, GPU, ...)
|
org.nd4j.shade.protobuf.ByteString |
getTypeBytes()
Device type (CPU, GPU, ...)
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVendor()
Vendor (Intel, nvidia, ...)
|
org.nd4j.shade.protobuf.ByteString |
getVendorBytes()
Vendor (Intel, nvidia, ...)
|
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected org.nd4j.shade.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(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DevicePropertiesProtos.DeviceProperties |
parseDelimitedFrom(InputStream input) |
static DevicePropertiesProtos.DeviceProperties |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(byte[] data) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(ByteBuffer data) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(InputStream input) |
static DevicePropertiesProtos.DeviceProperties |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> |
parser() |
DevicePropertiesProtos.DeviceProperties.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class org.nd4j.shade.protobuf.GeneratedMessageV3protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public String getType()
Device type (CPU, GPU, ...)
string type = 1;getType in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static DevicePropertiesProtos.DeviceProperties.Builder newBuilder()
public static DevicePropertiesProtos.DeviceProperties.Builder newBuilder(DevicePropertiesProtos.DeviceProperties prototype)
public DevicePropertiesProtos.DeviceProperties.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static DevicePropertiesProtos.DeviceProperties getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> parser()
public org.nd4j.shade.protobuf.Parser<DevicePropertiesProtos.DeviceProperties> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.