* Used singleton class for version check.
* Moved VersionChecker to utitl/version.py, added tests.
* Minor corrections.
* Sort imports.
* Small correction.
* Small correction.
* 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.
* [PyOV] Fix issues with RTMap
* update year
* some clean-up and items fix
* tests and small fixes
* Update src/bindings/python/src/pyopenvino/utils/utils.cpp
* undo changes
* fix serialization on python side
* rt_info as rt_map
* undo several changes in tests
* fix mo test
* sadd docstrings
* add tests
* fix codestyle
* try to fix win
* fix master
* apply comments
* [MO][TF FE] Do not print TF FE message in case of fallback
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Correct test model with Switch and Merge
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Ability to provide several source dirs for ncc-style checks
* Fixed include headers; added NCC to TF common
* Fixed NCC for frontends
* Fixed NCC for frontends
* Extra fixes
* Fixest push --f
* Clang-format
* Apply comments
* Add an option to specify required clang-format version
* Update src/frontends/tensorflow/src/decoder_proto.cpp
* Update src/frontends/tensorflow/src/decoder_proto.cpp
* [TF FE] Convert a model with Framework nodes
Now the conversion pipeline will convert all unsupported operations to Framework nodes
It is done with a hope that sub-graphs with Framework Nodes will be cut in later stages
like auto-pruning.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
* Fix dynamic element type for FusedBatchNorm
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
* Fix build issue
* Continue translation in case translator limitation
* Change undefined to dynamic type
* Have one more change to dynamic type
* Change undefined to dynamic in Const translator
* Expect MO to handle dynamic type
* Exclude TransposeSinking pass if model contains Framework nodes
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fixed legacy extensions passing to MO tool.
* Added tests.
* Corrected test.
* Add debug print.
* Moved tests to layer tests.
* Added comment.
* Moved legacy ext tests to separate file. Fixed tmp .pb file cleaning.
* Small correction.
* Run MO Python API tests directory in CI.
* Small fix.
* Fix for case of splitted output.
* Corrected imports.
* Corrected imports.
* Added run of legacy extensions tests from subprocess.
* [TF FE] Support conversion of models with non-standard extensions in the path
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tools/mo/unit_tests/moc_tf_fe/conversion_basic_models.py
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* enable --compress_to_fp16 by default in MO
* corrected docs, added warning if user did't specify --compress_to_fp16 explicitly
* fix failing MO unit-tests
* do not wipe out data_type if user defined it explicitly by cli argument
* updated warning message and docs
* corrected phrasing
* corrected phrasing in FP16_Compression.md
* set compress_to_fp16=False for convert tests
* leftover: set compress_to_fp16=False for convert tests
* minor correction
* print info message in main.py, som minor changes
* typos fix
* fix losing information whether arguments set by user or got from defaults
* returned back default values instead of None
* more selective correcting of test_mo_convert_pytorch.py; added test for cases when compression is enabled/disabled or left by default
* fix test_mo_convert_pytorch.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
* [TF FE] Support TensorList operations and RNN layers
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove TensorList operations from the fallback
* Fix computation of dummy tensor size
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Added import model from memory for TF FE using string.
* Small correction.
* Clang format.
* Code correction.
* Implemented model importing to TF FE using temporary file.
* Removed wrong changes.
* Added check.
* Removed code duplication.
* Corrected logging of cli parameters.
* Remove "OV_FRONTEND_PATH" from `FrontEndManager`
* Remove "OV_FRONTEND_PATH" from layer_tests
* Remove "OV_FRONTEND_PATH" from find_ie_version.py
* Remove "OV_FRONTEND_PATH" from .ci/
* Move `ov::get_plugin_path` to file_util.hpp (ov::util)
* Add `register_front_end(name, path)` FEM public API
* Enable frontend/ tests
* ClangFormat
* Remove OV_FRONTEND_PATH from FE shared utils
* Add `register_front_end()` to PythonAPI
* Update Py tests with registering of "mock_py" FE
* ClangFormat
* Leftovers
* Fix SegFault with `register_front_end(name, lib_path)`
* Add FE_LIB_PRE and FE_LIB_SUFFIX to `ov_core_unit_tests`
* Fix format
* Update `testFailRegisterFEByWrongPath`
* Infrastructure for tflite
* Removed submodule flatbuffers
* Added flatbuffers submodule. Fixed version to v22.12.06 aka acf39ff
* Move headers back
* Flatbuffers integration
* Small fixes
* Started parsing the Model
* flatbuffer changes
* decoder_flatbuffer changes
* Lite Input Model -- not needed as of now but looks cool
* Rolled back inherritance from ov::frontend::tensorflow::InputModel
* Results are not treated as outputs, but its ok
* Fix missplaced input vs output
* Refactor
* Load model op-by-op. Frontend API finalized
* Debugging still, there are prints here and there. Decoder is not sane
* Convolution with all attributes is translated and quantization is applied for inputs and constatants. TODO: quantize intermediate tensors, separate decoder specific logic?
* Float ssd and posenet models are showing good accuracy
* Need to refactor but work flawlessly
* Telemetry and lightweight model cutting
* Code style and test changes. Extensions supported
* Quantization and style
* Style refinements
* Move onednn back
* New portion of operations enabled
* TFLite FE doesn't inherrit TF FE
* Moved files to another directory
* Rename header op_table.hpp to common_op_table.hpp for all files in src/frontends/tensorflow_common/src/op/
* Removed visability macroses
* CMake changes
* Unit-test execution in .ci
* Update labeler.yml
* Codeowners
* Style check and fix
* Static Build arrangement
* Addressing the comments
* install common headers to previous place
* New approach with public decoder and graph_iterator
* New approach with public decoder and graph_iterator
* Move GraphIterator back
* Comments addressed
* Comments adressed
* Preliminary TF FE README.md changes
* Added target_compile_definitions OPENVINO_STATIC_LIBRARY for static build
* Fixed conflicts and added TF to common places
* Frontends use only openvino::core::dev API
* Merged common tensorflow changes and made code build and work on selective number of models
* Style
* Rollback unnecessary changes from Tensorflow FE
* Rollback unnecessary changes from Tensorflow Common
* Minor refactor
* cmake minor refactoring
* Mixed commit
* Style and merge fix
* Low hanging fruit operations
* Fix windows build
* Refactor quantization parameters representation
* license compliance. approved by OS PDT
* copyrights in generic file
* dependabot
* labeler
* Unit Test to be triggered in CI
* cmake variables naming. corrected copyright years in copyrights/generic file
* library renamed in .ci/ calls
* Copyright year update
* Set openvino-tf-frontend-maintainers as owner of /src/frontends/tensorflow_lite/
* Fixed flatc corss-compilation
* Cleaned flatbuffers header usage
* Nitpicks solved
* Update cmake/templates/OpenVINOConfig.cmake.in
* Compile with flatbuffers headers
* Fixed "which is prefixed in the source directory"
* Fixed typo in flatbuffers cmake
* Removed flatbuffers submodule
* Added fork submodule
* Fixed static build
* Fixed cross-compilatio
* Fixed -Wshadow warning
* Fixed warning on Windows
* Use only headers from flatbuffers library
* Added LTO and fixed compilation errors on Windows
* Fixed warnings in tensorflow_common
* Move ctors implementation to cpp file
* Added information about new frontends to common FEm part
* Temporaryily disable warnings
* Fixed code style using clang-format
* Fixed Windows
* reverted changes in onnx
* Revert changes in onnx_common
* Removed pragma once frm cpp
Co-authored-by: missjane <estepyreva@gmail.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
* [MO][TF FE] Switch MO to TF FE in default mode
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix code-style
* Extend operations for the fallback
* Fix MO unit-tests
* Check only legacy FE for read-from-memory functionality
* Fix failures in IR comparator tests
* Fallback to the legacy FE in case tensorflow_custom_operations_config_update
* Revert copyright and update
* Fix unit-test since it is oriented for the legacy FE
* Fallback to the legacy FE in case deprecated config options
* Fix value propagation from deprecated config option
* Fix the Result node name in case cutting by input port for outputs
* Set Result node name aligned with the Legacy Frontend
* Reformat a list of operations to fallback
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fixed ObjectDetectionAPIProposalReplacement() to get correct CropAndResize node.
* Small correction.
* Moved topological sort with start node to separate method, added tests.
* Simplified code.
* Removed input_model from meta data dictionary.
* Added test.
* Changed check for more general case.
* Test fixed.
* Temporarily added debug print.
* Fixed test.
* Code corrections.
* Small correction.
* Added type check.
* Added comments, small corrections.
* Refactored MO convert_model() to have single parse_args().
* Small correction.
* Fixed PyTorch converting.
* Small correction.
* Code refactoring, added tests.
* fix checking if there are data nodes for operations with several outputs
* added unit-test
* added ports explicitly, removed redundant lambda
* typo in port