DeviceProperties.Builder

lớp cuối cùng tĩnh công khai DeviceProperties.Builder

Protobuf loại tensorflow.DeviceProperties

Phương pháp công khai

DeviceProperties.Builder
addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
Thuộc tính thiết bị
Thuộc tính thiết bị
DeviceProperties.Builder
DeviceProperties.Builder
ClearBandwidth ()
băng thông
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties.Builder
DeviceProperties.Builder
ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
DeviceProperties.Builder
rõ ràngTần số ()
tần số
 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 ()
mô hình chuỗi
 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 ()
nhà cung cấp chuỗi
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
DeviceProperties.Builder
boolean
chứa Môi trường (Khóa chuỗi)
 Version of the tools and libraries used with this device (e.g.
dài
getBandwidth ()
băng thông
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
Thuộc tính thiết bị
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
com.google.protobuf.Descriptors.Descriptor
Bản đồ<Chuỗi, Chuỗi>
lấy Môi trường ()
Thay vào đó hãy sử dụng getEnvironmentMap() .
int
getEnvironmentCount ()
 Version of the tools and libraries used with this device (e.g.
Bản đồ<Chuỗi, Chuỗi>
getEnvironmentMap ()
 Version of the tools and libraries used with this device (e.g.
Sợi dây
getEnvironmentOrDefault (Khóa chuỗi, Chuỗi defaultValue)
 Version of the tools and libraries used with this device (e.g.
Sợi dây
getEnvironmentOrThrow (Khóa chuỗi)
 Version of the tools and libraries used with this device (e.g.
dài
lấy tần số ()
tần số
 Core Frequency in Mhz
 
int64 frequency = 4;
dài
getL1CacheSize ()
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
dài
getL2CacheSize ()
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
dài
getL3CacheSize ()
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
dài
getMemorySize ()
 Memory size in bytes
 
int64 memory_size = 12;
Sợi dây
getModel ()
mô hình chuỗi
 Model (Haswell, K40, ...)
 
string model = 3;
com.google.protobuf.ByteString
getModelBytes ()
mô hình chuỗi
 Model (Haswell, K40, ...)
 
string model = 3;
Bản đồ<Chuỗi, Chuỗi>
getMutableEnvironment ()
Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.
dài
getNumCores ()
 Number of cores
 
int64 num_cores = 5;
dài
getNumRegisters ()
 Number of registers per core.
dài
getSharedMemorySizePerMultiprocessor ()
 Shared memory size per multiprocessor in bytes.
Sợi dây
getType ()
 Device type (CPU, GPU, ...)
 
string type = 1;
com.google.protobuf.ByteString
getTypeBytes ()
 Device type (CPU, GPU, ...)
 
string type = 1;
Sợi dây
getVendor ()
nhà cung cấp chuỗi
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
com.google.protobuf.ByteString
getVendorBytes ()
nhà cung cấp chuỗi
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
boolean cuối cùng
DeviceProperties.Builder
mergeFrom (com.google.protobuf.Message other)
DeviceProperties.Builder
mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
cuối cùng DeviceProperties.Builder
hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
DeviceProperties.Builder
putAllEnvironment (Giá trị bản đồ<String, String>)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
putEnvironment (Khóa chuỗi, Giá trị chuỗi)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
RemoveEnvironment (Khóa chuỗi)
 Version of the tools and libraries used with this device (e.g.
DeviceProperties.Builder
setBandwidth (giá trị dài)
băng thông
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
DeviceProperties.Builder
setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
DeviceProperties.Builder
setFrequency (giá trị dài)
tần số
 Core Frequency in Mhz
 
int64 frequency = 4;
DeviceProperties.Builder
setL1CacheSize (giá trị dài)
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
DeviceProperties.Builder
setL2CacheSize (giá trị dài)
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
DeviceProperties.Builder
setL3CacheSize (giá trị dài)
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
DeviceProperties.Builder
setMemorySize (giá trị dài)
 Memory size in bytes
 
int64 memory_size = 12;
DeviceProperties.Builder
setModel (Giá trị chuỗi)
mô hình chuỗi
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
setModelBytes (giá trị com.google.protobuf.ByteString)
mô hình chuỗi
 Model (Haswell, K40, ...)
 
string model = 3;
DeviceProperties.Builder
setNumCores (giá trị dài)
 Number of cores
 
int64 num_cores = 5;
DeviceProperties.Builder
setNumRegisters (giá trị dài)
 Number of registers per core.
DeviceProperties.Builder
setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
DeviceProperties.Builder
setSharedMemorySizePerMultiprocessor (giá trị dài)
 Shared memory size per multiprocessor in bytes.
DeviceProperties.Builder
setType (Giá trị chuỗi)
 Device type (CPU, GPU, ...)
 
string type = 1;
DeviceProperties.Builder
setTypeBytes (giá trị com.google.protobuf.ByteString)
 Device type (CPU, GPU, ...)
 
string type = 1;
cuối cùng DeviceProperties.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
DeviceProperties.Builder
setVendor (Giá trị chuỗi)
nhà cung cấp chuỗi
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
DeviceProperties.Builder
setVendorBytes (giá trị com.google.protobuf.ByteString)
nhà cung cấp chuỗi
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

Phương pháp kế thừa

Phương pháp công khai

public DeviceProperties.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

bản dựng DeviceProperties công khai ()

public DeviceProperties buildPartial ()

public DeviceProperties.Builder rõ ràng ()

public DeviceProperties.Builder clearBandwidth ()

băng thông

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties.Builder clearEnvironment ()

public DeviceProperties.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)

public DeviceProperties.Builder clearFrequency ()

tần số

 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 ()

mô hình chuỗi

 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 ()

nhà cung cấp chuỗi

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

bản sao công khai DeviceProperties.Builder ()

boolean công khai chứa Môi trường (Khóa chuỗi)

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

getBandwidth dài công khai ()

băng thông

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()

Bản đồ công khai<String, String> getEnvironment ()

Thay vào đó hãy sử dụng getEnvironmentMap() .

int công khai getEnvironmentCount ()

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

Bản đồ công khai<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;

Chuỗi công khai getEnvironmentOrDefault (Khóa chuỗi, Chuỗi defaultValue)

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

Chuỗi công khai getEnvironmentOrThrow (Khóa chuỗi)

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

công khai long getFrequency ()

tần số

 Core Frequency in Mhz
 
int64 frequency = 4;

công khai getL1CacheSize ()

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

công khai getL2CacheSize ()

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

getL3CacheSize công khai dài ()

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

công khai long getMemorySize ()

 Memory size in bytes
 
int64 memory_size = 12;

Chuỗi công khai getModel ()

mô hình chuỗi

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

com.google.protobuf.ByteString getModelBytes công khai ()

mô hình chuỗi

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

Bản đồ công khai<String, String> getMutableEnvironment ()

Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.

getNumCores công khai dài ()

 Number of cores
 
int64 num_cores = 5;

getNumRegisters công khai dài ()

 Number of registers per core.
 
int64 num_registers = 7;

công khai getSharedMemorySizePerMultiprocessor ()

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

Chuỗi công khai getType ()

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

com.google.protobuf.ByteString getTypeBytes công khai ()

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

Chuỗi công khai getVendor ()

nhà cung cấp chuỗi

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

com.google.protobuf.ByteString getVendorBytes công khai ()

nhà cung cấp chuỗi

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

boolean cuối cùng công khai được khởi tạo ()

công khai DeviceProperties.Builder mergeFrom (com.google.protobuf.Message other)

công khai DeviceProperties.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

công khai cuối cùng DeviceProperties.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public DeviceProperties.Builder putAllEnvironment (giá trị Map<String, String>)

 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 (Khóa chuỗi, giá trị chuỗi)

 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 (Khóa chuỗi)

 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 (giá trị dài)

băng thông

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public DeviceProperties.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)

public DeviceProperties.Builder setFrequency (giá trị dài)

tần số

 Core Frequency in Mhz
 
int64 frequency = 4;

public DeviceProperties.Builder setL1CacheSize (giá trị dài)

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public DeviceProperties.Builder setL2CacheSize (giá trị dài)

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public DeviceProperties.Builder setL3CacheSize (giá trị dài)

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public DeviceProperties.Builder setMemorySize (giá trị dài)

 Memory size in bytes
 
int64 memory_size = 12;

public DeviceProperties.Builder setModel (Giá trị chuỗi)

mô hình chuỗi

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

công khai DeviceProperties.Builder setModelBytes (giá trị com.google.protobuf.ByteString)

mô hình chuỗi

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

public DeviceProperties.Builder setNumCores (giá trị dài)

 Number of cores
 
int64 num_cores = 5;

public DeviceProperties.Builder setNumRegisters (giá trị dài)

 Number of registers per core.
 
int64 num_registers = 7;

public DeviceProperties.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)

public DeviceProperties.Builder setSharedMemorySizePerMultiprocessor (giá trị dài)

 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 (Giá trị chuỗi)

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

công khai DeviceProperties.Builder setTypeBytes (giá trị com.google.protobuf.ByteString)

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

trận chung kết công khai DeviceProperties.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public DeviceProperties.Builder setVendor (Giá trị chuỗi)

nhà cung cấp chuỗi

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

công khai DeviceProperties.Builder setVendorBytes (giá trị com.google.protobuf.ByteString)

nhà cung cấp chuỗi

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