SessionMetadata

מחלקה סופית ציבורית 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 מסוג Protobuf.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
בוליאנית סופית
סטטי SessionMetadata.Builder
newBuilder (אב-טיפוס SessionMetadata )
סטטי SessionMetadata.Builder
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
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

גמר סטטי ציבורי NAME_FIELD_NUMBER

ערך קבוע: 1

אינט סופי סטטי ציבורי VERSION_FIELD_NUMBER

ערך קבוע: 2

שיטות ציבוריות

שווה ערך בוליאני ציבורי (Object obj)

public static SessionMetadata getDefaultInstance ()

public SessionMetadata getDefaultInstanceForType ()

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

בוליאני הסופי הציבורי הוא אתחול ()

סטטי ציבורי SessionMetadata.Builder newBuilder (אב-טיפוס SessionMetadata )

public static SessionMetadata.Builder newBuilder ()

public SessionMetadata.Builder newBuilderForType ()

public static SessionMetadata parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static SessionMetadata parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

סטטי SessionMetadata parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

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 (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

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 SessionMetadata.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException