19 #include "ngraph/op/op.hpp"
44 float nms_thresh = 0.0f;
45 size_t feat_stride = 1;
47 std::vector<float> ratio;
48 std::vector<float> scale;
49 bool clip_before_nms =
true;
50 bool clip_after_nms =
false;
51 bool normalize =
false;
52 float box_size_scale = 1.0f;
53 float box_coordinate_scale = 1.0f;
54 std::string framework;
55 bool infer_probs =
false;
63 NGRAPH_RTTI_DECLARATION;
77 virtual std::shared_ptr<Node>
78 clone_with_new_inputs(
const OutputVector& new_args)
const override;
92 NGRAPH_RTTI_DECLARATION;
106 virtual std::shared_ptr<Node>
107 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:71
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Root of all actual ops.
Definition: op.hpp:29
Definition: proposal.hpp:61
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:90
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:28
Definition: proposal.hpp:40