7 #include "ngraph/op/op.hpp"
16 int background_label_id = 0;
18 bool variance_encoded_in_target =
false;
19 std::vector<int> keep_top_k;
20 std::string code_type = std::string{
"caffe.PriorBoxParameter.CORNER"};
21 bool share_location =
true;
23 float confidence_threshold = 0;
24 bool clip_after_nms =
false;
25 bool clip_before_nms =
false;
26 bool decrease_label_id =
false;
27 bool normalized =
false;
28 size_t input_height = 1;
29 size_t input_width = 1;
30 float objectness_score = 0;
40 static constexpr
NodeTypeInfo type_info{
"DetectionOutput", 0};
71 virtual std::shared_ptr<Node>
72 clone_with_new_inputs(
const OutputVector& new_args)
const override;
81 using v0::DetectionOutput;
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:59
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Root of all actual ops.
Definition: op.hpp:17
Layer which performs non-max suppression to generate detection output using location and confidence p...
Definition: detection_output.hpp:38
DetectionOutput(const Output< Node > &box_logits, const Output< Node > &class_preds, const Output< Node > &proposals, const Output< Node > &aux_class_preds, const Output< Node > &aux_box_preds, const DetectionOutputAttrs &attrs)
Constructs a DetectionOutput operation.
DetectionOutput(const Output< Node > &box_logits, const Output< Node > &class_preds, const Output< Node > &proposals, const DetectionOutputAttrs &attrs)
Constructs a DetectionOutput operation.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
const NodeTypeInfo & get_type_info() const override
Definition: detection_output.hpp:41
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16
Definition: detection_output.hpp:14