Class ov::op::v0::Proposal#

class Proposal : public ov::op::Op#

Proposal operation.

Subclassed by ov::op::v4::Proposal

Unnamed Group

void set_attrs(Attributes &&attrs)#

Set the Proposal operator attributes.

Parameters:

attrsAttributes to be set.

Public Functions

Proposal(const Output<Node> &class_probs, const Output<Node> &bbox_deltas, const Output<Node> &image_shape, const Attributes &attrs)#

Constructs a Proposal operation.

Parameters:
  • class_probs – Class probability scores

  • bbox_deltas – Prediction of bounding box deltas

  • image_shapeShape of image

  • attrsProposal op attributes

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.

struct Attributes#