संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: मैक्सपूलविथआर्गमैक्स:: Attrs
#include <nn_ops.h>
MaxPoolWithArgmax के लिए वैकल्पिक विशेषता सेटर्स।
सारांश
सार्वजनिक समारोह |
---|
IncludeBatchInIndex (bool x) | क्या argmax के चपटे सूचकांक में बैच आयाम शामिल करना है। |
Targmax (DataType x) | डिफ़ॉल्ट DT_INT64 है। |
सार्वजनिक गुण
टार्गमैक्स_
DataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64
include_batch_in_index_
bool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false
सार्वजनिक समारोह
बैचइनइंडेक्स शामिल करें
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::IncludeBatchInIndex(
bool x
)
क्या argmax
के चपटे सूचकांक में बैच आयाम शामिल करना है।
डिफ़ॉल्ट से असत्य
टार्गमैक्स
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax(
DataType x
)
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::MaxPoolWithArgmax::Attrs Struct Reference\n\ntensorflow::ops::MaxPoolWithArgmax::Attrs\n=========================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [MaxPoolWithArgmax](/versions/r1.15/api_docs/cc/class/tensorflow/ops/max-pool-with-argmax#classtensorflow_1_1ops_1_1_max_pool_with_argmax).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------------|------------|\n| [Targmax_](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a88f1f25def0bcad5ffb5f00653b83159)` = DT_INT64` | `DataType` |\n| [include_batch_in_index_](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a81e26016c695bd0e1b5c06660d1830b7)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IncludeBatchInIndex](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a8a5fb21c00b703a7715971775a9d9a7f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/max-pool-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs) Whether to include batch dimension in flattened index of `argmax`. |\n| [Targmax](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a74d7ddeb549b848bb1a3973df5747df9)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/max-pool-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs) Defaults to DT_INT64. |\n\nPublic attributes\n-----------------\n\n### Targmax_\n\n```scdoc\nDataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64\n``` \n\n### include_batch_in_index_\n\n```scdoc\nbool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false\n``` \n\nPublic functions\n----------------\n\n### IncludeBatchInIndex\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::IncludeBatchInIndex(\n bool x\n)\n``` \nWhether to include batch dimension in flattened index of `argmax`.\n\nDefaults to false \n\n### Targmax\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax(\n DataType x\n)\n``` \nDefaults to DT_INT64."]]