Class ov::op::v4::Proposal

class Proposal : public ov::op::v0::Proposal

Proposal operation.

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.

  • 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.