VersionDefOrBuilder
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Sous-classes indirectes connues 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 |
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. |
|
Méthodes publiques
entier abstrait | getBadConsumers (index int)
Specific consumer versions which are disallowed (e.g. |
entier abstrait | |
Liste abstraite<Integer> | |
entier abstrait | getMinConsumer ()
Any consumer below this version is not allowed to consume this data. |
entier abstrait | getProducteur ()
The version of the code that produced this data. |
Méthodes publiques
public abstract int getBadConsumers (index int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstrait 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 abstrait int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public abstrait int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[null,null,["Dernière mise à jour le 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"]]