จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: MaxPoolWithArgmax:: คุณสมบัติ
#include <nn_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ MaxPoolWithArgmax
สรุป
งานสาธารณะ |
---|
IncludeBatchInIndex (bool x) | ว่าจะรวมมิติข้อมูลแบทช์ในดัชนีที่ราบเรียบของ argmax หรือไม่ |
Targmax (DataType x) | ค่าเริ่มต้นเป็น DT_INT64 |
คุณลักษณะสาธารณะ
ทาร์กแม็กซ์_
DataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64
รวม_batch_in_index_
bool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false
งานสาธารณะ
รวม BatchInIndex
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
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 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/r2.2/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/r2.2/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/r2.2/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."]]