จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: CombinedNonMaxSuppression:: คุณสมบัติ
#include <image_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ CombinedNonMaxSuppression
สรุป
งานสาธารณะ |
---|
ClipBoxes (bool x) | หากเป็นจริง สมมติว่าพิกัดของกล่องอยู่ระหว่าง [0, 1] และตัดกล่องเอาต์พุตหากเกิน [0, 1] |
PadPerClass (bool x) | หากเป็นเท็จ กล่องเอาต์พุต คะแนน และคลาสจะถูกเสริม/ตัดเป็น max_total_size |
คุณลักษณะสาธารณะ
คลิป_กล่อง_
bool tensorflow::ops::CombinedNonMaxSuppression::Attrs::clip_boxes_ = true
pad_per_class_
bool tensorflow::ops::CombinedNonMaxSuppression::Attrs::pad_per_class_ = false
งานสาธารณะ
คลิปบ็อกซ์
TF_MUST_USE_RESULT Attrs tensorflow::ops::CombinedNonMaxSuppression::Attrs::ClipBoxes(
bool x
)
หากเป็นจริง สมมติว่าพิกัดของกล่องอยู่ระหว่าง [0, 1] และตัดกล่องเอาต์พุตหากเกิน [0, 1]
ถ้าเป็นเท็จ อย่าทำการตัดและส่งออกพิกัดของกล่องตามที่เป็นอยู่
ค่าเริ่มต้นเป็นจริง
แพดเพอร์คลาส
TF_MUST_USE_RESULT Attrs tensorflow::ops::CombinedNonMaxSuppression::Attrs::PadPerClass(
bool x
)
หากเป็นเท็จ กล่องเอาต์พุต คะแนน และคลาสจะถูกเสริม/ตัดเป็น max_total_size
หากเป็นจริง กล่องเอาต์พุต คะแนน และคลาสที่มี nmsed จะถูกเสริมให้มีความยาว max_size_per_class
* num_classes
เว้นแต่จะเกิน max_total_size
ซึ่งในกรณีนี้จะถูกตัดเป็น max_total_size
ค่าเริ่มต้นเป็นเท็จ
ค่าเริ่มต้นเป็นเท็จ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# tensorflow::ops::CombinedNonMaxSuppression::Attrs Struct Reference\n\ntensorflow::ops::CombinedNonMaxSuppression::Attrs\n=================================================\n\n`#include \u003cimage_ops.h\u003e`\n\nOptional attribute setters for [CombinedNonMaxSuppression](/versions/r2.0/api_docs/cc/class/tensorflow/ops/combined-non-max-suppression#classtensorflow_1_1ops_1_1_combined_non_max_suppression).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------------------|--------|\n| [clip_boxes_](#structtensorflow_1_1ops_1_1_combined_non_max_suppression_1_1_attrs_1ad7e61b94fc93be4f425d60c6720079fa)` = true` | `bool` |\n| [pad_per_class_](#structtensorflow_1_1ops_1_1_combined_non_max_suppression_1_1_attrs_1aee9d101891a954cc2a915bf34c833c30)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ClipBoxes](#structtensorflow_1_1ops_1_1_combined_non_max_suppression_1_1_attrs_1a56ed657f3c5601271e4af26c6b5aa640)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/combined-non-max-suppression/attrs#structtensorflow_1_1ops_1_1_combined_non_max_suppression_1_1_attrs) If true, assume the box coordinates are between \\[0, 1\\] and clip the output boxes if they fall beyond \\[0, 1\\]. |\n| [PadPerClass](#structtensorflow_1_1ops_1_1_combined_non_max_suppression_1_1_attrs_1afd666c4521f060268a85ef59ec6aeb9c)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/combined-non-max-suppression/attrs#structtensorflow_1_1ops_1_1_combined_non_max_suppression_1_1_attrs) If false, the output nmsed boxes, scores and classes are padded/clipped to `max_total_size`. |\n\nPublic attributes\n-----------------\n\n### clip_boxes_\n\n```scdoc\nbool tensorflow::ops::CombinedNonMaxSuppression::Attrs::clip_boxes_ = true\n``` \n\n### pad_per_class_\n\n```scdoc\nbool tensorflow::ops::CombinedNonMaxSuppression::Attrs::pad_per_class_ = false\n``` \n\nPublic functions\n----------------\n\n### ClipBoxes\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::CombinedNonMaxSuppression::Attrs::ClipBoxes(\n bool x\n)\n``` \nIf true, assume the box coordinates are between \\[0, 1\\] and clip the output boxes if they fall beyond \\[0, 1\\].\n\nIf false, do not do clipping and output the box coordinates as it is.\n\nDefaults to true \n\n### PadPerClass\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::CombinedNonMaxSuppression::Attrs::PadPerClass(\n bool x\n)\n``` \nIf false, the output nmsed boxes, scores and classes are padded/clipped to `max_total_size`.\n\nIf true, the output nmsed boxes, scores and classes are padded to be of length `max_size_per_class`\\*`num_classes`, unless it exceeds `max_total_size` in which case it is clipped to `max_total_size`. Defaults to false.\n\nDefaults to false"]]