public static final class DevicePropertiesProtos.DeviceProperties.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder> implements DevicePropertiesProtos.DevicePropertiesOrBuilder
tensorflow.DevicePropertiesgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builder<DevicePropertiesProtos.DeviceProperties.Builder>protected org.nd4j.shade.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic DevicePropertiesProtos.DeviceProperties build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic DevicePropertiesProtos.DeviceProperties buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic DevicePropertiesProtos.DeviceProperties.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder mergeFrom(DevicePropertiesProtos.DeviceProperties other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DevicePropertiesProtos.DeviceProperties.Builder>IOExceptionpublic 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 DevicePropertiesProtos.DeviceProperties.Builder setType(String value)
Device type (CPU, GPU, ...)
string type = 1;public DevicePropertiesProtos.DeviceProperties.Builder clearType()
Device type (CPU, GPU, ...)
string type = 1;public DevicePropertiesProtos.DeviceProperties.Builder setTypeBytes(org.nd4j.shade.protobuf.ByteString value)
Device type (CPU, GPU, ...)
string type = 1;public 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 DevicePropertiesProtos.DeviceProperties.Builder setVendor(String value)
Vendor (Intel, nvidia, ...)
string vendor = 2;public DevicePropertiesProtos.DeviceProperties.Builder clearVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;public DevicePropertiesProtos.DeviceProperties.Builder setVendorBytes(org.nd4j.shade.protobuf.ByteString value)
Vendor (Intel, nvidia, ...)
string vendor = 2;public 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 DevicePropertiesProtos.DeviceProperties.Builder setModel(String value)
Model (Haswell, K40, ...)
string model = 3;public DevicePropertiesProtos.DeviceProperties.Builder clearModel()
Model (Haswell, K40, ...)
string model = 3;public DevicePropertiesProtos.DeviceProperties.Builder setModelBytes(org.nd4j.shade.protobuf.ByteString value)
Model (Haswell, K40, ...)
string model = 3;public long getFrequency()
Core Frequency in Mhz
int64 frequency = 4;getFrequency in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setFrequency(long value)
Core Frequency in Mhz
int64 frequency = 4;public DevicePropertiesProtos.DeviceProperties.Builder clearFrequency()
Core Frequency in Mhz
int64 frequency = 4;public long getNumCores()
Number of cores
int64 num_cores = 5;getNumCores in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setNumCores(long value)
Number of cores
int64 num_cores = 5;public DevicePropertiesProtos.DeviceProperties.Builder clearNumCores()
Number of cores
int64 num_cores = 5;public 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 DevicePropertiesProtos.DeviceProperties.Builder clearEnvironment()
public DevicePropertiesProtos.DeviceProperties.Builder removeEnvironment(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;@Deprecated public Map<String,String> getMutableEnvironment()
public DevicePropertiesProtos.DeviceProperties.Builder putEnvironment(String key, String value)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;public DevicePropertiesProtos.DeviceProperties.Builder putAllEnvironment(Map<String,String> values)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;public long getNumRegisters()
Number of registers per core.
int64 num_registers = 7;getNumRegisters in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setNumRegisters(long value)
Number of registers per core.
int64 num_registers = 7;public DevicePropertiesProtos.DeviceProperties.Builder clearNumRegisters()
Number of registers per core.
int64 num_registers = 7;public long getL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;getL1CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setL1CacheSize(long value)
L1 cache size in bytes
int64 l1_cache_size = 8;public DevicePropertiesProtos.DeviceProperties.Builder clearL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;public long getL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;getL2CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setL2CacheSize(long value)
L2 cache size in bytes
int64 l2_cache_size = 9;public DevicePropertiesProtos.DeviceProperties.Builder clearL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;public long getL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;getL3CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setL3CacheSize(long value)
L3 cache size in bytes
int64 l3_cache_size = 10;public DevicePropertiesProtos.DeviceProperties.Builder clearL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;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.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setSharedMemorySizePerMultiprocessor(long value)
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;public DevicePropertiesProtos.DeviceProperties.Builder clearSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;public long getMemorySize()
Memory size in bytes
int64 memory_size = 12;getMemorySize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setMemorySize(long value)
Memory size in bytes
int64 memory_size = 12;public DevicePropertiesProtos.DeviceProperties.Builder clearMemorySize()
Memory size in bytes
int64 memory_size = 12;public long getBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;getBandwidth in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setBandwidth(long value)
Memory bandwidth in KB/s
int64 bandwidth = 13;public DevicePropertiesProtos.DeviceProperties.Builder clearBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;public final DevicePropertiesProtos.DeviceProperties.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public final DevicePropertiesProtos.DeviceProperties.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>Copyright © 2021. All rights reserved.