Transformations for hsigmoid op (#2531)
authoriliya mironov <iliya.mironov@intel.com>
Fri, 23 Oct 2020 09:35:56 +0000 (12:35 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Oct 2020 09:35:56 +0000 (12:35 +0300)
commit0a59be6f1ec0d2d3f186121f94f2338d346e2d8f
tree813bf2b97dd34ccfb885f5aa02f5511103cc68fa
parent85b06835aa86e497f82af39a8deb5f49f899f212
Transformations for hsigmoid op (#2531)

* Add hsigmoid op

* Add tests for hsigmoid

* Add fusion hsigmoid

* Add unit tests for fuse hsigmoid

* Add python api for hsigmoid. Update opset 5

* Update opset5 file

* Add hsigmoid decomposition transformation

* fix

* Move transformations for hsigmoid

* Hot fix

* Fix unit tests

* fix unit tests

* Fix unit test

* Fix code style

* Reverse changes

* Add includes for hsigmoid transformations

* Enable in cldnn

* Refactoring hsigmoid fusion

* Move hsigmoid transforms patterns to cpp file

* Reverse hsigmoid fusion refactoring

* Fix according to code review

* Refactoring transformation

* Hot fix
15 files changed:
inference-engine/src/cldnn_engine/cldnn_engine.cpp
inference-engine/src/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp [new file with mode: 0644]
inference-engine/src/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp [new file with mode: 0644]
inference-engine/src/transformations/src/transformations/common_optimizations/common_optimizations.cpp
inference-engine/src/transformations/src/transformations/common_optimizations/hsigmoid_fusion.cpp [new file with mode: 0644]
inference-engine/src/transformations/src/transformations/op_conversions/hsigmoid_decomposition.cpp [new file with mode: 0644]
inference-engine/tests/functional/inference_engine/transformations/hsigmoid_decomposition_test.cpp [new file with mode: 0644]
inference-engine/tests/functional/inference_engine/transformations/hsigmoid_fusion_test.cpp [new file with mode: 0644]
ngraph/core/include/ngraph/op/hsigmoid.hpp
ngraph/python/src/ngraph/__init__.py
ngraph/python/src/ngraph/opset5/__init__.py
ngraph/python/src/ngraph/opset5/ops.py
ngraph/python/tests/test_ngraph/test_ops_unary.py
ngraph/test/CMakeLists.txt
ngraph/test/type_prop/hsigmoid.cpp [new file with mode: 0644]