public static final class DevicePropertiesProtos.DeviceProperties.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder> implements DevicePropertiesProtos.DevicePropertiesOrBuilder
tensorflow.DeviceProperties
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.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.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>
public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public DevicePropertiesProtos.DeviceProperties build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public DevicePropertiesProtos.DeviceProperties buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public DevicePropertiesProtos.DeviceProperties.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DevicePropertiesProtos.DeviceProperties.Builder>
IOException
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 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.DevicePropertiesOrBuilder
public org.nd4j.shade.protobuf.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;
getVendorBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public org.nd4j.shade.protobuf.ByteString getModelBytes()
Model (Haswell, K40, ...)
string model = 3;
getModelBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.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 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>
Copyright © 2020. All rights reserved.