Missed TensorFlow World? Check out the recap. Learn more

tensorflow::ops::NonMaxSuppressionV4::Attrs

#include <image_ops.h>

Optional attribute setters for NonMaxSuppressionV4.

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::NonMaxSuppressionV4::Attrs::pad_to_max_output_size_ = false

Public functions

PadToMaxOutputSize

TF_MUST_USE_RESULT Attrs tensorflow::ops::NonMaxSuppressionV4::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