Class ov::op::v9::GenerateProposals#

class GenerateProposals : public ov::op::Op#

An operation GenerateProposals computes ROIs and their scores based on input data.

Subclassed by ov::op::internal::GenerateProposalsIEInternal

Public Functions

GenerateProposals(const Output<Node> &im_info, const Output<Node> &anchors, const Output<Node> &deltas, const Output<Node> &scores, const Attributes &attrs, const element::Type &roi_num_type = element::i64)#

Constructs a GenerateProposals operation.

Parameters:
  • im_infoInput image info

  • anchorsInput anchors

  • deltasInput deltas

  • scoresInput scores

  • attrs – Operation attributes

  • roi_num_type – roi_num type

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#

Structure that specifies attributes of the operation.