Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::CombinedNonMaxSuppression::Attrs
#include <image_ops.h>
Optional attribute setters for CombinedNonMaxSuppression.
Summary
Public functions
|
ClipBoxes(bool x)
|
If true, assume the box coordinates are between [0, 1] and clip the output boxes if they fall beyond [0, 1].
|
PadPerClass(bool x)
|
If false, the output nmsed boxes, scores and classes are padded/clipped to max_total_size .
|
Public attributes
clip_boxes_
bool tensorflow::ops::CombinedNonMaxSuppression::Attrs::clip_boxes_ = true
pad_per_class_
bool tensorflow::ops::CombinedNonMaxSuppression::Attrs::pad_per_class_ = false
Public functions
ClipBoxes
TF_MUST_USE_RESULT Attrs tensorflow::ops::CombinedNonMaxSuppression::Attrs::ClipBoxes(
bool x
)
If true, assume the box coordinates are between [0, 1] and clip the output boxes if they fall beyond [0, 1].
If false, do not do clipping and output the box coordinates as it is.
Defaults to true
PadPerClass
TF_MUST_USE_RESULT Attrs tensorflow::ops::CombinedNonMaxSuppression::Attrs::PadPerClass(
bool x
)
If false, the output nmsed boxes, scores and classes are padded/clipped to max_total_size
.
If 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.
Defaults to false
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 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](/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](/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](/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"]]