openvino/src/common/transformations
Ivan Tikhonov cfd42bd2cb
Handle Reshape's special zero in SimplifySecondInputOfReshape (#20785) (#20820)
* Handle Reshape's special zero in SimplifySecondInputOfReshape

SimplifySecondInputOfReshape detects ShapeOf->Gather->Concat
subgraphs on Reshape's second input and replaces ShapeOf->Gather
with a Constant with zero(s). Currently it works only with Reshapes
that have special_zero set to true, but it can work for Reshapes
with special_zero == false if non-Gather inputs to Concat are Constants
and don't contain any zero.

Ticket: CVS-123434

* fix no default output

Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
2023-11-02 17:43:25 +04:00
..
include Revert Bitwise ops in PyTorch FE (#20813) 2023-11-02 13:08:55 +00:00
src Handle Reshape's special zero in SimplifySecondInputOfReshape (#20785) (#20820) 2023-11-02 17:43:25 +04:00
tests Handle Reshape's special zero in SimplifySecondInputOfReshape (#20785) (#20820) 2023-11-02 17:43:25 +04:00
CMakeLists.txt Transformations: API 2.0 transition part 4 (#20445) 2023-10-14 00:27:43 +02:00