* Updated conversion of TF OD API 2.4 SSD models
* Fixed issue when more Conv2D nodes were selected for weights permutation when converting TF OD API models
* Code style fixes
* Fixed code comments
* add priors to loader and counts transformation
* fixes in select insertion for case with context gathering - LSTM - context gathering
fix for edge parallel to ReadValue
extend counts option to case of priors inside mdl model file
* fixed tests
* fixed typo
* fixed issue with input names
* fix priors loading + comments
* fix e2e test: error with not found transformation
* print debug info for dependency graph - should be reverted
* should be reverted: debug commit
* Revert "fix e2e test: error with not found transformation"
This reverts commit 8320fa99bf.
* revert debug commits
* fixes after review
* review fixes
* review change
* review changes
* [MO] Fix showing graceful error message when no ngraph case
Move frontend-related imports inside appropriate functions
And use try/except if import fails to show graceful error message
* Revert "[MO] Fix showing graceful error message when no ngraph case"
This reverts commit 72d52bd946.
* Print error before running of subprocess if IE or nGraph Python API is not found
* Added pytest to requirements_dev.txt
* Fixed review comment
* [NG Frontend] Introduce classes and macros for Frontend-specific exceptions
* [nGraph Frontend] Python bindings
Exposing Python API for nGraph FrontEndManager introduced in PR #5470
* Exposing 'Dimension' class to Python nGraph API
* Model optimizer code from pdpd_frontend
Removed 'use_legacy_frontend' option as not needed for PDPD integration
* Added XML/BIN prints for 'ngraph-FE' serialization path
* Update python bindings to latest code from PR #5995
* Add OV_FRONTEND_PATH to LD_LIBRARY_PATH by default for Model Optimizer
* Test with 'mock' frontend
* Added meta info to generated IR
Added more tests to cover currently supported scenarios
Clang config for MO mock frontend
* some flake8 and pylint fixes
* Try to 'import' ngraph-related packages on top of python files
This will help to specify type of function arguments, but can break unit tests if they're using functions directly without ngraph
* CI fixes
* Run tests from 'main_test.py' inside ngraph environment
* Fixed review comments
* Fixed comments
Added more tests for checking if inputs and outputs are same
* Renamed front_ng to moc_frontend
* Update package_BOM.txt
* Turn on IE and NG python APIs by default inside Model Optimizer
* Remove fallback
* Fix mo_ut
* Remove MO wheel tests
* Add model_optimizer custom target to gather all MO deps inside single traget
* Fix PR comments
* Add ShapeOfConstFolding transform
* Add unit tests
* Update bom file
* Update transform file
* Hot fix
* Fix midle replaser
* Update unit tests
* Fix get value
* Refactoring Const Folding transformation. Move to back
* Update bom file
* Remove unuse code
* Add some unit tests
* Refactoring unit test
* Hot fix
* Add support resize with 2 inputs
* Add unit tests
* Hot fix
* Change resize check from port count to connected num port conditions
* Fix conditions
* Refactoring code according to review
* Fix according to review
* Change onnresize11 input condition
* added new transformation to check the uniqueness of nodes names
* added unittest
* remove redundant line
* conversation resolving
* updated unittest
* added new unittest, added check for uniqueness of new node name
* added a description
* added renaming of several results with the same name and unittest for this case
* another implementation, updated unittests
* added a comment
* updated comments
* added comment to the nodes_with_equal_names func
* added a condition
* added a result name check in unittests
* fix marking of nodes with shape values: corrected 'leaky' starting condition
* cleaned up code
* fixed t2t type collision error: removed strict assert from Pow; now type_infer is same as for other eltwise ops; added warnings about type alignment
* type cast for Pow according to ONNX spec
* fix highlight in dump_graph_for_graphviz
* soft_get('op')
* Revert "soft_get('op')"
This reverts commit cadfe18f
* Revert "type cast for Pow according to ONNX spec"
This reverts commit bf85ebf8
* applied review comments
* comment for ShapeOf bfs, removed Error from elementwise op
* reverted back dump_graph_for_graphviz: fill_color -> node_attrs
* applied last review comments: returned back Error, added type_infer into unit-test utils
* Added extractor for ONNX operation Size
* Moved transformation of Size operation from TF specific to generic front phase
* Updated list of supported ONNX operation
* Moved unit test for Size decomposition to a new location
* Added handling of debug information in create_node().
* Code refactoring.
* Checks fixed.
* Added comments, added unit test.
* Renamed unit test class.
* Fixed port number in unit test.
* Added operation ConvertLike to the MO
* Fixed transformations with Pad which insert Const with pad value of incorrect type
* Added constant folding to ConvertLike operation
* Fixed unit tests for Pad transformations to include ConverLike operations
* Update copyright year
* nGraph code style fix
* Make order of port names determined in IR
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make port names in determined order and adopted tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix errors in VariadicSplit layer restored from serialized IR
* Update VariadicSplit specification and error message to allow 1D tensors on 1st input
* Update spec
* Resolve comments
* Apply comments, add unit tests
* Update unit tests
* Add axis support
* Update dequant extractor
* Update qdeq ops
* Refactoring quantize
* Update dequantize resolver
* Update dequantize op
* Refactoring dequantize
* Some fixes for quantize and dequantize
* Update unit tests
* Reafctoring quantize/dequantize axis support
* Move quantize/dequantize resolvers to middle
* hot fix
* Fix unit tests
* Fix unit tests
* Update quintize resolver comment
* Refactoring code according to code review
* Fix according to review
* Change order for transforms quantize pipline
* Moved telemetry to repo root directory from MO
* New telemetry package in the "openvino" sub-directory
* Removed telemetry from the MO BOM
* Updated MO BOM and added stub file for telemetry
* Fixed license header
* Fixed license headers and cleaned up the telemetry setup.py
* Fixed import
* Added temporary dependency for openvino-telemetry
* Added ignore for pylint issues
* Fixed import statements
* Updated imports in the telemetry library
* Removed telemetry library. Added link to another private repo
* Removed redundant start_session event for the MO
* Changed approach to import the telemetry library
* Minor code refactoring
* Updated MO telemetry events sending messages
* Refactor sending events for the IE runtime check
* Disable forcing warnings for deprecated methods
* Removed changes from the requirements.txt to install telemetry library to avoid merge conflicts
* Update copyright in the model-optimizer/mo/utils/telemetry_stub.py
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
* Execute MO stages inside subprocess to have single IE check
* Add --transform key
* Updated ofline transformations to execute user specified passes; updated logic to raise when --transform is used
* Parametrize LowLatency transformation with num_iterations key
* Fixed MO and IE versions comparision
* Use subprocess for offline transformations execution to catch errors
* remove ie_is_available from IR; fixed typo
* Fix for old IE versions
* Update parse_transform key unit tests
* Show available transformations
* Fixed typo
* Fix review comments
* Fix python2 compatibility
* Fixed review comments
* Fixed __main__ import
* initial solution
* added unit-tests + some corrections
* axis getting improvements
* fixed MO IR reader for old IR's
* a couple of corrections
* applied review comments
* corrected negative batch_dims normalization for shape calculation, for IR original negative values are kept
* added additional checks and negative tests