7 #include "ngraph/op/op.hpp"
32 float nms_thresh = 0.0f;
33 size_t feat_stride = 1;
35 std::vector<float> ratio;
36 std::vector<float> scale;
37 bool clip_before_nms =
true;
38 bool clip_after_nms =
false;
39 bool normalize =
false;
40 float box_size_scale = 1.0f;
41 float box_coordinate_scale = 1.0f;
42 std::string framework;
43 bool infer_probs =
false;
51 NGRAPH_RTTI_DECLARATION;
65 virtual std::shared_ptr<Node>
66 clone_with_new_inputs(
const OutputVector& new_args)
const override;
80 NGRAPH_RTTI_DECLARATION;
94 virtual std::shared_ptr<Node>
95 clone_with_new_inputs(
const OutputVector& new_args)
const override;
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
Definition: proposal.hpp:49
Proposal(const Output< Node > &class_probs, const Output< Node > &bbox_deltas, const Output< Node > &image_shape, const ProposalAttrs &attrs)
Constructs a Proposal operation.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
Definition: proposal.hpp:78
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
Proposal(const Output< Node > &class_probs, const Output< Node > &bbox_deltas, const Output< Node > &image_shape, const ProposalAttrs &attrs)
Constructs a Proposal operation.
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16
Definition: proposal.hpp:28