* Add Core property to switch from `mmap` to `read`
in IR FrontEnd
* Add tests on `ov::enable_mmap` property
* Add `enable_mmap` in C & Py APIs
* ClangFormat
* [TF FE] Add diagnostics capabilities via Framework nodes
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Refactor normalize logic
* Applied code-review feedback: fix in get_unsupported_operations_and_failures
* Handle unknown exception type
* Store only first encountered failure
* Update src/frontends/tensorflow/tests/convert_unsupported.cpp
* Apply code-review ffeedback: use stringstream
* Correct Key for exception message
* Fix build
* Use helper for creation of fw node with exception message inside
* Add test for conversion with unknown exception
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove suppression Wno-delete-non-abstract-non-virtual-dtor
* Fixed Allocator warning
* Suppress warning for GPU plugin
* Skip warning for GNA
* Fixed preprocessing
* Added virtual constructor for base plugin class
* Some fix for CPU
* Suppress for CPU
* Fixed any
* Fixed meta
* Disable warning for paddle
* Fixed Allocator tests
* Move suppress to paddle
* Fixed benchmark_app
* add opextension support
* support opconversion
* fix test contructor ambiguous
* fix ci fail
* add tag to avoid compiler ambiguous
* move tests to layer_tests & remove PaddleTag
* static cast
* use create_ov_node_by_name
---------
Co-authored-by: Luo Cheng <cheng.luo@intel.com>
* Enable MapAllocator in IR Frontend
* Fix `ov_infer_request_ppp` test
With `mmap()`ing of IR, .bin can't be deleted until unmapping.
And it shows that there was a leak in test
* Add comment to Win `CreateFile()` regarding
FILE_SHARE_DELETE
* Unmap .bin file before IR files deletion
Wait ov::Model deletion to trigger .bin file unmapping
before IR files deletion
* ClangFormat
* Add `use_map_allocator` switch in FE
In case of direct use of FE (e.g. via MO), `mmap()` is OFF.
But in case of use FE via Core, `mmap()` is ON.
Move all openvino_conversion rountines into utils. Avoid using Squeeze without axis
that can create dynamic output rank
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Added Saved Model proto descriptors
* Included Google's protobuf repository
* Added wstring version of ov::util::directory_exists
* Added initial implementation of Saved Model iterator
# Conflicts:
# src/frontends/tensorflow/src/frontend.cpp
* Added missing proto files to repository
* Implemented reading of variables index and data files
# Conflicts:
# src/frontends/tensorflow/src/frontend.cpp
* Renamed class
# Conflicts:
# src/frontends/tensorflow/src/frontend.cpp
* Fix for cross-platform directory_exists
* Fixed codestyle and simplified code
* CI fixes
* Separeted Saved Model iterator from Proto iterator
* Moved variables index into separate class
* Added initial implementation of reading a variables from
saved model
# Conflicts:
# src/frontends/tensorflow/src/frontend.cpp
* Added external variable mapping
* Code cleanup
* Commit is for discussion purposes!!!
Implemented RestoreV2 with a workaround for strings
Not optimized, includes mem leak
* In progress...
* Added DT_STRING coverage into decoder_proto
* m_variables_index moved into underlying class
* Updated copyrgihts, added space between license and code
* Moved string constant to separate class
* Added AssignVariableOp operation
* Changed behavior of RestoreV2
Updated stubs for other ops
* Second working implementation, enabled:
Program-only models
Variables reading from data files
* Extended docs
* Fixed dynamic type
* Fixed naming
* Added Snappy submodule to support compression in TF FE
* Enabled Snappy Compression for TF FE
* Make static linkage of Snappy
Changing Warning as error behavior for 3rd party
* CI fixes
* Added Snappy copyright info
* Aligned behavior of StringConstant with UnsupportedConstant
* Added correct naming and removing unused inputs/outputs
* [TF FE] Post leftovers to support the MUSE model in SavedModel format
It contains tests imitating a case with Tokenizer extension and raised problems:
setting custom type for body graph Parameter, named ports for RaggedTensorToSparse
and Unique operations.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update src/frontends/tensorflow/tests/convert_tricky_models.cpp
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Improve op support for detectron mask rcnn
* Initial commit
* Fix for reading processed list
* Format code
* Cleanup
* cleanup
* Cleanup
* cleanup test
* Add comment
* Add rt_info
* fix type
* More fixes for detectron
* Fix build
* Add tests for if
* Revert changes in index
* Add comment
* Fix test
* Fix get_axes_range
* Add tests and fix if type alignment
* Fix code style
---------
Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
At the conversion stage we can't resolve Assert node because the condition
is computed only during inference time.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add descriptions to the transformations, add additional checks
* fix a warning
* TransposeSinking Rafactoring part2: move the transformations to a separate folder, align namespaces
* TransposeSinking refactoring: class names, namespaces
* codestyle
* resolve merge conflicts