classe final estática pública CPUInfo.Builder
tensorflow.CPUInfo
tipo tensorflow.CPUInfo
Métodos Públicos
CPUInfo.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
CPUInfo | build () |
CPUInfo | buildPartial () |
CPUInfo.Builder | limpar () |
CPUInfo.Builder | |
CPUInfo.Builder | clearCpuGovernor () What kind of cpu scaling is enabled on the host. |
CPUInfo.Builder | clearCpuInfo () Additional cpu information. |
CPUInfo.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
CPUInfo.Builder | clearMhzPerCpu () How fast are these cpus? double mhz_per_cpu = 3; |
CPUInfo.Builder | clearNumCores () int64 num_cores = 1; |
CPUInfo.Builder | clearNumCoresAllowed () int64 num_cores_allowed = 2; |
CPUInfo.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CPUInfo.Builder | clone () |
boleano | containsCacheSize (chave String) Cache sizes (in bytes), e.g. |
Mapa <String, Long> | getCacheSize () getCacheSizeMap() vez disso, use getCacheSizeMap() . |
int | getCacheSizeCount () Cache sizes (in bytes), e.g. |
Mapa <String, Long> | getCacheSizeMap () Cache sizes (in bytes), e.g. |
longo | getCacheSizeOrDefault (String key, long defaultValue) Cache sizes (in bytes), e.g. |
longo | getCacheSizeOrThrow (String key) Cache sizes (in bytes), e.g. |
Fragmento | getCpuGovernor () What kind of cpu scaling is enabled on the host. |
com.google.protobuf.ByteString | getCpuGovernorBytes () What kind of cpu scaling is enabled on the host. |
Fragmento | getCpuInfo () Additional cpu information. |
com.google.protobuf.ByteString | getCpuInfoBytes () Additional cpu information. |
CPUInfo | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Duplo | getMhzPerCpu () How fast are these cpus? double mhz_per_cpu = 3; |
Mapa <String, Long> | getMutableCacheSize () Em vez disso, use acessadores de mutação alternativos. |
longo | getNumCores () int64 num_cores = 1; |
longo | getNumCoresAllowed () int64 num_cores_allowed = 2; |
final booleano | |
CPUInfo.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CPUInfo.Builder | mergeFrom (com.google.protobuf.Message other) |
CPUInfo.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
CPUInfo.Builder | putAllCacheSize (Map <String, Long> values) Cache sizes (in bytes), e.g. |
CPUInfo.Builder | putCacheSize (chave da string, valor longo) Cache sizes (in bytes), e.g. |
CPUInfo.Builder | removeCacheSize (chave String) Cache sizes (in bytes), e.g. |
CPUInfo.Builder | setCpuGovernor (valor String) What kind of cpu scaling is enabled on the host. |
CPUInfo.Builder | setCpuGovernorBytes (com.google.protobuf.ByteString value) What kind of cpu scaling is enabled on the host. |
CPUInfo.Builder | setCpuInfo (valor String) Additional cpu information. |
CPUInfo.Builder | setCpuInfoBytes (valor com.google.protobuf.ByteString) Additional cpu information. |
CPUInfo.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
CPUInfo.Builder | setMhzPerCpu (valor duplo) How fast are these cpus? double mhz_per_cpu = 3; |
CPUInfo.Builder | setNumCores (valor longo) int64 num_cores = 1; |
CPUInfo.Builder | setNumCoresAllowed (valor longo) int64 num_cores_allowed = 2; |
CPUInfo.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
CPUInfo.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public CPUInfo.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public CPUInfo.Builder clearCpuGovernor ()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public CPUInfo.Builder clearCpuInfo ()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public boolean containsCacheSize (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public int getCacheSizeCount ()
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public Map <String, Long> getCacheSizeMap ()
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public long getCacheSizeOrDefault (String key, long defaultValue)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public long getCacheSizeOrThrow (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public String getCpuGovernor ()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public com.google.protobuf.ByteString getCpuGovernorBytes ()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public String getCpuInfo ()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public com.google.protobuf.ByteString getCpuInfoBytes ()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public double getMhzPerCpu ()
How fast are these cpus?
double mhz_per_cpu = 3;
public Map <String, Long> getMutableCacheSize ()
Em vez disso, use acessadores de mutação alternativos.
public long getNumCores ()
int64 num_cores = 1;
public long getNumCoresAllowed ()
int64 num_cores_allowed = 2;
public final boolean isInitialized ()
public CPUInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public CPUInfo.Builder putAllCacheSize (Map <String, Long> values)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public CPUInfo.Builder putCacheSize (String key, long value)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public CPUInfo.Builder removeCacheSize (String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
public CPUInfo.Builder setCpuGovernor (String value)
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public CPUInfo.Builder setCpuGovernorBytes (com.google.protobuf.ByteString value)
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;
public CPUInfo.Builder setCpuInfo (String value)
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;
public CPUInfo.Builder setCpuInfoBytes (valor com.google.protobuf.ByteString)
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;