Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::NonMaxSuppressionV5::Attrs
#include <image_ops.h>
Optional attribute setters for NonMaxSuppressionV5.
Summary
Public functions
|
PadToMaxOutputSize(bool x)
|
If true, the output selected_indices is padded to be of length max_output_size .
|
Public attributes
pad_to_max_output_size_
bool tensorflow::ops::NonMaxSuppressionV5::Attrs::pad_to_max_output_size_ = false
Public functions
PadToMaxOutputSize
TF_MUST_USE_RESULT Attrs tensorflow::ops::NonMaxSuppressionV5::Attrs::PadToMaxOutputSize(
bool x
)
If true, the output selected_indices
is padded to be of length max_output_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.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::NonMaxSuppressionV5::Attrs Struct Reference\n\ntensorflow::ops::NonMaxSuppressionV5::Attrs\n===========================================\n\n`#include \u003cimage_ops.h\u003e`\n\nOptional attribute setters for [NonMaxSuppressionV5](/versions/r1.15/api_docs/cc/class/tensorflow/ops/non-max-suppression-v5#classtensorflow_1_1ops_1_1_non_max_suppression_v5).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------------|--------|\n| [pad_to_max_output_size_](#structtensorflow_1_1ops_1_1_non_max_suppression_v5_1_1_attrs_1afbfb173e3952c05c73208fe81e6aa91f)` = false` | `bool` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PadToMaxOutputSize](#structtensorflow_1_1ops_1_1_non_max_suppression_v5_1_1_attrs_1acee802376c3d8847d7c7cf2afede2cd6)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/non-max-suppression-v5/attrs#structtensorflow_1_1ops_1_1_non_max_suppression_v5_1_1_attrs) If true, the output `selected_indices` is padded to be of length `max_output_size`. |\n\nPublic attributes\n-----------------\n\n### pad_to_max_output_size_\n\n```scdoc\nbool tensorflow::ops::NonMaxSuppressionV5::Attrs::pad_to_max_output_size_ = false\n``` \n\nPublic functions\n----------------\n\n### PadToMaxOutputSize\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::NonMaxSuppressionV5::Attrs::PadToMaxOutputSize(\n bool x\n)\n``` \nIf true, the output `selected_indices` is padded to be of length `max_output_size`.\n\nDefaults to false.\n\nDefaults to false"]]