classe finale publique TypeSpecProto
Represents a tf.TypeSpec
tensorflow.TypeSpecProto de type Protobuf.TypeSpecProto Classes imbriquées
| classe | TypeSpecProto.Builder | Represents a tf.TypeSpec tensorflow.TypeSpecProto de type Protobuf.TypeSpecProto | |
| énumération | TypeSpecProto.TypeSpecClass | Protobuf enum tensorflow.TypeSpecProto.TypeSpecClass | |
Constantes
| int | TYPE_SPEC_CLASS_FIELD_NUMBER | |
| int | TYPE_SPEC_CLASS_NAME_FIELD_NUMBER | |
| int | TYPE_STATE_FIELD_NUMBER |
Méthodes publiques
| booléen | est égal à (Obj objet) |
| TypeSpecProto statique | |
| TypeSpecProto | |
| final statique com.google.protobuf.Descriptors.Descriptor | |
| int | |
| TypeSpecProto.TypeSpecClass | getTypeSpecClass () .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
| Chaîne | 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; |
| Valeur structurée | getTypeState () The value returned by TypeSpec._serialize(). |
| StructuredValueOrBuilder | getTypeStateOrBuilder () The value returned by TypeSpec._serialize(). |
| final com.google.protobuf.UnknownFieldSet | |
| booléen | hasTypeState () The value returned by TypeSpec._serialize(). |
| int | |
| booléen final | |
| TypeSpecProto.Builder statique | newBuilder (prototype TypeSpecProto ) |
| TypeSpecProto.Builder statique | |
| TypeSpecProto.Builder | |
| TypeSpecProto statique | parseDelimitedFrom (entrée InputStream) |
| TypeSpecProto statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statique | parseFrom (données ByteBuffer) |
| TypeSpecProto statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
| TypeSpecProto statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statique | parseFrom (données com.google.protobuf.ByteString) |
| TypeSpecProto statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| TypeSpecProto statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statique | analyseur () |
| TypeSpecProto.Builder | toBuilder () |
| vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int TYPE_SPEC_CLASS_FIELD_NUMBER
Valeur constante : 1
public statique final int TYPE_SPEC_CLASS_NAME_FIELD_NUMBER
Valeur constante : 3
public statique final int TYPE_STATE_FIELD_NUMBER
Valeur constante : 2
Méthodes publiques
public booléen égal (Objet obj)
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publique getParserForType ()
public int getSerializedSize ()
public TypeSpecProto.TypeSpecClass getTypeSpecClass ()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
chaîne publique 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 booléen hasTypeState ()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2; code de hachage int public ()
public final booléen isInitialized ()
public static TypeSpecProto parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique TypeSpecProto parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public static TypeSpecProto parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique TypeSpecProto parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
| IOException |
|---|
public static TypeSpecProto parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique TypeSpecProto parseFrom (données com.google.protobuf.ByteString)
Jetés
| InvalidProtocolBufferException |
|---|
public static TypeSpecProto parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| IOException |
|---|
public statique TypeSpecProto parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
| InvalidProtocolBufferException |
|---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
| IOException |
|---|