kelas akhir statis publik 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. 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
Metode Publik
VersionDef.Builder | addAllBadConsumers (nilai Iterable<? extends Integer>) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addBadConsumers (nilai int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
VersiDef | membangun () |
VersiDef | |
VersionDef.Builder | jernih () |
VersionDef.Builder | jelasKonsumen Buruk () Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
VersionDef.Builder | clearMinConsumer () Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VersionDef.Builder | jelasProduser () The version of the code that produced this data. |
VersionDef.Builder | klon () |
ke dalam | getBadConsumers (indeks int) Specific consumer versions which are disallowed (e.g. |
ke dalam | dapatkanBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Daftar<Bilangan Bulat> | dapatkanDaftar Konsumen Buruk () Specific consumer versions which are disallowed (e.g. |
VersiDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
ke dalam | dapatkanMinConsumer () Any consumer below this version is not allowed to consume this data. |
ke dalam | dapatkanProduser () The version of the code that produced this data. |
boolean terakhir | |
VersionDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VersionDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
Versi finalDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
VersionDef.Builder | setBadConsumers (indeks int, nilai int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
VersionDef.Builder | setMinConsumer (nilai int) Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | setProduser (nilai int) The version of the code that produced this data. |
VersionDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
Versi finalDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public VersionDef.Builder addAllBadConsumers (nilai Iterable<? extends Integer>)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
VersionDef.Builder publik addBadConsumers (nilai int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
VersionDef.Builder publik clearBadConsumers ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
VersionDef.Builder publik clearMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
VersionDef.Builder publik clearProducer ()
The version of the code that produced this data.
int32 producer = 1;
publik int getBadConsumers (indeks int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
int publik getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
Daftar publik<Bilangan Bulat> 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 ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
int publik getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
publik int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
boolean akhir publik diinisialisasi ()
VersionDef.Builder mergeFrom publik (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
Versi final publikDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
VersionDef.Builder publik setBadConsumers (indeks int, nilai int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
VersionDef.Builder publik setMinConsumer (nilai int)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
VersionDef.Builder setProducer publik (nilai int)
The version of the code that produced this data.
int32 producer = 1;