DeviceProperties.Builder

public static final class DeviceProperties.Builder

tensorflow.DeviceProperties tipo tensorflow.DeviceProperties

Métodos Públicos

DeviceProperties.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
DeviceProperties
build ()
DeviceProperties
DeviceProperties.Builder
limpar ()
DeviceProperties.Builder
clearBandwidth ()
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties.Builder
DeviceProperties.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
DeviceProperties.Builder
clearFrequency ()
 Core Frequency in Mhz
 
int64 frequency = 4;
DeviceProperties.Builder
clearL1CacheSize ()
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
DeviceProperties.Builder
clearL2CacheSize ()
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
DeviceProperties.Builder
clearL3CacheSize ()
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
DeviceProperties.Builder
clearMemorySize ()
 Memory size in bytes
 
int64 memory_size = 12;
DeviceProperties.Builder
clearModel ()
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
clearNumCores ()
 Number of cores
 
int64 num_cores = 5;
DeviceProperties.Builder
clearNumRegisters ()
 Number of registers per core.
DeviceProperties.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeviceProperties.Builder
clearSharedMemorySizePerMultiprocessor ()
 Shared memory size per multiprocessor in bytes.
DeviceProperties.Builder
clearType ()
 Device type (CPU, GPU, ...)
 
string type = 1;
DeviceProperties.Builder
clearVendor ()
Vendedor de string vendor = 2;
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
DeviceProperties.Builder
clone ()
boleano
containsEnvironment (chave String)
 Version of the tools and libraries used with this device (e.g.
longo
getBandwidth ()
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Map <String, String>
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.
Fragmento
getEnvironmentOrDefault (String key, String defaultValue)
 Version of the tools and libraries used with this device (e.g.
Fragmento
getEnvironmentOrThrow (chave String)
 Version of the tools and libraries used with this device (e.g.
longo
getFrequency ()
 Core Frequency in Mhz
 
int64 frequency = 4;
longo
getL1CacheSize ()
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
longo
getL2CacheSize ()
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
longo
getL3CacheSize ()
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
longo
getMemorySize ()
 Memory size in bytes
 
int64 memory_size = 12;
Fragmento
getModel ()
 Model (Haswell, K40, ...)
 
string model = 3;
com.google.protobuf.ByteString
getModelBytes ()
 Model (Haswell, K40, ...)
 
string model = 3;
Map <String, String>
getMutableEnvironment ()
Em vez disso, use acessadores de mutação alternativos.
longo
getNumCores ()
 Number of cores
 
int64 num_cores = 5;
longo
getNumRegisters ()
 Number of registers per core.
longo
getSharedMemorySizePerMultiprocessor ()
 Shared memory size per multiprocessor in bytes.
Fragmento
getType ()
 Device type (CPU, GPU, ...)
 
string type = 1;
com.google.protobuf.ByteString
getTypeBytes ()
 Device type (CPU, GPU, ...)
 
string type = 1;
Fragmento
getVendor ()
Vendedor de string vendor = 2;
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
com.google.protobuf.ByteString
getVendorBytes ()
Vendedor de string vendor = 2;
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
final booleano
DeviceProperties.Builder
mergeFrom (com.google.protobuf.Message other)
DeviceProperties.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final DeviceProperties.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
DeviceProperties.Builder
putAllEnvironment (Map <String, String> values)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
putEnvironment (chave da string, valor da string)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
removeEnvironment (chave String)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
setBandwidth (valor longo)
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
DeviceProperties.Builder
setFrequency (valor longo)
 Core Frequency in Mhz
 
int64 frequency = 4;
DeviceProperties.Builder
setL1CacheSize (valor longo)
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
DeviceProperties.Builder
setL2CacheSize (valor longo)
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
DeviceProperties.Builder
setL3CacheSize (valor longo)
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
DeviceProperties.Builder
setMemorySize (valor longo)
 Memory size in bytes
 
int64 memory_size = 12;
DeviceProperties.Builder
setModel (valor String)
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
setModelBytes (com.google.protobuf.ByteString value)
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
setNumCores (valor longo)
 Number of cores
 
int64 num_cores = 5;
DeviceProperties.Builder
setNumRegisters (valor longo)
 Number of registers per core.
DeviceProperties.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
DeviceProperties.Builder
setSharedMemorySizePerMultiprocessor (valor longo)
 Shared memory size per multiprocessor in bytes.
DeviceProperties.Builder
setType (valor String)
 Device type (CPU, GPU, ...)
 
string type = 1;
DeviceProperties.Builder
setTypeBytes (com.google.protobuf.ByteString value)
 Device type (CPU, GPU, ...)
 
string type = 1;
final DeviceProperties.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
DeviceProperties.Builder
setVendor (valor String)
Vendedor de string vendor = 2;
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
DeviceProperties.Builder
setVendorBytes (com.google.protobuf.ByteString value)
Vendedor de string vendor = 2;
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

Métodos herdados

Métodos Públicos

public DeviceProperties.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public DeviceProperties build ()

public DeviceProperties buildPartial ()

public DeviceProperties.Builder clear ()

public DeviceProperties.Builder clearBandwidth ()

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties.Builder clearEnvironment ()

public DeviceProperties.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public DeviceProperties.Builder clearFrequency ()

 Core Frequency in Mhz
 
int64 frequency = 4;

public DeviceProperties.Builder clearL1CacheSize ()

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public DeviceProperties.Builder clearL2CacheSize ()

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public DeviceProperties.Builder clearL3CacheSize ()

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public DeviceProperties.Builder clearMemorySize ()

 Memory size in bytes
 
int64 memory_size = 12;

public DeviceProperties.Builder clearModel ()

 Model (Haswell, K40, ...)
 
string model = 3;

public DeviceProperties.Builder clearNumCores ()

 Number of cores
 
int64 num_cores = 5;

public DeviceProperties.Builder clearNumRegisters ()

 Number of registers per core.
 
int64 num_registers = 7;

public DeviceProperties.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public 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 DeviceProperties.Builder clearType ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public DeviceProperties.Builder clearVendor ()

Vendedor de string vendor = 2;

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

clone public DeviceProperties.Builder ()

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;

public long getBandwidth ()

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public Map <String, String> getEnvironment ()

Use getEnvironmentMap() vez disso.

public int getEnvironmentCount ()

 Version of the tools and libraries used with this device (e.g. gcc 4.9,
 cudnn 5.1)
 
map<string, string> environment = 6;

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;

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;

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;

public long getFrequency ()

 Core Frequency in Mhz
 
int64 frequency = 4;

public long getL1CacheSize ()

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public long getL2CacheSize ()

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public long getL3CacheSize ()

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public long getMemorySize ()

 Memory size in bytes
 
int64 memory_size = 12;

public String getModel ()

 Model (Haswell, K40, ...)
 
string model = 3;

public com.google.protobuf.ByteString getModelBytes ()

 Model (Haswell, K40, ...)
 
string model = 3;

public Map <String, String> getMutableEnvironment ()

Em vez disso, use acessadores de mutação alternativos.

public long getNumCores ()

 Number of cores
 
int64 num_cores = 5;

public long getNumRegisters ()

 Number of registers per core.
 
int64 num_registers = 7;

public long getSharedMemorySizePerMultiprocessor ()

 Shared memory size per multiprocessor in bytes. This field is
 applicable to GPUs only.
 
int64 shared_memory_size_per_multiprocessor = 11;

public String getType ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public com.google.protobuf.ByteString getTypeBytes ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public String getVendor ()

Vendedor de string vendor = 2;

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public com.google.protobuf.ByteString getVendorBytes ()

Vendedor de string vendor = 2;

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public final boolean isInitialized ()

public DeviceProperties.Builder mergeFrom (com.google.protobuf.Message other)

public DeviceProperties.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public final DeviceProperties.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public 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 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 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;

public DeviceProperties.Builder setBandwidth (valor longo)

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public DeviceProperties.Builder setFrequency (valor longo)

 Core Frequency in Mhz
 
int64 frequency = 4;

public DeviceProperties.Builder setL1CacheSize (valor longo)

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public DeviceProperties.Builder setL2CacheSize (valor longo)

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public DeviceProperties.Builder setL3CacheSize (valor longo)

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public DeviceProperties.Builder setMemorySize (valor longo)

 Memory size in bytes
 
int64 memory_size = 12;

public DeviceProperties.Builder setModel (String value)

 Model (Haswell, K40, ...)
 
string model = 3;

public DeviceProperties.Builder setModelBytes (com.google.protobuf.ByteString value)

 Model (Haswell, K40, ...)
 
string model = 3;

public DeviceProperties.Builder setNumCores (valor longo)

 Number of cores
 
int64 num_cores = 5;

public DeviceProperties.Builder setNumRegisters (valor longo)

 Number of registers per core.
 
int64 num_registers = 7;

public DeviceProperties.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

public DeviceProperties.Builder setSharedMemorySizePerMultiprocessor (valor longo)

 Shared memory size per multiprocessor in bytes. This field is
 applicable to GPUs only.
 
int64 shared_memory_size_per_multiprocessor = 11;

public DeviceProperties.Builder setType (String value)

 Device type (CPU, GPU, ...)
 
string type = 1;

public DeviceProperties.Builder setTypeBytes (com.google.protobuf.ByteString value)

 Device type (CPU, GPU, ...)
 
string type = 1;

public final DeviceProperties.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public DeviceProperties.Builder setVendor (String value)

Vendedor de string vendor = 2;

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public DeviceProperties.Builder setVendorBytes (valor com.google.protobuf.ByteString)

Vendedor de string vendor = 2;

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;