מחלקה סופית ציבורית SessionMetadata
Metadata about the session. This can be used by the runtime and the Ops for debugging, monitoring, etc. The (name, version) tuple is expected to be a unique identifier for sessions within the same process. NOTE: This is currently used and propagated only by the direct session.
tensorflow.SessionMetadata כיתות מקוננות
| מַחלָקָה | SessionMetadata.Builder | Metadata about the session. | |
קבועים
| int | NAME_FIELD_NUMBER | |
| int | VERSION_FIELD_NUMBER |
שיטות ציבוריות
| בוליאני | שווה (Object obj) |
| סטטי SessionMetadata | |
| SessionMetadata | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| חוּט | getName () string name = 1; |
| com.google.protobuf.ByteString | getNameBytes () string name = 1; |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| אָרוֹך | getVersion () The version is optional. |
| int | hashcode () |
| בוליאנית סופית | |
| סטטי SessionMetadata.Builder | newBuilder (אב-טיפוס SessionMetadata ) |
| סטטי SessionMetadata.Builder | newBuilder () |
| SessionMetadata.Builder | |
| סטטי SessionMetadata | parseDelimitedFrom (קלט InputStream) |
| סטטי SessionMetadata | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי SessionMetadata | parseFrom (נתוני ByteBuffer) |
| סטטי SessionMetadata | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי SessionMetadata | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי SessionMetadata | parseFrom (קלט com.google.protobuf.CodedInputStream) |
| סטטי SessionMetadata | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי SessionMetadata | parseFrom (נתוני com.google.protobuf.ByteString) |
| סטטי SessionMetadata | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי SessionMetadata | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטָטִי | מנתח () |
| SessionMetadata.Builder | toBuilder () |
| בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי NAME_FIELD_NUMBER
ערך קבוע: 1
אינט סופי סטטי ציבורי VERSION_FIELD_NUMBER
ערך קבוע: 2
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
מחרוזת ציבורית getName ()
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
string name = 1;
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public long getVersion ()
The version is optional. If set, needs to be >= 0.
int64 version = 2; public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static SessionMetadata parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
SessionMetadata parseFrom סטטי ציבורי (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
סטטי SessionMetadata parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static SessionMetadata parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי SessionMetadata parseFrom (נתוני com.google.protobuf.ByteString)
זורק
| InvalidProtocolBufferException |
|---|
public static SessionMetadata parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
public static SessionMetadata parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
| IOException |
|---|