* Support operations on aliases of tensors
* Add tests
* Fix issue with convnd
* Fix code style
* Fix issue with tensor index of mutated tensor
* Fix if types alignment
* Fix issues in keypoint detectron2
* Fix issue with masks in detectron2
* Fix acuracy issue in mobilevitv2 models
* Remove unused includes
* Return upsample case in lictconstruct replacer
* Fix types, apply review feedback
* Apply feedback
* Revert change of not using shared_from_this for getitem
* Fix issue in prim::device transformation
* Fix layer tests
* Apply review feedback
* Fix issue with not existing alias to tensor
* Custom attribute reading and While operation support
* Rearanges FLATBUFFERS_LOCALE_INDEPENDENT setting
* Style
* Make flatbuffers code as version independent as possible
* Comments addressed
* Fix squeeze compatibility
* Fix issue in remainder causing model to fail
* Add tests for slice
* Modify remainder to support int + add type tests
* Apply requested changes
* Add comment
* Update docs for frontend extensions
* Apply suggestions from code review
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* fix order in openvino_framework_map
* no discard return value
* add note of openvino_contrib repo
* update example for PT
* note
* add paragraph of named inputs and outputs
Signed-off-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
* title underline too short
* review comments
* remove m_ prefix from CustomOp attr names
---------
Signed-off-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
* Fix issues in aten::chunk and aten::split_with_sizes replacers
* Fix code style
* Fix compute issue
* Fix code style
* Support 1 chunk
* Fix issues in meshgrid, sqrt, rsqrt and exp operations
* Use Interpolate-11
* Fix unary ops
* Add tests for unary ops
* Fix unary ops tests
* Add changes in utils
* Fix mo test
* Remove extra line
* Fix mo tests for int
* 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
* Build using conanfile.txt
* Update .ci/azure/linux_arm64.yml
* Several improvements
* Removed conanfile.py
* Try to use activate / deactivate
* Fixed clang-format code style
* Supported TBB version from Conan
* Added more NOMINMAX
* Fixed static build
* More improvements for static build
* Add usage of static snappy in case of static build
* More fixes
* Small fixes
* Final fixes
* Added torch script backend
* Added ts_backend to pytorch layer tests
* Added use_ts_backend fixture to the test suite to activate the
torchscript backend
* Fixed failing test_dict layer test
* Added USE_TS_BACKEND as an env variable
* Removed use_ts_backend fixture
* Added more tests for ts backend
* Added more information in the comments about usage
* Removed convolution3d test from precommit_ts_backend
* Added some torchscript backend tests to ci
* Removed tests from CI as torch.compile doesn't support 3.11 currently
* Fixed linter issues
* Addressed PR comments and linter issues
* [TF FE] Provide single tensor names for inputs and outputs in SavedModel
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
* Xfail some cases due to internal problems in TF
* Xfail other layer test
* Extend documentation for function to adjust tensor names
* Use old path of tf2 layer testing for legacy frontend
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Mark one Keras ConvLSTM2D test with xfail
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Change to skip
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [MO] Remove use of mapping file and its generation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix pylinter findings
* Remove usage of mapping file in the layer tests
* Fixing layer tests for legacy frontend
---------
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.
* Fixing run_timest python script for input and output precision
* Update code according to the PR review
* Update run_timetest according to the last review
* Add input_precision and output_precision to test_timetest as well
* Set input/output precision per model
* [TF FE] Fix layer tests for BatchToSpace and add to the pre-commit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Specify type for batch_shape
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Test the second output for TopK operation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Switch off no sorted case
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* User can set input and output precision for timetest tool
* Update run_timetest.py with the ip and op options as well
* Use only one getType function
* Add extra line at the end of the file
* Remove unused parameters
* Update comment accordingly
---------
Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
* 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>
* 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>
* Mark all failed ONNX layer tests as XFail
* Add additional xfailed marks
* Add one more failed tests into XFail
* Add conditions for CPU/GPU failures
* Revert "Add conditions for CPU/GPU failures"
This reverts commit 790524c59c.
* Add failures separation for CPU/GPU
* Replace all xfail with skip
* Support setting and getting element type, shape and value in PyTorch FE InputModel
* Fix code style
* Fix code style
* Fix rsub layer test
* Fix py style
* Apply review feedback
* Fix code style
* Fix initial values of input and output flags in Place
* 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.
* Add support for concatenation in Loop
* Apply suggestions from code review
* Fix win build
* Fix issues with propagation shapes and types in Loop
* Fix einsum
* Set type and shape of count in frontend
* 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
It turned out that NormalizeL2 is absent in tf.raw_ops api
and always presented in the decomposed form.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Refactor LogSoftmax translator and layer test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Work around for the legacy frontend
* Update src/frontends/tensorflow_common/src/op/log_softmax.cpp
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [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] Fix FusedBatchNormV3 in case of mean and variance empty tensors
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add to nightly
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Refactor ZerosLike and add layer test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix test for Wide and Deep model
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [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>
* [TF FE] Refactor LinSpace translator and add layer test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove start_shape from test parameters
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Refactor LeakyRelu and add layer tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Support LeakyRELU for TensorFlow Lite
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* add support for aten::stack
* add new lines
* updated aten stack transformation
* add comments to the code
---------
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
* [TF FE] Refactor translators for Reduce ops and add layer tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Correct number of inputs
* Use already implemented logical operations tests
---------
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`
* 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>
* [TF FE] Refactor CropAndResize support
Make it more reshape-oriented. It allows to convert Mask R-CNN model without config file.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update src/frontends/tensorflow_common/src/op/crop_and_resize.cpp
* Use Gather for coordinates swapping
* Update src/frontends/tensorflow_common/src/op/crop_and_resize.cpp
* Update src/frontends/tensorflow_common/src/op/crop_and_resize.cpp
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Adds base class and first test for tflite_layer tests
* adds layer tests for unary ops
* adds functionality to get tensors from ops
* 1. adds functionality to use custom funcs for input generation
2. removed UNIQUE op from testing ops
* adds functionality to use custom dtypes
* Cast operation support
* Enhanced tfl layer tests
* Trigger tfl layer tests in .ci
* Apply suggestions from code review
---------
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>
Co-authored-by: missjane <estepyreva@gmail.com>
* Add meshgrid listunpack transformation
* Add case when indexing is not specified
* Fix typos
* Fix problem with 1 input execution & missing runtime_info
* Fix issue with meshgrid placed in loop body
* Add tests to precommit
* Apply sugestions from review
* Fix input 0
* Improve indexing attribute read
* add aten::topk
* remove commented lines
* remove white space
* move include to invidual ops
* swithc include statements
* fix style
* trim test cases
* 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
* [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>
* add time_to_first_inference_result KPI as sum of inf latency values
* append unit time after the value
tested locally, worked
* Revert "append unit time after the value"
This reverts commit 428b8cafdc.
* remove metric
* revert 42dd271c3b
* enable { SCOPED_TIMER(first_inference_latency); }
* enable first_inference_latency
tested locally, it works
* remove trailing whitespace
Co-authored-by: Daria Ilina <daria.krupnova@intel.com>
* 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>
* [TF FE] Support Group Convolutions
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Split cases of regular Convolution and GroupConvolution operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
It allows to fix inference results mismatch for some models
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* keras to tflite version of tests
* Update tests/layer_tests/common/tf2_layer_test_class.py
Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>
* moved out tf utility functions from modules with tf_layer_test classes to tf_utils module
* moved out tf utility functions from modules with tf_layer_test classes to tf_utils module and tflite_utils modules
Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>
* [TF FE] Support While and Stateless While operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Reimplement setting outputs
* Apply code-review: while input number and copy-rights
* Apply code review feedback: correct template and fix typo
* Apply code-review feedback: more strict checks in reorder_ops_by_names
* Specify type for the generated test data
* Minor change to re-run CI
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support TF2 Object detection models
For support of OOB conversion of OD models (Faster RCNN, SSD models) several fixes were done
for Select, BroadcastArgs, Slice, and Concat operations.
Implement tests for each case
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Switch off Transpose Sinking that breaks some model conversion
* Apply code-review feedback: copyright and extra commented out code
* Mention that for concat this is workaround
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Fix ResizeBilinear for uint8 type and test Resize operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Convert to fp32 right before interpolation
* Add one more test for fp64
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* changed fw_eps for test_conv_5D_precommit tests
* fixed cases with changing fw_eps for test_conv_5D_precommit tests
Co-authored-by: Roman Kazantsev <roman.kazantsev@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>
* [TF FE] Optimize FusedBatchNorm translator - avoid Transposes
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix FusedBatchNorm: correct compute for batch_mean and batch_variance
* Add layer tests and fix based on them
* Mark failing test cases and bind to issue tickets
* Work around tests for FusedBatchNorm in inference mode
* Use separate fictitious constants for reserved outputs
Signed-off-by: Kazantsev, Roman <roman.kazantsev@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.
* 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.