Class ov::pass::PadFusionAvgPool#

class PadFusionAvgPool : public ov::pass::MatcherPass#

PadFusion transformation replaces following graph: Pad -> AvgPool to AvgPool, under following conditions.

  • pad mode is op::PadMode::CONSTANT

  • pad value is 0

  • exclude_pad in AvgPool is set to false or pads_begin, pads_end are set to zero