lớp cuối cùng tĩnh công khai AvailableDeviceInfo.Builder
Matches DeviceAttributesProtobuf loại
tensorflow.AvailableDeviceInfo
Phương pháp công khai
Có sẵnDeviceInfo.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Thông tin thiết bị có sẵn | xây dựng () |
Thông tin thiết bị có sẵn | |
Có sẵnDeviceInfo.Builder | thông thoáng () |
Có sẵnDeviceInfo.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
Có sẵnDeviceInfo.Builder | ClearMemoryLimit () Memory capacity in bytes. |
Có sẵnDeviceInfo.Builder | ClearName () Device name. |
Có sẵnDeviceInfo.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Có sẵnDeviceInfo.Builder | clearPhysicalDescription () The physical description of this device. |
Có sẵnDeviceInfo.Builder | ClearType () Device type, e.g. |
Có sẵnDeviceInfo.Builder | dòng vô tính () |
Thông tin thiết bị có sẵn | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
dài | getMemoryLimit () Memory capacity in bytes. |
Sợi dây | lấy Tên () Device name. |
com.google.protobuf.ByteString | getNameBytes () Device name. |
Sợi dây | getPhysicalDescription () The physical description of this device. |
com.google.protobuf.ByteString | getPhysicalDescriptionBytes () The physical description of this device. |
Sợi dây | getType () Device type, e.g. |
com.google.protobuf.ByteString | getTypeBytes () Device type, e.g. |
boolean cuối cùng | |
Có sẵnDeviceInfo.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
Có sẵnDeviceInfo.Builder | mergeFrom (com.google.protobuf.Message other) |
cuối cùng có sẵnDeviceInfo.Builder | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Có sẵnDeviceInfo.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Có sẵnDeviceInfo.Builder | setMemoryLimit (giá trị dài) Memory capacity in bytes. |
Có sẵnDeviceInfo.Builder | setName (Giá trị chuỗi) Device name. |
Có sẵnDeviceInfo.Builder | setNameBytes (giá trị com.google.protobuf.ByteString) Device name. |
Có sẵnDeviceInfo.Builder | setPhysicalDescription (Giá trị chuỗi) The physical description of this device. |
Có sẵnDeviceInfo.Builder | setPhysicalDescriptionBytes (giá trị com.google.protobuf.ByteString) The physical description of this device. |
Có sẵnDeviceInfo.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
Có sẵnDeviceInfo.Builder | setType (Giá trị chuỗi) Device type, e.g. |
Có sẵnDeviceInfo.Builder | setTypeBytes (giá trị com.google.protobuf.ByteString) Device type, e.g. |
cuối cùng có sẵnDeviceInfo.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
public AvailableDeviceInfo.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
public AvailableDeviceInfo.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
public AvailableDeviceInfo.Builder clearMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3;
công khai AvailableDeviceInfo.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public AvailableDeviceInfo.Builder clearPhysicalDescription ()
The physical description of this device.
string physical_description = 4;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
công khai getMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3;
Chuỗi công khai getName ()
Device name.
string name = 1;
com.google.protobuf.ByteString getNameBytes () công khai
Device name.
string name = 1;
Chuỗi công khai getPhysicalDescription ()
The physical description of this device.
string physical_description = 4;
com.google.protobuf.ByteString getPhysicalDescriptionBytes công khai ()
The physical description of this device.
string physical_description = 4;
Chuỗi công khai getType ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
com.google.protobuf.ByteString getTypeBytes công khai ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
boolean cuối cùng công khai được khởi tạo ()
công khai AvailableDeviceInfo.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai AvailableDeviceInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public AvailableDeviceInfo.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public AvailableDeviceInfo.Builder setMemoryLimit (giá trị dài)
Memory capacity in bytes.
int64 memory_limit = 3;
public AvailableDeviceInfo.Builder setNameBytes (giá trị com.google.protobuf.ByteString)
Device name.
string name = 1;
public AvailableDeviceInfo.Builder setPhysicalDescription (Giá trị chuỗi)
The physical description of this device.
string physical_description = 4;
public AvailableDeviceInfo.Builder setPhysicalDescriptionBytes (giá trị com.google.protobuf.ByteString)
The physical description of this device.
string physical_description = 4;
public AvailableDeviceInfo.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
public AvailableDeviceInfo.Builder setType (Giá trị chuỗi)
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public AvailableDeviceInfo.Builder setTypeBytes (giá trị com.google.protobuf.ByteString)
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;