OpDef.AttrDefOrBuilder
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
תת-מחלקות עקיפות ידועות OpDef.AttrDef |
Description of the graph-construction-time configuration of this
Op. | OpDef.AttrDef.Builder |
Description of the graph-construction-time configuration of this
Op. |
|
שיטות ציבוריות
מופשט AttrValue | |
תקציר AttrValueOrBuilder | |
מופשט AttrValue | getDefaultValue ()
A reasonable default for this attribute if the user does not supply
a value. |
תקציר AttrValueOrBuilder | |
מחרוזת מופשטת | |
תקציר com.google.protobuf.ByteString | |
בוליאני מופשט | |
מופשט ארוך | |
מחרוזת מופשטת | getName ()
A descriptive name for the argument. |
תקציר com.google.protobuf.ByteString | |
מחרוזת מופשטת | getType ()
One of the type names from attr_value.proto ("string", "list(string)",
"int", etc.). |
תקציר com.google.protobuf.ByteString | getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)",
"int", etc.). |
בוליאני מופשט | |
בוליאני מופשט | hasDefaultValue ()
A reasonable default for this attribute if the user does not supply
a value. |
שיטות ציבוריות
תקציר ציבורי AttrValue getAllowedValues ()
The set of allowed values. Has type that is the "list" version
of the "type" field above (uses the "list" field of AttrValue).
If type == "type" or "list(type)" above, then the "type" field
of "allowed_values.list" has the set of allowed DataTypes.
If type == "string" or "list(string)", then the "s" field of
"allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
תקציר ציבורי AttrValueOrBuilder getAllowedValuesOrBuilder ()
The set of allowed values. Has type that is the "list" version
of the "type" field above (uses the "list" field of AttrValue).
If type == "type" or "list(type)" above, then the "type" field
of "allowed_values.list" has the set of allowed DataTypes.
If type == "string" or "list(string)", then the "s" field of
"allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
תקציר ציבורי AttrValue getDefaultValue ()
A reasonable default for this attribute if the user does not supply
a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
תקציר ציבורי AttrValueOrBuilder getDefaultValueOrBuilder ()
A reasonable default for this attribute if the user does not supply
a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
תקציר ציבורי מחרוזת getDescription ()
Human-readable description.
string description = 4;
תקציר ציבורי com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
תקציר בוליאני ציבורי getHasMinimum ()
For type == "int", this is a minimum value. For "list(___)"
types, this is the minimum length.
bool has_minimum = 5;
תקציר ציבורי ארוך getMinimum ()
תקציר ציבורי מחרוזת getName ()
A descriptive name for the argument. May be used, e.g. by the
Python client, as a keyword argument name, and so should match
the regexp "[a-z][a-z0-9_]+".
string name = 1;
תקציר ציבורי com.google.protobuf.ByteString getNameBytes ()
A descriptive name for the argument. May be used, e.g. by the
Python client, as a keyword argument name, and so should match
the regexp "[a-z][a-z0-9_]+".
string name = 1;
תקציר ציבורי מחרוזת getType ()
One of the type names from attr_value.proto ("string", "list(string)",
"int", etc.).
string type = 2;
תקציר ציבורי com.google.protobuf.ByteString getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)",
"int", etc.).
string type = 2;
תקציר ציבורי בוליאני hasAllowedValues ()
The set of allowed values. Has type that is the "list" version
of the "type" field above (uses the "list" field of AttrValue).
If type == "type" or "list(type)" above, then the "type" field
of "allowed_values.list" has the set of allowed DataTypes.
If type == "string" or "list(string)", then the "s" field of
"allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
תקציר ציבורי בוליאני hasDefaultValue ()
A reasonable default for this attribute if the user does not supply
a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# OpDef.AttrDefOrBuilder\n\npublic static interface **OpDef.AttrDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [OpDef.AttrDef](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDef), [OpDef.AttrDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDef.Builder) |--------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| | [OpDef.AttrDef](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDef) | ``` Description of the graph-construction-time configuration of this Op. ``` | | [OpDef.AttrDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDef.Builder) | ``` Description of the graph-construction-time configuration of this Op. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) | [getAllowedValues](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getAllowedValues())() ``` The set of allowed values. ``` |\n| abstract [AttrValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValueOrBuilder) | [getAllowedValuesOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getAllowedValuesOrBuilder())() ``` The set of allowed values. ``` |\n| abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) | [getDefaultValue](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getDefaultValue())() ``` A reasonable default for this attribute if the user does not supply a value. ``` |\n| abstract [AttrValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValueOrBuilder) | [getDefaultValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getDefaultValueOrBuilder())() ``` A reasonable default for this attribute if the user does not supply a value. ``` |\n| abstract String | [getDescription](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getDescription())() ``` Human-readable description. ``` |\n| abstract com.google.protobuf.ByteString | [getDescriptionBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getDescriptionBytes())() ``` Human-readable description. ``` |\n| abstract boolean | [getHasMinimum](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getHasMinimum())() ``` For type == \"int\", this is a minimum value. ``` |\n| abstract long | [getMinimum](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getMinimum())() `int64 minimum = 6;` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getName())() ``` A descriptive name for the argument. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getNameBytes())() ``` A descriptive name for the argument. ``` |\n| abstract String | [getType](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getType())() ``` One of the type names from attr_value.proto (\"string\", \"list(string)\", \"int\", etc.). ``` |\n| abstract com.google.protobuf.ByteString | [getTypeBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#getTypeBytes())() ``` One of the type names from attr_value.proto (\"string\", \"list(string)\", \"int\", etc.). ``` |\n| abstract boolean | [hasAllowedValues](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#hasAllowedValues())() ``` The set of allowed values. ``` |\n| abstract boolean | [hasDefaultValue](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.AttrDefOrBuilder#hasDefaultValue())() ``` A reasonable default for this attribute if the user does not supply a value. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\n**getAllowedValues**\n()\n\n\u003cbr /\u003e\n\n```\n The set of allowed values. Has type that is the \"list\" version\n of the \"type\" field above (uses the \"list\" field of AttrValue).\n If type == \"type\" or \"list(type)\" above, then the \"type\" field\n of \"allowed_values.list\" has the set of allowed DataTypes.\n If type == \"string\" or \"list(string)\", then the \"s\" field of\n \"allowed_values.list\" has the set of allowed strings.\n \n```\n`.tensorflow.AttrValue allowed_values = 7;`\n\n\u003cbr /\u003e\n\n#### public abstract [AttrValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValueOrBuilder)\n**getAllowedValuesOrBuilder**\n()\n\n\u003cbr /\u003e\n\n```\n The set of allowed values. Has type that is the \"list\" version\n of the \"type\" field above (uses the \"list\" field of AttrValue).\n If type == \"type\" or \"list(type)\" above, then the \"type\" field\n of \"allowed_values.list\" has the set of allowed DataTypes.\n If type == \"string\" or \"list(string)\", then the \"s\" field of\n \"allowed_values.list\" has the set of allowed strings.\n \n```\n`.tensorflow.AttrValue allowed_values = 7;`\n\n\u003cbr /\u003e\n\n#### public abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\n**getDefaultValue**\n()\n\n\u003cbr /\u003e\n\n```\n A reasonable default for this attribute if the user does not supply\n a value. If not specified, the user must supply a value.\n \n```\n`.tensorflow.AttrValue default_value = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract [AttrValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValueOrBuilder)\n**getDefaultValueOrBuilder**\n()\n\n\u003cbr /\u003e\n\n```\n A reasonable default for this attribute if the user does not supply\n a value. If not specified, the user must supply a value.\n \n```\n`.tensorflow.AttrValue default_value = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getDescription**\n()\n\n\u003cbr /\u003e\n\n```\n Human-readable description.\n \n```\n`string description = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDescriptionBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Human-readable description.\n \n```\n`string description = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**getHasMinimum**\n()\n\n\u003cbr /\u003e\n\n```\n For type == \"int\", this is a minimum value. For \"list(___)\"\n types, this is the minimum length.\n \n```\n`bool has_minimum = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getMinimum**\n()\n\n`int64 minimum = 6;` \n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n A descriptive name for the argument. May be used, e.g. by the\n Python client, as a keyword argument name, and so should match\n the regexp \"[a-z][a-z0-9_]+\".\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n A descriptive name for the argument. May be used, e.g. by the\n Python client, as a keyword argument name, and so should match\n the regexp \"[a-z][a-z0-9_]+\".\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getType**\n()\n\n\u003cbr /\u003e\n\n```\n One of the type names from attr_value.proto (\"string\", \"list(string)\",\n \"int\", etc.).\n \n```\n`string type = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getTypeBytes**\n()\n\n\u003cbr /\u003e\n\n```\n One of the type names from attr_value.proto (\"string\", \"list(string)\",\n \"int\", etc.).\n \n```\n`string type = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**hasAllowedValues**\n()\n\n\u003cbr /\u003e\n\n```\n The set of allowed values. Has type that is the \"list\" version\n of the \"type\" field above (uses the \"list\" field of AttrValue).\n If type == \"type\" or \"list(type)\" above, then the \"type\" field\n of \"allowed_values.list\" has the set of allowed DataTypes.\n If type == \"string\" or \"list(string)\", then the \"s\" field of\n \"allowed_values.list\" has the set of allowed strings.\n \n```\n`.tensorflow.AttrValue allowed_values = 7;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**hasDefaultValue**\n()\n\n\u003cbr /\u003e\n\n```\n A reasonable default for this attribute if the user does not supply\n a value. If not specified, the user must supply a value.\n \n```\n`.tensorflow.AttrValue default_value = 3;`\n\n\u003cbr /\u003e"]]