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 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, 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"]]