מחלקה סופית ציבורית TypeSpecProto
Represents a tf.TypeSpec
tensorflow.TypeSpecProto כיתות מקוננות
| מַחלָקָה | TypeSpecProto.Builder | Represents a tf.TypeSpec tensorflow.TypeSpecProto | |
| enum | TypeSpecProto.TypeSpecClass | Protobuf enum tensorflow.TypeSpecProto.TypeSpecClass | |
קבועים
| int | TYPE_SPEC_CLASS_FIELD_NUMBER | |
| int | TYPE_SPEC_CLASS_NAME_FIELD_NUMBER | |
| int | TYPE_STATE_FIELD_NUMBER |
שיטות ציבוריות
| בוליאני | שווה (Object obj) |
| סטטי TypeSpecProto | |
| TypeSpecProto | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| int | |
| TypeSpecProto.TypeSpecClass | getTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| חוּט | getTypeSpecClassName () This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| com.google.protobuf.ByteString | getTypeSpecClassNameBytes () This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| int | getTypeSpecClassValue () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| StructuredValue | getTypeState () The value returned by TypeSpec._serialize(). |
| StructuredValueOrBuilder | getTypeStateOrBuilder () The value returned by TypeSpec._serialize(). |
| final com.google.protobuf.UnknownFieldSet | |
| בוליאני | hasTypeState () The value returned by TypeSpec._serialize(). |
| int | hashcode () |
| בוליאנית סופית | |
| סטטי TypeSpecProto.Builder | newBuilder (אב-טיפוס TypeSpecProto ) |
| סטטי TypeSpecProto.Builder | newBuilder () |
| TypeSpecProto.Builder | |
| סטטי TypeSpecProto | parseDelimitedFrom (קלט InputStream) |
| סטטי TypeSpecProto | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי TypeSpecProto | parseFrom (נתוני ByteBuffer) |
| סטטי TypeSpecProto | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי TypeSpecProto | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי TypeSpecProto | parseFrom (קלט com.google.protobuf.CodedInputStream) |
| סטטי TypeSpecProto | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי TypeSpecProto | parseFrom (נתוני com.google.protobuf.ByteString) |
| סטטי TypeSpecProto | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטטי TypeSpecProto | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| סטָטִי | מנתח () |
| TypeSpecProto.Builder | toBuilder () |
| בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי TYPE_SPEC_CLASS_FIELD_NUMBER
ערך קבוע: 1
גמר סטטי ציבורי TYPE_SPEC_CLASS_NAME_FIELD_NUMBER
ערך קבוע: 3
גמר סטטי ציבורי TYPE_STATE_FIELD_NUMBER
ערך קבוע: 2
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
פּוּמְבֵּי getParserForType ()
public int getSerializedSize ()
public TypeSpecProto.TypeSpecClass getTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
מחרוזת ציבורית getTypeSpecClassName ()
This is currently redundant with the type_spec_class enum, and is only used for error reporting. In particular, if you use an older binary to load a newer model, and the model uses a TypeSpecClass that the older binary doesn't support, then this lets us display a useful error message.
string type_spec_class_name = 3; public com.google.protobuf.ByteString getTypeSpecClassNameBytes ()
This is currently redundant with the type_spec_class enum, and is only used for error reporting. In particular, if you use an older binary to load a newer model, and the model uses a TypeSpecClass that the older binary doesn't support, then this lets us display a useful error message.
string type_spec_class_name = 3; public int getTypeSpecClassValue ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
public StructuredValue getTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; public StructuredValueOrBuilder getTypeStateOrBuilder ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasTypeState בוליאני ציבורי ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
public static TypeSpecProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
Public static TypeSpecProto parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
Public static TypeSpecProto parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
public static TypeSpecProto parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
Public static TypeSpecProto parseFrom (נתוני com.google.protobuf.ByteString)
זורק
| InvalidProtocolBufferException |
|---|
Public static TypeSpecProto parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| IOException |
|---|
Public static TypeSpecProto parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
| InvalidProtocolBufferException |
|---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
| IOException |
|---|