openvino/inference-engine
Jozef Daniecki c6fc247f99
Add nGraph function serialization. (#2579)
* Add nGraph function serialization.

* Turn of execption throwing on failed visitation.

* CNNNetworkNgrapImpl serialize also support fallback to v7 serialization.

* Add error message for legacy IR not implemented case.

* Store tests models in files.

* Add tests with multiple layers.

* Style aligned to IE rules.

* Add visit_attributes to ExecutionNode.

* Layer version XML atribute implementation.

* Fix opset atribute creation for ExecutionGraph. Refactoring.

* Add missing header.

* Move opset collecting to private scope.

* Add missing header.

* Add test wit multiple oututs. Fix found issues: constant name, result
outputs.

* Move serialization to transformation library.

* Add versioning to serialization transformation.

* Add functional tests with ONNX importer path.

* Add nodes unique name checking and correction.

* Add checks for unsuported cases: dynamic shapes & GenericIE node

* General refactoring.

* Add comment describing type name translations.

* Add serialization deterministicity tests.

It's needed to ensure that subsequent calls to serialize() on the same function are giving the same results.

* Serialization in CNNNetworkNGraphImpl::serialize executed via pass::Manager.

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* NGRAPH_CHECK messages refactored.

* Performance and const correctness refactoring.

* Style formatting applied.

* Code simplifaction.

* Serialize transformation documentation refactoring.

* Changed compare_function() to throw on functions with multiple outputs.

Before this check was implemented with assert which means it was working
only in debug builds. Now it is working also in release build.

* Adjust tests to new compare_functions() behaviour.

* Replace cmakes add_definitions with more modern target_compile_definitions

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2020-10-27 06:57:48 +03:00
..
cmake [IE][VPU][Myriad]: Mish layer optimization (#2648) 2020-10-26 10:50:37 +03:00
ie_bridges Added onnx support for C samples (#2747) 2020-10-23 21:47:01 +03:00
include Make MVN behaviour deterministic (#2458) 2020-10-26 21:01:38 +03:00
samples Fixed ngraph sample logical errors (#2600) 2020-10-26 15:36:49 +03:00
scripts Shellcheck update (#2557) 2020-10-09 13:25:53 +03:00
src Add nGraph function serialization. (#2579) 2020-10-27 06:57:48 +03:00
tests Add nGraph function serialization. (#2579) 2020-10-27 06:57:48 +03:00
tests_deprecated Reorganize LPT: (#2803) 2020-10-26 14:10:17 +03:00
thirdparty [IE CLDNN] Improve LO rules for expected FQ format (#2790) 2020-10-26 20:36:00 +03:00
tools [IE TOOLS] Support of models with output port in names (#2594) 2020-10-12 13:52:49 +03:00
.editorconfig publish master branch snapshot, revision 49482ae3bea0cbaa07474f86f36db11943142687 2020-05-13 21:12:22 +03:00
CMakeLists.txt Openvino extra module adding - refactored (#2754) 2020-10-23 08:54:48 +03:00