clase final estática pública TypeSpecProto.Builder
Represents a tf.TypeSpec
tensorflow.TypeSpecProto Métodos públicos
| TipoSpecProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
| TipoSpecProto | construir () |
| TipoSpecProto | |
| TipoSpecProto.Builder | claro () |
| TipoSpecProto.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| TipoSpecProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
| TipoSpecProto.Builder | clearTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| TipoSpecProto.Builder | clearTypeSpecClassName () This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| TipoSpecProto.Builder | claroTipoEstado () The value returned by TypeSpec._serialize(). |
| TipoSpecProto.Builder | clonar () |
| TipoSpecProto | |
| com.google.protobuf.Descriptors.Descriptor estático final | |
| com.google.protobuf.Descriptors.Descriptor | |
| TypeSpecProto.TypeSpecClass | getTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| Cadena | 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. |
| entero | getTypeSpecClassValue () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| Valor estructurado | getTypeState () The value returned by TypeSpec._serialize(). |
| Valor estructurado.Constructor | getTypeStateBuilder () The value returned by TypeSpec._serialize(). |
| ValorEstructuradoOrConstructor | getTypeStateOrBuilder () The value returned by TypeSpec._serialize(). |
| booleano | tieneTypeState () The value returned by TypeSpec._serialize(). |
| booleano final | |
| TipoSpecProto.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
| TipoSpecProto.Builder | mergeFrom (com.google.protobuf.Message otro) |
| TipoSpecProto.Builder | |
| TypeSpecProto.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
| TipoSpecProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
| TipoSpecProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
| TipoSpecProto.Builder | setTypeSpecClass (valor TypeSpecProto.TypeSpecClass ) .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| TipoSpecProto.Builder | setTypeSpecClassName (valor de cadena) This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| TipoSpecProto.Builder | setTypeSpecClassNameBytes (valor com.google.protobuf.ByteString) This is currently redundant with the type_spec_class enum, and is only used for error reporting. |
| TipoSpecProto.Builder | setTypeSpecClassValue (valor int) .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| TipoSpecProto.Builder | |
| TipoSpecProto.Builder | setTypeState ( StructuredValue.Builder builderForValue) The value returned by TypeSpec._serialize(). |
| TypeSpecProto.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
público TypeSpecProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público TypeSpecProto.Builder clearTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
público 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; público TypeSpecProto.Builder clearTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público TypeSpecProto.TypeSpecClass getTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
cadena pública 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; público 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; público int getTypeSpecClassValue ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
valor estructurado público getTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; público StructuredValue.Builder getTypeStateBuilder ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; público StructuredValueOrBuilder getTypeStateOrBuilder ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; hasTypeState booleano público ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; público final booleano isInitialized ()
mergeFrom público TypeSpecProto.Builder (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
| IOExcepción |
|---|
público TypeSpecProto.Builder mergeTypeState (valor StructuredValue )
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; TypeSpecProto.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público TypeSpecProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público TypeSpecProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público TypeSpecProto.Builder setTypeSpecClass (valor TypeSpecProto.TypeSpecClass )
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
público TypeSpecProto.Builder setTypeSpecClassName (valor de cadena)
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; público TypeSpecProto.Builder setTypeSpecClassNameBytes (valor 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; público TypeSpecProto.Builder setTypeSpecClassValue (valor int)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
público TypeSpecProto.Builder setTypeState (valor StructuredValue )
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; público TypeSpecProto.Builder setTypeState ( StructuredValue.Builder builderForValue)
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;