openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[Core] Add MaxPool-14 and AvgPool-14

Open p-wysocki opened this issue 1 year ago • 1 comments

Details:

  • Reference and Core implementation of MaxPool-14 and AvgPool-14
  • They both introduce a new ceil mode: ov::op::RoundingType::CEIL_TORCH
  • The new ceiling mode does not allow the last pooling in a Dimension to start in the padding area
  • No changes to reference implementation were necessary
  • The only logic change is in src/core/shape_inference/include/pooling_shape_inference_util.hpp

Related PRs

Tickets:

  • 131961

Context

https://github.com/openvinotoolkit/openvino/issues/18731

p-wysocki avatar Feb 12 '24 16:02 p-wysocki

Do we have a specification for MaxPool-14 and AvgPool-14?

This is a PR I've been using to learn how to add ops, it's got everything in it. I'm starting to divide it into smaller PRs - specification can be found under https://github.com/openvinotoolkit/openvino/pull/22930.

p-wysocki avatar Feb 19 '24 15:02 p-wysocki