* Add Multinomial-13 to MO
* Add Multinomial tests for MO IR reader
* Move convert_type check
* Imports clean up
* Update pacgage BOM file
* Avoid files collision in tests
* Made MO cli parser independent from OVC, added OVC Pylint test, minor fixes.
* Small corrections.
* PyLint fixes.
* Added init files.
* PyLint fixes.
* Small correction.
* Removed OVC dependency from MO.
* Fixed MO unit tests.
* PyLint fixes.
* Unit tests fix.
* Returned MO unit tests.
* PyLint configs.
* Small correction.
* Moved offline_transformations to back.
* Moved offline_transformations to back.
* Used pip wheel to build OpenVINO wheel
* Added convert_model() to openvino.runtime.
* Removed duplication of InputCutInfo, LayoutMap
* Switched Model Conversion API tests to convert_model from openvino.runtime.
* Small correction.
* Format correction.
* Small correction.
* Removed duplication of moc frontend files.
* Small correction.
* Removed duplication of cli_parser, offline_transformations.
* Code corrections.
* Removed code duplications.
* Removed code duplications.
* Updated codeowners.
* Switched layer tests to convert_model().
* Improvements
* Small correction.
* Caffe parser path fix.
* Added python api properly into deb / rpm packages
* Moved implementation to ovc tool.
* Moved implementation to ovc tool.
* Small correction.
* Use cmake -E variant from cmake 3.13
* Namespace fixes.
* Minor fixes.
* Pylint fixes.
* Fixed BOM file.
* Small corrections.
* Minor corrections.
* Minor fix.
* Error fixes.
* Added telemetry requirement.
* Improvements to fix CI
* Some refactoring
* Don't use developer package for scripts projects
* Added exception in case when MO is not imported.
* Removed exception from init.
* Removed changes from cmake.
* Added unit ovc tests, fixed minor errors.
* Added ovc unit tests to azure.
* Corrected imports.
* Fixed path to tests.
* Added missed files.
* Corrected github labels.
* Removed benchmark app from dev package.
* Small fix.
* Small corrections.
* Comment fixed.
* Removed changes from setup.py
* Removed not needed change.
* Removed duplicating unit tests.
* Removed wrong change.
* Removed not needed change.
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Added ovc tool test, corrected imports.
* Added legacy TF config test.
* Removed not needed files.
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* support convert_model in paddle runtime
* add convert runtime paddle test
* fix a pylint error
* fix ci error
* skip test_mo_convert_paddle.py # Ticket: 95904
* auto remove tmp file
* add docs for PDFE
* enable paddle mo test in ci
* fix docs
* fix docs
* fix the docs
* Fix of class conflicts in different frameworks.
* Remove commented code.
* Moved FakeQuantWithMinMaxVars to common part.
* Fixed BOM package test.
* Removed not needed code.
* Removed not needed code.
* [TF FE] Support delayed batch setting
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Cover BOM list
* Add unit-tests for batch setting with layout
* Apply code-review: check batch size
* Apply code-review: default index for any dimension
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Added convert_model() params docs.
* Added auto-generating of most cli params.
* Added auto-generating of cli params.
* Small correction.
* Removed wrong change.
* Corrected default values.
* Fixed errors, added tests.
* Small correction.
* Corrected params descriptions, moved cli specific params to separate file.
* Moved params specifics to utils/help.py.
* [WIP]: poc: integrate pt fe to mo.convert_model
* temporaly resolve names using signature inspection
* fix logic
* move to moc frontend
* add rank and data type setting
* add input signature
* apply comments
* move after convert processing
* support work without example_input, provide parameters description
* ignore extensions on fe side
* upd tests
* more tests
* add notes about extensions support and removing onnx path
* remove debug prints
* refactoring
* update BOM
* Preserve input constant when Squeeze and Unsqueeze shape infer is sone in MO IR Reader
* Fix bom test
* Add tests
* Fix value
* Fix test
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* turn on bom_tests
* fixed root directories to search
* leftovers fix
* removed requirements from package_BOM.txt; corrected error messages to install via pip
* removed extract_release_version.py from package_BOM.txt, added requirements files to skip
* removed redundant commented line
* mentioned CustomLayersMapping.xml.example in docs
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
* convert() method added.
* Moved conversion to convert() method.
* Fixed commits.
* Output dir fix.
* Added objects support for extesions param.
* Added support for transformations_config extension objects.
* Input to str unit tests.
* Added tests, added comments.
* Updated BOM.
* Removed commented code.
* Fixed extension passing.
* Small corrections.
* Fixed for python 3.6.
* Small fix.
* Moved dir creating to ov.serialize(), removed mo.serialize(), small fixes.
* Small fix.
* Small correction.
* Removed coping of params, moved convert implemetation to separate module.
* Import fixes.
* Moved hiding of exceptions to main().
* Updated comment.
* Fixed unit tests.
* Comment changed.
* Fixed dir creating.
* Tests fixed.
* Small fixes.
* Test fix.
* Added meta data generation, removed printing of execution time for silent mode.
* Import fix.
* Conflict fix.
* Fixed error.
* Fix for custom config.
* Added version, data_type params to help.
* Added mo.convert() full-functional tests.
* Small corrections.
* Comment correction.
* Moved convert to openvino package, moved LayotMap and InputCutInfo to openvino.convert.
* Added help param.
* Wrong change removed.
* Small fix.
* Removed unnecessary comments.
* Removed .xml extension check from append_ir_info.
* Added missed file.
* Fixed error.
* Fix for bool value in InputCutInfo.
* Moved InputCutInfo, LayoutMap to openvino.tools.mo.
* Moved InputCutInfo, LayoutMap to openvino.tools.mo.
* Moved check and read_model to emit_ir.
* Small correction.
* Added comment.
* Added unit_tests with convert().
* Small corrections.
* Removed convert alias from openvino.
* Fixed conflicting unit tests.
* Removed unnecessary warnings.
* Params check fix.
* Small correction.
* Added paths checks.
* Added negative tests for to_str methods, fixed errors.
* Added tuples support in input parameter.
* Moved reminders to update OV and use API 2.0 to main().
* Returned .mapping file generating.
* Added positional input_model param.
* Added test for unnamed input_model.
* Optimize imports.
* Added more informative error for brackets syntax in --input.
* Conflict fix.
* Conflict fix.
* Update LSTMSequence backend_attrs
* Add missed attribute clip
* Update backend_attrs for all *sequence operations
* Add extender for GRUSequence
* Add GRUSequence to custom ops list
* use has_and_set instead if direct acces to attributes
* changed permutes
* fixed permutes
* fixed kernel
* fix transpose after convolution
* fix for convnet
* insert transposes for all convolutions and poolings
* refactor transformations;
added unit tests;
removed old transformations for addinf permutes/reshapes
* fixed constant types
* fixes after merge
* fixed bug for rm_cnn4a: added correct time_dim for the first convolution
* added fix for timeheightconvolution: in this case we have correct time set in convolution kernel already
* minor review fixes: renamed transformation and file
* rename in test
* rename in test
* sort imports + couplt changes in comments
* review fixes: refactoring
* replaced recursive implementation by nx.topological_sort;
fixed comments
* minor fixes: comment + preserving node names
* [Common FrontEnd] Implement ChangePlaceholderType transformation with OldApiMap
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add ChangePlaceholderType pass into frontend normalize
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add a comment about the transformation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issue
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code review comments: remove ngraph namespace rountine, etc.
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove use of extra Node object in set_old_api_map call
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Create separate pass for legacy nGraph transformations for MO with new frontend
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build for ieFuncTests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issue with namespace conflicts
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Revert "Fix build issue with namespace conflicts"
This reverts commit 50a189f4e5.
* Move legacy transformations to ngraph namespace
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issue with unresolved MOCLegacyTransformation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Adjust code to new OldApiMap API
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Resolve merge conflicts
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issue
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Do not set legacy type for parameter in case user defined type
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Enable new FP16 format and support mixed precision
* Apply review comments
* Fix issue with fp64 in FakeQuantWithMinMaxVars.py
* Enabme decompression converts fusing for CPU plugin
* Apply review feedback
* Fix code style
* Fix issue with np.full and apply review feedback
* Apply review feedback
* Fix HardSigmoid onnx extractor
* Replace np.arrays that were skipped with mo_array
* Fix compress_quantized_weights_test.py
* Fix import issues
* Apply review feedback and fix type of fusing linops in MO
* Apply review feedback
* Fix types for Mean/Scales and MXNET zeros
* Add RandomUniform_8 to ConvertPrecision
* Fix merge issue
* Fix consts names collision in GPU plugin
* Moved and merged mo/ and extensions/ into openvino/tools/mo
* edited imports
* edited docs to use mo script from entry_point
* edited MO transformations list loading and setup.py
* changed full path -> 'mo' entry point in docs (leftovers)
* corrected package_BOM
* updated resolving --transformation_config in cli_parser.py
* pkgutil-style __init__.py, added summarize_graph into entry points
* updated DOCs for the new --transformations_config
* fix select
* updated install instructions, fixed setup.py for windows and python_version < 3.8
* fixed typo in requirements.txt
* resolved conflicts
* removed creating custom __init__.py from setup.py
* corrected folder with caffe proto
* corrected loading user defined extensions
* fix openvino.tools.mo import in serialize.py
* corrected layer tests for new namespace
* fix in get_testdata.py
* moved model-optimizer into tools/
* renamed import in POT
* corrected mo.yml
* correct CMakeLists.txt for the newest tools/mo
* corrected find_ie_version.py
* docs and openvino-dev setup.py update for the newest tools/mo
* miscellaneous leftovers and fixes
* corrected CI files, pybind11_add_module in CMakeLists.txt and use of tools/mo path instead of tools/model_optimizer
* add_subdirectory pybind11 for tools/mo
* POT path fix
* updated setupvars.sh setupvars.bat
* Revert "updated setupvars.sh setupvars.bat"
This reverts commit c011142340.
* removed model-optimizer env variables from setupvars
* updated CMakeLists.txt to pack MO properly with tests component
* corrected left imports, corrected loading requirements for layer tests
* mo doc typo correction
* minor corrections in docs; removed summarize_graph from entry_points
* get_started_windows.md, MonoDepth_how_to.md corrections, mo path corrections