struct ov::op::v8::MatrixNms::Attributes¶
Structure that specifies attributes of the operation.
#include <matrix_nms.hpp>
struct Attributes
{
// fields
SortResultType sort_result_type = SortResultType::NONE;
bool sort_result_across_batch = false;
ov::element::Type output_type = ov::element::i64;
float score_threshold = 0.0f;
int nms_top_k = -1;
int keep_top_k = -1;
int background_class = -1;
DecayFunction decay_function = DecayFunction::LINEAR;
float gaussian_sigma = 2.0f;
float post_threshold = 0.0f;
bool normalized = true;
// construction
Attributes();
Attributes(
op::v8::MatrixNms::SortResultType sort_result_type,
bool sort_result_across_batch,
ov::element::Type output_type,
float score_threshold,
int nms_top_k,
int keep_top_k,
int background_class,
op::v8::MatrixNms::DecayFunction decay_function,
float gaussian_sigma,
float post_threshold,
bool normalized
);
};