VersionDefOrBuilder
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Sottoclassi indirette conosciute VersioneDef |
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. | 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. |
|
Metodi pubblici
astratto int | getBadConsumers (indice int)
Specific consumer versions which are disallowed (e.g. |
astratto int | |
Lista astratta<Intero> | |
astratto int | getMinConsumatore ()
Any consumer below this version is not allowed to consume this data. |
astratto int | getProduttore ()
The version of the code that produced this data. |
Metodi pubblici
public abstract int getBadConsumers (indice int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstract int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstract List<Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstract int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public abstract int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# VersionDefOrBuilder\n\npublic interface **VersionDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [VersionDef](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDef), [VersionDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDef.Builder) |--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [VersionDef](/jvm/api_docs/java/org/tensorflow/proto/framework/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. ``` | | [VersionDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/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. ``` | |||\n\n### Public Methods\n\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract int | [getBadConsumers](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getBadConsumers(int))(int index) ``` Specific consumer versions which are disallowed (e.g. ``` |\n| abstract int | [getBadConsumersCount](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getBadConsumersCount())() ``` Specific consumer versions which are disallowed (e.g. ``` |\n| abstract List\\\u003cInteger\\\u003e | [getBadConsumersList](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getBadConsumersList())() ``` Specific consumer versions which are disallowed (e.g. ``` |\n| abstract int | [getMinConsumer](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getMinConsumer())() ``` Any consumer below this version is not allowed to consume this data. ``` |\n| abstract int | [getProducer](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getProducer())() ``` The version of the code that produced this data. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract int\n**getBadConsumers**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Specific consumer versions which are disallowed (e.g. due to bugs).\n \n```\n`repeated int32 bad_consumers = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getBadConsumersCount**\n()\n\n\u003cbr /\u003e\n\n```\n Specific consumer versions which are disallowed (e.g. due to bugs).\n \n```\n`repeated int32 bad_consumers = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003cInteger\\\u003e\n**getBadConsumersList**\n()\n\n\u003cbr /\u003e\n\n```\n Specific consumer versions which are disallowed (e.g. due to bugs).\n \n```\n`repeated int32 bad_consumers = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getMinConsumer**\n()\n\n\u003cbr /\u003e\n\n```\n Any consumer below this version is not allowed to consume this data.\n \n```\n`int32 min_consumer = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getProducer**\n()\n\n\u003cbr /\u003e\n\n```\n The version of the code that produced this data.\n \n```\n`int32 producer = 1;`\n\n\u003cbr /\u003e"]]