מחלקה סופית סטטית ציבורית TypeSpecProto.Builder
Represents a tf.TypeSpec
tensorflow.TypeSpecProto
מסוג Protobuf.TypeSpecProto שיטות ציבוריות
TypeSpecProto.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
TypeSpecProto | לבנות () |
TypeSpecProto | buildPartial () |
TypeSpecProto.Builder | ברור () |
TypeSpecProto.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
TypeSpecProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TypeSpecProto.Builder | clearTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
TypeSpecProto.Builder | clearTypeSpecClassName () This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
TypeSpecProto.Builder | clearTypeState () The value returned by TypeSpec._serialize(). |
TypeSpecProto.Builder | שיבוט () |
TypeSpecProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
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(). |
StructuredValue.Builder | getTypeStateBuilder () The value returned by TypeSpec._serialize(). |
StructuredValueOrBuilder | getTypeStateOrBuilder () The value returned by TypeSpec._serialize(). |
בוליאני | hasTypeState () The value returned by TypeSpec._serialize(). |
בוליאנית סופית | |
TypeSpecProto.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TypeSpecProto.Builder | mergeFrom (com.google.protobuf.Message אחר) |
TypeSpecProto.Builder | |
Final TypeSpecProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TypeSpecProto.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
TypeSpecProto.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
TypeSpecProto.Builder | setTypeSpecClass (ערך TypeSpecProto.TypeSpecClass ) .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
TypeSpecProto.Builder | setTypeSpecClassName (ערך מחרוזת) This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
TypeSpecProto.Builder | setTypeSpecClassNameBytes (ערך com.google.protobuf.ByteString) This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
TypeSpecProto.Builder | setTypeSpecClassValue (ערך int) .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
TypeSpecProto.Builder | |
TypeSpecProto.Builder | setTypeState ( StructuredValue.Builder builderForValue) The value returned by TypeSpec._serialize(). |
Final TypeSpecProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
public TypeSpecProto.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
public TypeSpecProto.Builder clearTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
public TypeSpecProto.Builder clearTypeSpecClassName ()
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 TypeSpecProto.Builder clearTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 StructuredValue.Builder getTypeStateBuilder ()
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;
hasTypeState בוליאני ציבורי ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;
בוליאני הסופי הציבורי הוא אתחול ()
public TypeSpecProto.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public TypeSpecProto.Builder mergeTypeState (ערך StructuredValue )
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;
public final TypeSpecProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TypeSpecProto.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
public TypeSpecProto.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)
Public TypeSpecProto.Builder setTypeSpecClass (ערך TypeSpecProto.TypeSpecClass )
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
public TypeSpecProto.Builder setTypeSpecClassName (ערך מחרוזת)
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 TypeSpecProto.Builder setTypeSpecClassNameBytes (ערך com.google.protobuf.ByteString)
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 TypeSpecProto.Builder setTypeSpecClassValue (ערך int)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
public TypeSpecProto.Builder setTypeState (ערך StructuredValue )
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;
public TypeSpecProto.Builder setTypeState ( StructuredValue.Builder builderForValue)
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;