VersionDef

classe finale publique 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 de type Protobuf.VersionDef

Classes imbriquées

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. 

Constantes

int BAD_CONSUMERS_FIELD_NUMBER
int MIN_CONSUMER_FIELD_NUMBER
int PRODUCER_FIELD_NUMBER

Méthodes publiques

booléen
est égal à (Obj objet)
int
getBadConsumers (index int)
 Specific consumer versions which are disallowed (e.g.
int
getBadConsumersCount ()
 Specific consumer versions which are disallowed (e.g.
Liste<Entier>
getBadConsumersList ()
 Specific consumer versions which are disallowed (e.g.
VersionDef statique
VersionDef
final statique com.google.protobuf.Descriptors.Descriptor
int
getMinConsumer ()
 Any consumer below this version is not allowed to consume this data.
int
getProducteur ()
 The version of the code that produced this data.
int
final com.google.protobuf.UnknownFieldSet
int
booléen final
VersionDef.Builder statique
newBuilder (prototype VersionDef )
VersionDef.Builder statique
VersionDef.Builder
VersionDef statique
parseDelimitedFrom (entrée InputStream)
VersionDef statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef statique
parseFrom (données ByteBuffer)
VersionDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
VersionDef statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef statique
parseFrom (données com.google.protobuf.ByteString)
VersionDef statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
VersionDef.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int BAD_CONSUMERS_FIELD_NUMBER

Valeur constante : 3

public statique final int MIN_CONSUMER_FIELD_NUMBER

Valeur constante : 2

public statique final int PRODUCER_FIELD_NUMBER

Valeur constante : 1

Méthodes publiques

public booléen égal (Objet obj)

public int getBadConsumers (index 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;

liste publique<Integer> getBadConsumersList ()

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

public statique VersionDef getDefaultInstance ()

public VersionDef getDefaultInstanceForType ()

public statique 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;

publique getParserForType ()

public int getProducer ()

 The version of the code that produced this data.
 
int32 producer = 1;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

code de hachage int public ()

public final booléen isInitialized ()

public statique VersionDef.Builder newBuilder (prototype VersionDef )

public statique VersionDef.Builder newBuilder ()

public VersionDef.Builder newBuilderForType ()

public statique VersionDef parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public statique VersionDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique VersionDef parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique VersionDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique VersionDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique VersionDef parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public statique VersionDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique VersionDef parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public statique VersionDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique VersionDef 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