VersionDefOrBuilder
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Znane podklasy pośrednie WersjaDef |
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. | WersjaDef.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. |
|
Metody publiczne
streszczenie wew | getBadConsumers (indeks int)
Specific consumer versions which are disallowed (e.g. |
streszczenie wew | |
streszczenie Lista<Integer> | |
streszczenie wew | pobierzMinConsumer ()
Any consumer below this version is not allowed to consume this data. |
streszczenie wew | getProducer ()
The version of the code that produced this data. |
Metody publiczne
publiczne streszczenie int getBadConsumers (indeks int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
publiczne streszczenie int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
publiczna lista abstrakcyjna<Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
publiczne streszczenie int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
publiczne streszczenie int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]