public final class TypeSpecProto
Represents a tf.TypeSpec
tensorflow.TypeSpecProto type tensorflow.TypeSpecProto Classes aninhadas
| aula | TypeSpecProto.Builder | Represents a tf.TypeSpec tensorflow.TypeSpecProto type tensorflow.TypeSpecProto | |
| enum | TypeSpecProto.TypeSpecClass | tensorflow.TypeSpecProto.TypeSpecClass enum tensorflow.TypeSpecProto.TypeSpecClass | |
Constantes
| int | TYPE_SPEC_CLASS_FIELD_NUMBER | |
| int | TYPE_SPEC_CLASS_NAME_FIELD_NUMBER | |
| int | TYPE_STATE_FIELD_NUMBER |
Métodos Públicos
| boleano | igual a (objeto obj) |
| static TypeSpecProto | |
| TypeSpecProto | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| int | |
| TypeSpecProto.TypeSpecClass | getTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| Fragmento | 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 | |
| boleano | hasTypeState () The value returned by TypeSpec._serialize(). |
| int | hashCode () |
| final booleano | |
| static TypeSpecProto.Builder | newBuilder (protótipo TypeSpecProto ) |
| static TypeSpecProto.Builder | newBuilder () |
| TypeSpecProto.Builder | |
| static TypeSpecProto | parseDelimitedFrom (InputStream input) |
| static TypeSpecProto | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static TypeSpecProto | parseFrom (dados ByteBuffer) |
| static TypeSpecProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static TypeSpecProto | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static TypeSpecProto | parseFrom (com.google.protobuf.CodedInputStream input) |
| static TypeSpecProto | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static TypeSpecProto | parseFrom (com.google.protobuf.ByteString data) |
| static TypeSpecProto | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| static TypeSpecProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| estático | analisador () |
| TypeSpecProto.Builder | toBuilder () |
| vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int TYPE_SPEC_CLASS_FIELD_NUMBER
Valor Constante: 1
public static final int TYPE_SPEC_CLASS_NAME_FIELD_NUMBER
Valor Constante: 3
public static final int TYPE_STATE_FIELD_NUMBER
Valor constante: 2
Métodos Públicos
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público getParserForType ()
public int getSerializedSize ()
public TypeSpecProto.TypeSpecClass getTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
public String 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 ()
public boolean hasTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;public int hashCode ()
public final boolean isInitialized ()
public static TypeSpecProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static TypeSpecProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static TypeSpecProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static TypeSpecProto parseFrom (com.google.protobuf.CodedInputStream input)
Lança
| IOException |
|---|
public static TypeSpecProto parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
public static TypeSpecProto parseFrom (com.google.protobuf.ByteString data)
Lança
| InvalidProtocolBufferException |
|---|
public static TypeSpecProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public static TypeSpecProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| InvalidProtocolBufferException |
|---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
| IOException |
|---|