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, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.GeneratedMessageV3
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public String getType()
Device type (CPU, GPU, ...)
string type = 1;
getType
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static DevicePropertiesProtos.DeviceProperties parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.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 org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected DevicePropertiesProtos.DeviceProperties.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.