כיתת גמר ציבורית AvailableDeviceInfo
Matches DeviceAttributes
tensorflow.AvailableDeviceInfo מסוג Protobuf.AvailableDeviceInfo כיתות מקוננות
| מַחלָקָה | AvailableDeviceInfo.Builder | Matches DeviceAttributes tensorflow.AvailableDeviceInfo מסוג Protobuf.AvailableDeviceInfo | |
קבועים
| int | MEMORY_LIMIT_FIELD_NUMBER | |
| int | NAME_FIELD_NUMBER | |
| int | PHYSICAL_DESCRIPTION_FIELD_NUMBER | |
| int | TYPE_FIELD_NUMBER |
שיטות ציבוריות
| בוליאני | שווה (Object obj) |
| סטטי AvailableDeviceInfo | |
| AvailableDeviceInfo | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| אָרוֹך | getMemoryLimit () Memory capacity in bytes. |
| חוּט | getName () Device name. |
| com.google.protobuf.ByteString | getNameBytes () Device name. |
| חוּט | getPhysicalDescription () The physical description of this device. |
| com.google.protobuf.ByteString | getPhysicalDescriptionBytes () The physical description of this device. |
| int | |
| חוּט | getType () Device type, e.g. |
| com.google.protobuf.ByteString | getTypeBytes () Device type, e.g. |
| final com.google.protobuf.UnknownFieldSet | |
| int | hashcode () |
| בוליאנית סופית | |
| סטטי AvailableDeviceInfo.Builder | newBuilder (אב-טיפוס AvailableDeviceInfo ) |
| סטטי AvailableDeviceInfo.Builder | newBuilder () |
| AvailableDeviceInfo.Builder | |
| סטטי AvailableDeviceInfo | parseDelimitedFrom (קלט InputStream) |
| סטטי AvailableDeviceInfo | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AvailableDeviceInfo | parseFrom (נתוני ByteBuffer) |
| סטטי AvailableDeviceInfo | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AvailableDeviceInfo | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AvailableDeviceInfo | parseFrom (קלט com.google.protobuf.CodedInputStream) |
| סטטי AvailableDeviceInfo | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AvailableDeviceInfo | parseFrom (נתוני com.google.protobuf.ByteString) |
| סטטי AvailableDeviceInfo | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי AvailableDeviceInfo | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטָטִי | מנתח () |
| AvailableDeviceInfo.Builder | toBuilder () |
| בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי MEMORY_LIMIT_FIELD_NUMBER
ערך קבוע: 3
גמר סטטי ציבורי NAME_FIELD_NUMBER
ערך קבוע: 1
אינט סופי סטטי ציבורי PHYSICAL_DESCRIPTION_FIELD_NUMBER
ערך קבוע: 4
סופי סטטי ציבורי TYPE_FIELD_NUMBER
ערך קבוע: 2
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public long getMemoryLimit ()
Memory capacity in bytes.
int64 memory_limit = 3; מחרוזת ציבורית getName ()
Device name.
string name = 1; public com.google.protobuf.ByteString getNameBytes ()
Device name.
string name = 1; פּוּמְבֵּי getParserForType ()
מחרוזת ציבורית getPhysicalDescription ()
The physical description of this device.
string physical_description = 4; public com.google.protobuf.ByteString getPhysicalDescriptionBytes ()
The physical description of this device.
string physical_description = 4; public int getSerializedSize ()
מחרוזת ציבורית getType ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2; public com.google.protobuf.ByteString getTypeBytes ()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2; public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static AvailableDeviceInfo parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static AvailableDeviceInfo parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static AvailableDeviceInfo parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static AvailableDeviceInfo parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
| IOException |
|---|
public static AvailableDeviceInfo parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static AvailableDeviceInfo parseFrom (נתוני com.google.protobuf.ByteString)
זורק
| InvalidProtocolBufferException |
|---|
public static AvailableDeviceInfo parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static AvailableDeviceInfo parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
| IOException |
|---|