openvino
openvino copied to clipboard
[Core] Add MaxPool-14 and AvgPool-14
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
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.