Class ov::op::v1::MaxPool#

class MaxPool : public ov::op::util::MaxPoolBase#

Batched max pooling operation.

Public Functions

MaxPool() = default#

Constructs a batched max pooling operation.

MaxPool(const Output<Node> &arg, const Strides &strides, const Shape &pads_begin, const Shape &pads_end, const Shape &kernel, const op::RoundingType rounding_type = op::RoundingType::FLOOR, const PadType auto_pad = op::PadType::EXPLICIT)#

Constructs a batched max pooling operation.

  • arg – The node producing the input data batch tensor.

  • strides – The strides.

  • pads_begin – The beginning of padding shape.

  • pads_end – The end of padding shape.

  • kernel – The kernel shape.

  • rounding_type – Whether to use ceiling or floor rounding type while computing output shape.

  • auto_pad – The pad type for automatically computing padding sizes.

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.

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.