Class ov::op::v9::MulticlassNms

class MulticlassNms : public ov::op::util::MulticlassNmsBase

MulticlassNms operation.

Public Functions

MulticlassNms() = default

Constructs a conversion operation.

MulticlassNms(const Output<Node> &boxes, const Output<Node> &scores, const Attributes &attrs)

Constructs a MulticlassNms operation.

Parameters
  • boxesNode producing the box coordinates

  • scoresNode producing the box scores

  • attrs – Attributes of the operation

MulticlassNms(const Output<Node> &boxes, const Output<Node> &scores, const Output<Node> &roisnum, const Attributes &attrs)

Constructs a MulticlassNms operation.

Parameters
  • boxesNode producing the box coordinates

  • scoresNode producing the box scores

  • roisnumNode producing the number of rois

  • attrs – Attributes of the operation

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.