classe finale pubblica VersionDef
Version information for a piece of serialized data There are different types of versions for each type of data (GraphDef, etc.), but they all have the same common shape described here. Each consumer has "consumer" and "min_producer" versions (specified elsewhere). A consumer is allowed to consume this data if producer >= min_producer consumer >= min_consumer consumer not in bad_consumers
tensorflow.VersionDef
Classi nidificate
classe | VersionDef.Builder | Version information for a piece of serialized data There are different types of versions for each type of data (GraphDef, etc.), but they all have the same common shape described here. |
Costanti
int | BAD_CONSUMERS_FIELD_NUMBER | |
int | MIN_CONSUMER_FIELD_NUMBER | |
int | PRODUCER_FIELD_NUMBER |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
int | getBadConsumers (indice int) Specific consumer versions which are disallowed (e.g. |
int | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Elenco<intero> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
Versione staticaDef | |
VersioneDef | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
int | getMinConsumatore () Any consumer below this version is not allowed to consume this data. |
int | getProduttore () The version of the code that produced this data. |
int | |
finale com.google.protobuf.UnknownFieldSet | |
int | codicehash () |
booleano finale | |
VersionDef.Builder statico | newBuilder (prototipo VersionDef ) |
VersionDef.Builder statico | |
VersionDef.Builder | |
Versione staticaDef | parseDelimitedFrom (input InputStream) |
Versione staticaDef | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versione staticaDef | parseFrom (dati ByteBuffer) |
Versione staticaDef | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
Versione staticaDef | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versione staticaDef | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
Versione staticaDef | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versione staticaDef | parseFrom (dati com.google.protobuf.ByteString) |
Versione staticaDef | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versione staticaDef | parseFrom (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
VersionDef.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int BAD_CONSUMERS_FIELD_NUMBER
Valore costante: 3
public static final int MIN_CONSUMER_FIELD_NUMBER
Valore costante: 2
public static final int PRODUCER_FIELD_NUMBER
Valore costante: 1
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public int getBadConsumers (indice int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public List<Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
pubblico getParserForType ()
public int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
public int getSerializedSize ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final booleano isInitialized ()
public static VersionDef parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico VersionDef (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom pubblico statico VersionDef (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico VersionDef (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
public static VersionDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom pubblico statico VersionDef (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
public static VersionDef parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public static VersionDef parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|