Align with the specification SpaceToBatch, BatchToSpace ops (#1140)
authorIvan Tikhonov <ivan.tikhonov@intel.com>
Tue, 4 Aug 2020 09:35:24 +0000 (12:35 +0300)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 09:35:24 +0000 (12:35 +0300)
commit80b6bf28c214e139f33568f9b2ffc456366ac470
treef50a5a6ca83b1afc2f2d6a387e9db7d495937213
parentbb408f2ca9a33bbd989d30a9f86402928c853072
Align with the specification SpaceToBatch, BatchToSpace ops (#1140)

* Aligned SpaceToBatch/BatchToSpace with the spec, converted from fused_op to op

* Implemented transformation to decompose STB/BTS

* Added unit tests

* Added new mode (INTERPRETER_TRANSFOMATIONS) for functional tests
16 files changed:
inference-engine/src/transformations/include/transformations/convert_batch_to_space.hpp
inference-engine/src/transformations/include/transformations/convert_space_to_batch.hpp
inference-engine/src/transformations/src/transformations/convert_batch_to_space.cpp
inference-engine/src/transformations/src/transformations/convert_space_to_batch.cpp
inference-engine/tests/functional/inference_engine/transformations/batch_to_space_decomposition_test.cpp [new file with mode: 0644]
inference-engine/tests/functional/plugin/shared/src/single_layer_tests/batch_to_space.cpp
inference-engine/tests/functional/plugin/shared/src/single_layer_tests/space_to_batch.cpp
inference-engine/tests/ie_test_utils/functional_test_utils/layer_test_utils.cpp
inference-engine/tests/ie_test_utils/functional_test_utils/layer_test_utils.hpp
ngraph/src/ngraph/CMakeLists.txt
ngraph/src/ngraph/op/batch_to_space.cpp [new file with mode: 0644]
ngraph/src/ngraph/op/batch_to_space.hpp [moved from ngraph/src/ngraph/op/fused/batch_to_space.hpp with 93% similarity]
ngraph/src/ngraph/op/space_to_batch.cpp [new file with mode: 0644]
ngraph/src/ngraph/op/space_to_batch.hpp [moved from ngraph/src/ngraph/op/fused/space_to_batch.hpp with 93% similarity]
ngraph/src/ngraph/ops.hpp
ngraph/test/backend/fused_op.in.cpp