Super smart reshape: HC Reshape to 2D followed by MatMul (#2183)
authorEvgenya Stepyreva <evgenya.stepyreva@intel.com>
Mon, 14 Sep 2020 10:45:27 +0000 (13:45 +0300)
committerGitHub <noreply@github.com>
Mon, 14 Sep 2020 10:45:27 +0000 (13:45 +0300)
commit75601e62ed1d2015ae3572f2c6175a07b163cc32
tree62883dd12abb761edf15800737f9ee6e8c62fb2c
parentf84a6d97ace26b75ae9d852525a997cbaba32e6a
Super smart reshape: HC Reshape to 2D followed by MatMul (#2183)

* Initial commit

* [SSR] Reshape(2D)->MatMul constrain relaxation

* Moved common pattern mechanics to the common function

* Moving SmartReshape to CNNNetworkNgraphImpl ctors

* Review comment

* Tests
inference-engine/src/inference_engine/cnn_network_ngraph_impl.cpp
inference-engine/src/transformations/include/transformations/smart_reshape/reshape_with_hc_output.hpp [new file with mode: 0644]
inference-engine/src/transformations/include/transformations/smart_reshape/smart_reshape.hpp [new file with mode: 0644]
inference-engine/src/transformations/include/transformations/smart_reshape/utils.hpp [new file with mode: 0644]
inference-engine/src/transformations/src/transformations/smart_reshape/reshape_with_hc_output.cpp [new file with mode: 0644]
inference-engine/src/transformations/src/transformations/smart_reshape/smart_reshape.cpp [new file with mode: 0644]
inference-engine/tests/functional/inference_engine/cnn_network/smart_reshape_tests.cpp [new file with mode: 0644]