Low Latency transformation (#2869)
authorIvan Tikhonov <ivan.tikhonov@intel.com>
Fri, 6 Nov 2020 11:11:11 +0000 (14:11 +0300)
committerGitHub <noreply@github.com>
Fri, 6 Nov 2020 11:11:11 +0000 (14:11 +0300)
commit1c3208ffe0888ee720ba21bfe80d3ed3a84f2796
tree01d6663c9edc8a3757590f805ca6ac2878a8003e
parentc97db3f4de024fbf2bf387846e2856ec2e858c02
Low Latency transformation (#2869)

* initial draft of adding sinks to ngraph::Function

* style fixes

* code style fixes

* code style fixes

* code style fix

* review fix+build fix

* code style fix

* fix build

* API changed according to latest discussion

* review fixes

* review fixes + tests

* initial draft of adding sinks to ngraph::Function

* style fixes

* code style fixes

* code style fixes

* code style fix

* review fix+build fix

* code style fix

* fix build

* API changed according to latest discussion

* review fixes

* review fixes + tests

* added 1 more ctor

* style fixes

* used new api in ir parser

* fixed build

* update low latency transformation, fix unroll transformation, add unit tests, modify subgraph tests

* fix low latency transformation

* Update low latency transformation, unit and sub-graph tests

* update LowLatency transformation and tests

* ngraph codestyle

* fix build, update description

* resolve review remarks

Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
24 files changed:
inference-engine/include/ie_transformations.hpp [new file with mode: 0644]
inference-engine/include/inference_engine.hpp
inference-engine/src/gna_plugin/CMakeLists.txt
inference-engine/src/gna_plugin/gna_graph_compiler.cpp
inference-engine/src/gna_plugin/gna_plugin.cpp
inference-engine/src/inference_engine/ie_transformations.cpp [new file with mode: 0644]
inference-engine/src/mkldnn_plugin/mkldnn_plugin.cpp
inference-engine/src/transformations/include/transformations/common_optimizations/low_latency.hpp [new file with mode: 0644]
inference-engine/src/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp
inference-engine/src/transformations/src/transformations/control_flow/unroll_tensor_iterator.cpp
inference-engine/tests/functional/inference_engine/transformations/low_latency_test.cpp [new file with mode: 0644]
inference-engine/tests/functional/plugin/shared/include/subgraph_tests/basic_lstm.hpp
inference-engine/tests/functional/plugin/shared/include/subgraph_tests/memory_LSTMCell.hpp
inference-engine/tests/functional/plugin/shared/include/subgraph_tests/multiple_LSTMCell.hpp
inference-engine/tests/functional/plugin/shared/src/subgraph_tests/basic_lstm.cpp
inference-engine/tests/functional/plugin/shared/src/subgraph_tests/memory_LSTMCell.cpp
inference-engine/tests/functional/plugin/shared/src/subgraph_tests/multiple_LSTMCell.cpp
inference-engine/tests/ie_test_utils/common_test_utils/ngraph_test_utils.cpp
ngraph/core/include/ngraph/function.hpp
ngraph/core/include/ngraph/op/sink.hpp
ngraph/core/include/ngraph/pass/low_latency.hpp [new file with mode: 0644]
ngraph/core/src/op/loop.cpp
ngraph/core/src/op/tensor_iterator.cpp
ngraph/core/src/pass/low_latency.cpp [new file with mode: 0644]