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

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

Proposal operation.

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

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_shape – Shape of image

  • attrs – Proposal 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.

void set_attrs(Attributes attrs)#

Set the Proposal operator attributes.

Parameters:

attrs – Attributes to be set.

struct Attributes#