openvino
openvino copied to clipboard
[Transformations] Add downgrade transformation for `AvgPool-14` and `MaxPool-14`
Details
- Add downgrade transformation
AvgPool-14->AvgPool-1 - Add downgrade transformation
MaxPool-14->MaxPool-8 - This PR unblocks PT FE extension
Related PRs
- https://github.com/openvinotoolkit/openvino/pull/22796
- https://github.com/openvinotoolkit/openvino/pull/22930
- https://github.com/openvinotoolkit/openvino/pull/22966
- https://github.com/openvinotoolkit/openvino/pull/23027
- https://github.com/openvinotoolkit/openvino/pull/23582
Tickets:
- 133918
Core implementation has been merged, this PR now blocks PT FE extension. cc @mitruska @praasz
Should an edge case of dynamic shapes + ov::op::RoundingType::CEIL_TORCH downgrade be supported? It requires quite a complex subgraph, it's hard to tell how frequent that pattern will be. cc @praasz @mitruska
Should an edge case of dynamic shapes +
ov::op::RoundingType::CEIL_TORCHdowngrade be supported? It requires quite a complex subgraph, it's hard to tell how frequent that pattern will be. cc @praasz @mitruska
There is no such need if the dynamic shape case was not supported by the subgraph produced by the frontend (considered as work-around solution). The goal of this decomposition is to ensure backward compatibility, during plugins migration to the newer version of the Max/AvgPool operation.
@praasz @mitruska could you please rereview?