* Check number of inputs, use rank function
* Change min inputs in flatten
* Fix code style
* Fix aten::tensor and aten::_convolution number of inputs
* Refactor NodeCOntext a little
* Fix codestyle
* Proposal of data_dispatcher
* Fix C-style for array-like objects
* Added test cases
* Add InferRequestInternal to hold lifetime of converted data
* Change name and location of InferRequestInternal to _InferRequestWrapper
* Fixes for shared data mode to match previous tests, codestyle refactoring
* Fix annotations and style
* Add initial testing
* Fix dtype capture
* Fix set_request_tensor
* Extend doc strings
* Fix docs
* Docs fix
* Change to ndarray in docs
* Fix async case
* Fix async test 2
* Remove linter issue
* Added -Wall for Clang and GCC
* Fixes
* Don't use /J
* Fixed warnings
* Fixed warnings
* More fixes
* Fixed for MSVC
* Fixed more warnings on Windows
* Suppressed some warnings in template plugin
* Update src/tests/functional/plugin/shared/include/behavior/plugin/caching_tests.hpp
* Added suppression for PT FE
* Suppressed warnings in TF FE
* Suppressed warnings on Core unit tests
* Suppress warnings in python
* Suppressed Windows warning for 3rd party modules
* Suppresed one more warning
* 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`
* Add eltwise types resolving. Support big int constants.
* Update src/bindings/python/src/openvino/frontend/pytorch/decoder.py
* Small fix
* Fix some cases
* Add tests for add in different types
* Add tests for mul
* Add tests for sub and div
* Small fixes
* Return list handling (needed for empty lists)
* Add test for empty list
* Update src/frontends/pytorch/src/op/mul.cpp
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use refs instead of ptrs
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code review suggestions
* Fix code style
* Add more eltwise ops
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* 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>
* Remove None at outputs of the model, improve types handling in frontend
* Fix py code style
* Add torch dependency in pybind tests
* Fix tests if fe is disabled and add backward type cpnversion
* Move decoder tests to layer tests
* Fix codestyle
* Add comment
* Move tests to separate folder
* Update .ci/azure/linux.yml
* Safe loading of default plugins
1. In case of default plugins.xml all plugins is registered by
absolute paths
2. In case of user API user is able to specify abs or rel path
or plugin name to be found in ENV
3. Update `ov::util::get_absolute_file_path()` in order to prevent
checking file exists or can be accessed
4. Add tests + delete duplicated tests
* Add `OV_CORE_CALL_STATEMENT` to `Core()` ctor
to convert InferenceEngine::Exception to
ov::Exception
* Add `ie_plugins.hpp` dependency to `ov_infer_unit_tests`
* Update C and Py docstrings
* Comment fix
* Update LD_LIB_PATH in openvino-onnx/Dockerfile
* Skip `test_register_plugin*` for Debian job
* [GPU] Added common exec mode hint and gpu support
* Add ov::inference precision and update usages. Deprecate ov::hint::inference_precision property
* [GPU] Execution mode tests and fixes
* Fixed code style
* Moved execution_mode test to common. Fixes for python API
* Remove deprecations for hint::inference_precision and just keep both
* Fix test
* WIP
* update input validation
* upsample_nearest2d and upsample_bilinear2d support
* support leaky_relu add test for inplace relu
* update tests, add handler for ListConstruct
* Do not create extra outputs in main body
* add positive case with non-default value
* update testing
* update test, handle non constant size and scale
* remove ie_device
* add aten::group_norm support
* refactoring
* Enable aten::reshape_as operator and add layer test
* more tests
* Fix typo in test
* Resolve conflicts
* fix code style
* expand init version
* expand_as and tests
* add transposed convolutions support
* add tests
* initial support pad
* add circular
* update for differenced in rang
* cleanup
* refactor
* more tests
* apply review comments
* Add split+listunpack transformation
* Add split+getitem transformation
* Add test cases
* fix typo
* Minor fixes
* Apply suggestions from code review
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* Apply suggestions from code review
* Small fix
* Support converting models without freezing
* support BoolTensor and masked_fill
* add support aten::rsqrt and test for sqrt
* add cumsum and type_as
* support clamp
* support more matrix operations
* add tests
* Add aten::adaptive_avg_pool3d and layer test
* Change to rank
* fix code style in utils.hpp
* Update src/frontends/pytorch/src/op_table.cpp
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
* fix code style
* add tests
* add xfail
* remove unnecessary broadcast
* Changes required by style formater
* aten::_convolution_mode
* Changes requested by a reviewer
* remove code duplication
* add aten::unbind transformation
* full, zeros and ones
* Support getattr list and unrolling nested ifs
* Remove line change
* Enable back freezing in layer tests
* Add aten::norm operator and layer test
* Small fix in layer test
* add aten::roll
* add empty line
* Typo fix
* fix style
* fix style v2
* add pytorch frontend to wheel
* Support all types of numeric norms
* add check for dynamic shapes
* remove random change
* merge statements
* add min and max ops support
* aten::max and aten::min
* move axes range creation to utils
* add transformation for tuple results, update tests
* fix copyright
* aten::var
* add test and translation for numel
* ignore aten::clone
* Add layer test for aten::add operator
* Fix typo
* Remove redundant import
* Add parameter name in forward method
* fix code style
* apply review comments
* Add size+slice+listunpack transform
* Add append listunpack transformation
* Register transformation
* aten::where
* update realization
* Fix issue with getitem
* Fix getitem
* Add layer test for aten::view operator
* Add tests for listunpack
* add test for aten::div
* fix style
* update aten::adaptive_max_pool2d
* fix style
* add aten::floor_divide
* aten::addmm support alpha and beta with different dtype
* nonzero
* Change test name
* update test cases to include other dtypes
* aten::arange
* prim::max transformation for ListConstruct
* rename op
* generalize conv2d implementation for conv1d and conv3d
* aten::unsqueeze_ and tests for aten::unsqueeze (#70)
* add aten::le, aten::ge and tests for other tensor comparision ops (#74)
* add support trigonometry ops (#73)
* support aten::upsample_bicubic2d, aten::ceil, aten::floor (#72)
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* extend and add tests for avg_pool and max_pool
* extend tests and constant filling ops
* fix as_tensor and full ops
* aten::repeat
* fix code style
* aten::im2col (#61)
* aten::im2col
* remove debug prints, add number of elements check
* fix failed tests
* move helper function
* use split
* Update src/frontends/pytorch/src/op/im2col.cpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* fix code style
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* Update src/frontends/pytorch/src/utils.cpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* fix code style
* revert removeinf floordiv, add floor_divide file
* Fix merge issue
* reduce code duplication
* refactor
* Add len operator with layer test
* update clamp to support mixed precision and add support torch.long for constants
* aten::selu
* add trunc mode to div
* add else statement
* Add test case to layer test
* Fix submodules (#88)
* update test file
* fix namings
* execute in fp64 and convert back to initial precision
* Revert set_output_size to master. Small fix in If validate
* Fix build and code style
* fix failed tests
* Add torchvision::nms operator and layer test
* Change requested by a reviewer
* Remove div test
* convert constants to input type
* Mark some cases in div tests as xfail (#93)
* Small refactoring (#94)
* Small refactoring
* Fix type
* Fix python codestyle
* Incremental fix code style (#95)
* Fix style (#96)
* Fix copyright
* Fix code style
* Branch clean up (#97)
* Optimize includes and force opset10 (#98)
* Optimize includes
* Force opset10 in pt fe
* Fix codestyle (#99)
* Fix style
* Fix clang codestyle
* Fix cerr with debug log
* Update src/bindings/python/src/pyopenvino/frontend/pytorch/decoder.cpp
* Add pytorch dependency only if pytorch frontend is enabled
* Update src/bindings/python/src/pyopenvino/CMakeLists.txt
* Add layer tests to precommit (#100)
* Add layer tests to precommit
* Remove accidentally added files
* Apply code style on layer tests
* batch norm tests and fixes
* move default weight and bias to else block
* reduce code duplication
* Changes requested by a reviewer
* Changes requested by a reviewer
* Remove dependency from pytorch in pyopenvino (#102)
* Remove dependency from pytorch when fe is disabled
* Change docstring
* Remove pytorch FE dependency from pyopenvino
* Apply codestyle (#107)
* Apply codestyle
* Remove commented line
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix mock FE test (#108)
* Fix mock PE test (#111)
* Revert changes in StridedSlice (#114)
* Small refactoring (#116)
* Small refactoring
* Fix codestyle
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply suggestions from code review
* Update src/frontends/pytorch/src/op/group_norm.cpp
* Fix cmake copyright define (#117)
* Update src/frontends/pytorch/src/op/arange.cpp
* Apply suggestions from code review
* Update build configs (#120)
* FIx build configs
* Update type cast in full.cpp
* Apply review feedback (#121)
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix issue after master merge (#122)
* Fix issue after master merge
* Fix build
Co-authored-by: eaidova <ekaterina.aidova@intel.com>
Co-authored-by: bszmelcz <bartosz.szmelczynski@intel.com>
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
Co-authored-by: sikorsl1 <leonard.sikorski@intel.com>
Co-authored-by: Leonard Sikorski <l.sikorski123@gmail.com>
Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Review slice ope for
- Interval dimension and label propagation
- add template shape inference with static shape test
- check preserve partial values on inputs
- check upper/lower evaluate
* Add bounds evaluation for inputs start, stop
* Share code between slice and strided slice
Use same function to calculate elements in step
* Add array includes
* Add to int64_t strides size
* Fix windows compile warnings
* Fix shape inference for unknown axes
* Remove empty lines in slice shape inference
* Correct slice static shape tests
* Use arrays of const chars to store literals
Remove and update exception messages for strided slice
* Fix slice test and apply review comments
* Fix compilation issues
* Fix ellipsis when there is not begin
* Fix get element type for const inputs
* Insert optional axes as const or dynamic param
* Remove temp vectors for dimensions calculation
* Revert set optional input in ctor
* Fix forward slicing for negative start and MAX end
* Merge master, use new token
* Minor changes
* Relax Python version
* Apply new python to rest of jobs
* Revert changes to custom images
* Minor changes
* Revert win changes
* Upgrade cython
* Test with lower cython
* Remove venv
* Cleanup
* Relax version spec
* Fix lin
* Revert changes to linux.yml
* Minor changes
* keep Shape subgraph in FP32 for GPU
* replaced ngraph:: -> ov:: namespace
* renamed ConvertModelToFP16ElementType -> ConvertCompressedToMixedPrecision and other passes; removed unnecessary argument for the pass
Signed-off-by: Pavel Esir <pavel.esir@intel.com>
* Update src/common/transformations/src/transformations/common_optimizations/convert_compressed_to_mixed_precision.cpp
* Update src/common/transformations/src/transformations/common_optimizations/convert_compressed_to_mixed_precision.cpp
* rephrase calling of ConvertPrecision to avoid error of an unused variable
* Update convert_compressed_to_mixed_precision.cpp
* placed calling of ConvertCompressedToMixedPrecision into the beginning of CommonOptimizations
* Update transformations_pipeline.cpp
* refactored unit-tests
* cleared obsolete commented line
* code style fix
* Update src/common/transformations/src/transformations/common_optimizations/common_optimizations.cpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Signed-off-by: Pavel Esir <pavel.esir@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* [Tools] Avoid use of NumPy deprecated types
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Revert "[Tools] Avoid use of NumPy deprecated types"
This reverts commit 21ffc167d1.
* Move to 1.24 Numpy
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [ONNX FE] Support value freezing without specifying type
Implement gete_element_type method for ONNX InputModel.
Implement tests with freezing integer input and float models
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update src/frontends/onnx/frontend/src/input_model.cpp
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
* Update src/frontends/onnx/frontend/src/input_model.cpp
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
* Update src/frontends/onnx/frontend/src/input_model.cpp
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
* Return only element type for model inputs and add ONNX FE tests
* Rename variable in the test
* Add syntax mark
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
* Added support for ONNX OpExtension with custom domain
* review remarks
* move domain ctor to onnx OpExtension
* code refactor + new test
* styles applied
* [Python API] Support extensions with custom domains
* try to fix windows build error
* removed unnecessary stores
* Use prebuilt cmake in install-dependencies steps
* Removed building of custom python to save Azure CI time
* Adjusted conditions in cmake
* Download VPU custom kernels compiler only for x86
* Removed -pyver argument
* Improvements
* Detect glibc version
* Usage of new glic variable
* Fixed typo
* Increased glibc version for MYRIAD case
* Made OpenVINO cmake Linux flavors agnostic
* Detect glibc version on RedHat
* Use clcompiler only since ubuntu 18.04
* Universal way to detect glibc version
* Revert some changes
* Apply suggestions from code review
fixes issue with GNA
* Apply suggestions from code review
fixed typo
* Use openvino pass graph_rewrite
* Use openvino pass pattern matcher
* Remove ngraph opsets
* Remove ngraph.hpp
* Remove ngraph includes
* Remove ngraph includes
* Use transformations API
* Remove ngraph includes
* Remove ngraph rt_info
* Remove unused ngraph includes
* Replace ngraph:: scope with ov:: here and there
* Remove serialize proxy header
* Remove proxy include
* Bring back a file for vpu-plugin
* Fix after upstream merge
* Remove nested namespace conflict
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
* [FE] Fix freezing placeholder via freeze_placeholder_with_value option
Currently, freezing placeholder via freeze_placeholder_with_value option does not work for any frontends. It happens due to absence of a node in _input_shapes dictionary.
* Add get_element_type method for InputModel
* Revert not needed changes
* Revert not needed changes
* Update freeze_placeholder_test
* Add tests for TF FE with freezing values of different types
* Fix Python API return value
* Correct returned type for get_numpy_ctype
* Apply code-review feedback
* Update src/frontends/tensorflow/src/input_model.hpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* Apply code-review feedback: no tf legacy specific routine and parameter names
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* [Python API][Tools] Top up upper bound version for dependencies: NumPy, TensorFlow, NetworkX
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove upper-bound for TensorFlow and NumPy
* Revert "Remove upper-bound for TensorFlow and NumPy"
This reverts commit 662085df2e.
* Remove upper-bound for NumPy for default installation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add attribute for last output element type
* Add convert precision transformation and tests
* Update Unique python API with new attribute
* Update Unique-10 op specification
* Update docstrings
* Update visitor tests
* Add type prop tests for the new attribute
* Check axis constant before shape, compare with partial shape
* 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.
* Added direct support of BytesIO and TF1 graph def.
* Moved reminders to update OV and use API 2.0 to main().
* Fixed keras loading.
* 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.
* Keras direct model support.
* Keras direct model support.
* Small fix.
* Conflict fix.
* Conflict fix.
* Added direct support of BytesIO and TF1 graph def.
* Fixed keras loading.
* Keras direct model support.
* Keras direct model support.
* Small fix.
* Tests for importing from memory.
* Support of other tf/pytorch formats.
* Updated mo_convert extensions tests to use ov models.
* Removed debug output.
* Implemented PyTorch converting logic.
* Small corrections.
* Small corrections.
* Added comments.
* Fixed for single input case.
* Added switching between save to file and BytesIO.
* Small fixes.
* Rename convert() to convert_model().
* Added env variable to disable converting to onnx.
* Tests refactoring.
* Add MO Python API tests to precommit.
* Add MO Python API tests to precommit.
* Added PyTorch to layer tests requirements.
* Added supported formats description.
* Fixed errors, added tests.
* Fixed bugs, added support of numpy and ov.Tensor sample_input.
* Added more torch.Size tests.
* Small correction.
* Renamed sample_input->example_inputs.
* Tests refactoring.
* Code style.
* Added support of dict in example_inputs.
* Small correction.
* Added removing of tmp onnx model in case of conversion error.
* Fix for lists of tensors in example_inputs.
* Support of dynamic axes for Keras layer, Keras module.
* Removed disabling of eager execution.
* Tests fixed.
* Added pytest requirement for layer tests.
* Added convert_model to openvino.runtime, fixed test runs.
* Small fix.
* Tests fix.
* Better help message.
* Error fixed.
* Renamed example_inputs->example_input.
* Small fix.
* Added support of list of layouts.
* Removed wrong change.
* Added tuple support for --layout.
* Removed convert_model from openvino.runtime.
* Use of default onnx opset version.
* Added support of dynamic input shapes without example_input.
* Made better error message.
* Removed stack trace from exceptions.
* Fixed tests.
* Small fix.
* Removed wrong change.
* Added import model from memory tests in unit tests.
* Replaced compare_functions() with MO IR reader compare.
* Removed test.
* Removed not needed change.
* Fixed conflicts.
* Remove test for unqiue op
Signed-off-by: andrei.kochin <andrei.kochin@intel.com>
* Remove test empty line
Signed-off-by: andrei.kochin <andrei.kochin@intel.com>
* Added PartialShape from str constructor, added to_string() method.
* Small corrections.
* Moved shape parsing to PartialShape and Dimension classes.
* Fixed errors.
* Added tests for shapes with comma separator.
* Fixed tests.
* Test fixed.
* Fixed test.
* Fixed tests.
* Small fix.
* Removed usage of depricated method.
* Fix in MO IR reader.
* Tests fixed.
* Fix in MO IR reader.
* Test fixed.
* Shape class alignment.
* Code fixes.
* Code fixes.
* Used unnamed namespace.
* Undo change of Shape attribute adapter.
* Undo change of Shape attribute adapter.
* Removed unnecessary includes.
* Removed unnecessary code.
* Test fixed.
* Fix in MO IR reader.
* Moved check_all_digits() to ov::util.
* Moved check_all_digits() to src/core/src/.
* Clang format.
* Apply suggestions from code review
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Removed dimension_util file.
* Removed wrong change.
* Removed extra spaces from string representation of Shape.
* Test fixed.
* Added support of comma separator for value. Updated help.
* Returned old format shape serializing.
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
DisableConvertConstantFoldingOnConstPath was renamed to MarkDequantizationSubgraph
and modified such that it also marks Subtract and Multiply from dequantization subgraph
with 'DequantizationNode' attribute.
Ticket: 65489
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
* Added doxygen comment for opset10
* Added get_available_opsets method to API
* Fixed build
* Fixed build and typo
* Use constant map
* Removed defines from global opset
* Added const to map
* [PYTHON] Pipeline transfer
* [PYTHON] Align python benchmark
* [PYTHON] Align last step
* [PYTHON] Fix innacuracies of the last step - median
* [PYTHON/CPP] Add Core::get_version method to python API, refactor Ben benchmark to print version with this func
* [PYTHON] Remove get_version_string from API
* [PYTHON/CPP] Align output for model input/output info
* [PYTHON/CPP] Step 4,6 alignment of outputs, step 8 dumps all info stored in config parameters
* [CPP] Fix a bug causing nstreams parameter to never be set to AUTO in CPP benchmark_app
* [CPP] Fix clang format errors
* [CPP] Modify print order and data output for 8th step
* [PYTHON] Add verification checks from C++, modify set_thoughtput_streams to match documentation
* [CPP] Revert changes to C++ benchmark_app
* [CPP] Remove additional spacebar
* Update submodules versions on remote
* Update module from master branch
* Redownload submodules from master and override changes from commit
* [PYTHON] Remove unneccesary parse_status from validation function
* [PYTHON] Check for HINT in map, fix circular import
* [PYTHON] Remove artifacts from commit, fix args.perf_hint set to '' instead to 'none'
* [PYTHON] Reverse changes to perf hint, add key in map check, fix validation function throwing error on set hint
* [PYTHON] Fix linter
* [PYTHON] Remove linter spacebar
* [CPP] Fix wait_all exception throw
* [CPP/PYTHON] Clean artifacts and unwanted changes from work process
* [PYTHON] Fix artifacts from merge, clean submodule update
* [C++ CPU] Fix device name string by removing padding NULL characters from the back
* [CPP] Fix ba infer_request_wrap in other throw-catch clauses
* [PYTHON/CPP] Fix missing latencies in final step for shape group, fix minor misaligned messages, add missing report parameter create infer requests time
* [CPP] Clang fix formatting
* [CPP] Reverse clang fix format on plugin.cpp
* [PYTHON/CPP] Fix C++ progressbar printing endl when disabled, fix rounding in python creating infer request message
* [CPP] Fix foramtiing error
* [PYTHON/C++] Refactor network to model based on naming conventions, provide fresh README output example
* [PYTHON/C++] Add example output to C++ README, remove unnecessary device loop
* [BENCHMARK_APP/C++] Fix artifact from refactoring, remove try-catch clause
* Update samples/cpp/benchmark_app/benchmark_app.hpp
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* Update samples/cpp/benchmark_app/main.cpp
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* Update tools/benchmark_tool/openvino/tools/benchmark/main.py
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* Update samples/cpp/benchmark_app/main.cpp
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* [CPP] Fix clang errors
* [CPP/PLUGIN Reverse modification to extract to separate task
* Update tools/benchmark_tool/openvino/tools/benchmark/main.py
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* Update tools/benchmark_tool/openvino/tools/benchmark/parameters.py
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
* Update tools/benchmark_tool/openvino/tools/benchmark/utils/utils.py
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
* Update tools/benchmark_tool/openvino/tools/benchmark/main.py
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
* [PYTHON/C++/BENCHMARK_APP] Fix language inconsistencies, remove unnecessary checks
* Update pyopenvino.cpp
* [CPP/BENCHMARK_APP] Remove unnecessary try-catch, fix linter errors
* [PYTHON/CPP/BENCHMARK_APP] Revert changes to Core, align version prints usin only provided methods
* [DOCS/BENCHMARK_APP] Update README with proper model examples
* Update README.md
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
* Add reference implementation for Is ops
* FIx test
* Fix typo
* Remove deprecated
* Fix issues with API switch
* Force cast to float for float16/bfloat16 in ref
* Fix style
* Remove BWDCMP_RTTI
* Remove TensorVector helper check
* Remove evaluate functions
* Disable faling tests due to missing eval
* Fix gather type_prop test build issue on windows
* Add pytest-forked to test requirements
* Update src/bindings/python/requirements_test.txt
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Remove warning suppression for core tests
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Update to the latest cmake for Windows
* Skip new warnings
* Added compiler flags for old cmake
* Disabled some warnings
* Suppress new warnings
* Fixed some errors
* Disable some warning for lpt
* Fix some warnings
* Disable new warnings
* Fix some warnings
* Disabled Was error for arm
* Fixed some errors
* Fixed some new warnings
* Fixed auto plugin
* Fixed Windows warning
* Fixed Windows
* Disable some warnings
* Some changes
* Small test fixes
* Fixed python build
* Added skip warnings for legacy python API
* Added reading of meta information from IR
* Fixed code style
* Added tests to cover multi-threading and removed file
* Fixed asserts
* Changed parsing of meta information
* Added meta information serialization
* Fixed unit tests
* Support unset_cli_parameters
* Changed get meta API
* Fixed threading tests
* Fixed mutex
* Removed serialization
* Fixed tests
* Fixed build
* Add quantization_parameters
* Use rt_info instead of meta section
* Disable old rt_info serialization
* Try to fix MO Reader for new rt info
* Fixed property name
* Added test to new meta format
* Added tests for new PoT config
* Added tests for new rt_info attributes
* Remove redundant code
* Revert old rt_info style for nodes
* Add get API for python
* Added python tests
* Fixed python code style
* Fixed tests code style
* Fix flake8
* Fixed python tests
* Add has_rt_info to test
* Added more comments
* Extended tests and API
* Changed error message
* Use new API to get model version
* Fixed comments on python API
* Fixed comments
* Fixed comments
* Update src/bindings/python/src/pyopenvino/graph/model.cpp
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Update src/bindings/python/src/pyopenvino/graph/model.cpp
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Fixed comments
* Fixed python check
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Fixes for brew support on OSX
* Added new policy
* added quotes
* Used OpenVINODeveloperPackage
* Extra fixes
* Use standard verbose variable
* Fixed pkg-config generation
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400
Fixed warnings on local machine
* Added CMAKE_COMPILE_WARNING_AS_ERROR usage
* Fixed style
* Fixed merge conflicts
* Fixed typo
* Fixed myriad build for macOS
* Fixed warning
* Fixed tests
* Disabled incorrect test
* Try to fix linux tests
* Revert "Try to fix linux tests"
This reverts commit 29224c93ff.
* Fixed tests
* Revert logic with incorrect cast
* Fixed log softmax
* Disable warning as error for cuda
* Try to fix inference_engine_s
* Fixed cmake
* Revert "Fixed cmake"
This reverts commit 87e9e4e674.
* Revert "Try to fix inference_engine_s"
This reverts commit a1adca8b05.
* WA for static symbols in inference_engine_s test library
* Fixed code style
* Fixed static definition for master
* Revert "Fixed static definition for master"
This reverts commit 20d00d215a.
* Revert "Fixed code style"
This reverts commit 0eb2362543.
* Revert "WA for static symbols in inference_engine_s test library"
This reverts commit 75ef86a79d.
* Fixed linker issue for Windows
* Disable WaE by default
* Disable warning as error in the developer package
* Try to fix dev package
* Try to fix Windows Jenkins
* Revert old behavior for tread_warn_as_err variable
Add test
Update src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Review comments
Cleanup test includes
* Update LD_LIBRARY_PATH for python API tests
* Update LD_LIBRARY_PATH for python API tests
* Remove PYTHONPATH, OV_FRONTEND_PATH
echo PYTHONPATH and LD_LIBRARY_PATH
* Update get environ variables when are not set
* Set OV_FRONTEND_PATH variable
* Add openvino installation path to OV_FRONTEND_PATH
* Add PYTHONPATH to point install tests dir
* Add debug message for PYTHONPATH
* Update LD_LIBRARY_PATH to point openvino wheel
install directory
* Add comments for environ vars for python API tests
* Remove not required paths from linux CI
* Minor comments update
* Allow to compile wheel package based on OpenVINO developer package
* Added wheel specific runtime dir to avoid issues with generator expressions
* Added backward compatibility
* Trying to fix RHEL, U20
* Fixed cmake options in setup.py
* Added auto-detect for SHUTDOWN_PROTOBUF option
* Hide some helper variables as internal ones
* Update frontends cmake files not to include tests folders
* Added an ability to test private API for TF FE
* Added an ability to test private API for TF FE
* Improved mock frontends in python tests
* Fixed compilation error
* Fixed link on WIndows
When runtime exception was thrown during infer call, the infer
request handle was never relinquished nor condition variable notified.
That caused the get_idle_request_id function wait forever.
* When set batch_size, disable auto batching
* auto-batch only supprt auto plugin
* Set property allow_auto_batching for devices
* cancel static
* Clean Code
* Add test case for testing allow_auto_batching
* Fix the issue after merging latest master branch code
* Add allow_auto_batching in python benchmark_app
* Fix the quotes issue
* When load_network is set to allow-auto-batching, there is no need to read the value of global
* Fix the clang-format
* Change the location
Co-authored-by: River Li <river.li@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
* Building python frontend tests
* Enable mock tests in new python API:
- Fix mock_py frontend library name
- Set same destination for mock_py frontend as others frontends
- Fix importing mock_py frontend
- Minor changes in mock_py tests
* Fix flake8 issue
* Fix linking issue on windows
* Remove DISABLE_PYBIND11 option
* Build mock_py always as shared library
- put mock_py into ov::frontend namespace
- minor re-factor of mock_py
* Add mock c API fix warning on windows
* Fix installation of mock_py frontend
* Install mock_py frontend library in tests
* More detailed error message in python test
when cannot import frontend
* Restore IMPLEMENT_OPENVINO_API for windows build
of pybind_mock_frontend
* Set env paths for python API test on Azure CI
- skip tensorflow conversion ext test when not installed
* Correct skip tensorflow test decorator
* Add C API macro for mock1 frontend
* Ignore E999 error reported by flake8
* Fix conversion extension name for tf imports
* Fix flake8 issues
* Remove python3.8 path from LD_LIBRARY_PATH
on debian CI
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>