TI and Sequences related transformations: transition from cnn to ngraph versions (#2927)

* sequences to ti transformations, support for seq_lengths input, update reference implemetations, add new tests

* fix python api, update sequences to ti transformation

* transition from cnn to ngraph transformations for cpu, gpu, vpu plugins

* fix convert_ti_to_sequence transformation

* fix naming issue in unroll transformation

* test pure TensorIterator in vpu plugin

* fix sequences to ti transformation

* Update sequences to TI transformation: fix reverse sequence support

* update single layer tests, fix TI reference impl, fix Sequences to TI transformations

* ngraph code style

* fix build

* fix ngraph python api

* resolver review comments, refactoring

* revert vpu changes

* disable/fix tests

* refactoring

* Resolve review remarks

* optimization of LSTMSeq -> LSTMSeq IE: remove unnecessary Transpose ops

* Refactoring of transformation pipeline in cpu and gpu plugins, align GRU/RNN -> GRU/RNN IE with LSTM -> LSTM IE

* update TensorIterator tests, refactoring

* fix typo

* Fix unit tests, delete unnecessary callbacks

* Refactoring: delete commented code

* Add FullyConnected to skipConstInfer list for legacy ConstFolding

* disable legacy cnn unit tests

* delete xfail

* fix for backward compatibility with opset1::LSTMCell

* delete xfail

* fix build, remove Reshape layer from skipConstInfer list
This commit is contained in:
Ivan Tikhonov
2020-11-17 12:38:22 +03:00
committed by GitHub
parent cfe143fd33
commit ea52dd2642
28 changed files with 413 additions and 210 deletions

View File

@@ -23,7 +23,6 @@ from tests import (xfail_issue_40957,
xfail_issue_34327,
xfail_issue_36485,
xfail_issue_36486,
xfail_issue_34314,
xfail_issue_36487)
@@ -536,7 +535,6 @@ def test_mvn_operator():
assert np.allclose(result, expected)
@xfail_issue_34314
def test_space_to_depth_operator():
runtime = get_runtime()