W3cubDocs

/TensorFlow C++ 1.15

tensorflow::ops::NonMaxSuppressionV5::Attrs

#include <image_ops.h>

Optional attribute setters for NonMaxSuppressionV5.

Summary

Public attributes
pad_to_max_output_size_ = false
bool
Public functions
PadToMaxOutputSize(bool x)
TF_MUST_USE_RESULT Attrs
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

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/non-max-suppression-v5/attrs