AvailableDeviceInfoOrBuilder

giao diện công cộng AvailableDeviceInfoOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

trừu tượng dài
getMemoryLimit ()
 Memory capacity in bytes.
chuỗi trừu tượng
lấy Tên ()
 Device name.
tóm tắt com.google.protobuf.ByteString
getNameBytes ()
 Device name.
chuỗi trừu tượng
getPhysicalDescription ()
 The physical description of this device.
tóm tắt com.google.protobuf.ByteString
getPhysicalDescriptionBytes ()
 The physical description of this device.
chuỗi trừu tượng
getType ()
 Device type, e.g.
tóm tắt com.google.protobuf.ByteString
getTypeBytes ()
 Device type, e.g.

Phương pháp công khai

tóm tắt công khai dài getMemoryLimit ()

 Memory capacity in bytes.
 
int64 memory_limit = 3;

Chuỗi tóm tắt công khai getName ()

 Device name.
 
string name = 1;

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 Device name.
 
= 1;

Chuỗi tóm tắt công khai getPhysicalDescription ()

 The physical description of this device.
 
string physical_description = 4;

tóm tắt công khai com.google.protobuf.ByteString getPhysicalDescriptionBytes ()

 The physical description of this device.
 
string physical_description = 4;

Chuỗi trừu tượng công khai getType ()

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

tóm tắt công khai com.google.protobuf.ByteString getTypeBytes ()

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;