Commit Graph

9123 Commits

Author SHA1 Message Date
Andrei Kochin
1a4117b855
[MO] remove deprecated mean_file option (#14137)
Signed-off-by: andrei.kochin <andrei.kochin@intel.com>

Signed-off-by: andrei.kochin <andrei.kochin@intel.com>
2022-12-17 15:23:54 +04:00
Oleg Pipikin
b808fb7f4f
Enable warnings for transformation tests (#14699)
* Remove warning suppression from tests

* Fix warnings MSVC ov_transformations_tests

* Fix warnings MSVC ov_lp_transformations_tests

* Fix code style
2022-12-17 01:54:24 +03:00
Oleg Pipikin
8e3c3f5c04
Enable clang-format for tests (#14667) 2022-12-17 01:54:07 +03:00
Sebastian Golebiewski
73771a09f0
DOCS: Homepage - openvino workflow section update - for master (#14655)
Removing raw html directive
Updating/improving css
adding new diagram
updating css
2022-12-16 19:49:06 +01:00
Tomasz Dołbniak
56606ec46f
ONNX Adaptive average pooling implementation (#14682) 2022-12-16 15:39:40 +01:00
Oleg Pipikin
e9812caff5
Change compile options for transformation tests to fix CVS-97900 (#14608)
* Change compile options for transformation tests to fix CVS-97900

* Disable cpplint

* Remove changes for RelWithDebugInfo config
2022-12-16 17:09:46 +04:00
Jan Iwaszkiewicz
4479585d47
[PyOV] Rewriting properties tests as hardware agnostic (#14684) 2022-12-16 12:29:20 +01:00
Maxim Vafin
fce4641a25
Preserve input constant in Squeeze and Unsqueeze shape infer (#14432)
* 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>
2022-12-16 15:08:28 +04:00
Pawel Raasz
b850f422ba
Review logical ops for shape inference aspects (#14393)
* Review dims and labels propagation for logical not

* Review dims and labels propagation
for logical and, or, xor

* Remove duplicated tests

* Expand logical ops tests by numpy broadcast
and inputs order

* Review template shape infer of logical ops
 - add static shape inference test
 - add default ctor test

* Default ctor test for LogicalNot op
2022-12-16 14:37:47 +04:00
Katarzyna Mitrus
72c39c3e32
[Shape Inference] ScatterUpdate - add evaluate_label (#14381)
* Add ScatterUpdate type_prop tests

* Add evaluate_label for ScatterUpdate

* style update

* Reuse has_no_labels

* Adjust the logic to the single output

* Remove redundant size_check

* Migrate from HostTensor to ov Tensor

* Remove deprecation macro

* Use auto instead of HostTensorPtr

* Adjust tensor element type

* Update to reuse labels vector

* Use sizeof size_t to set element type

* Ensure static shapes on inputs
2022-12-16 14:34:25 +04:00
Katarzyna Mitrus
e0c21ce302
ScatterUpdate CPU shape_infer by entryFirstPassthrough (#13950)
* ScatterUpdate shape_infer tests

* Add ScatterUpdate to entryFirstPassthrough

* Headers cleanup

* Style update

* namespace update
2022-12-16 14:28:16 +04:00
Przemyslaw Wysocki
4bc80ca446
[PyOV] Make graph tests hardware agnostic - part 3 (#14639) 2022-12-16 11:23:35 +01:00
Anastasia Kuporosova
544c1acd2b
[PyOV] remove opencv from requirements (#14617) 2022-12-16 10:05:34 +01:00
Mateusz Tabaka
43164a6b25
[CPU] RDFT kernel optimizations (#14060) 2022-12-16 11:18:27 +03:00
Maciej Smyk
7facf8b90b
DOCS: Low Precision Transformations proofreading port to master (#14069)
* Attributes
* Update lpt_attributes.md
* defines fix
* Update docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/lpt_attributes.md
2022-12-16 10:24:14 +03:00
Maciej Smyk
9b7148c924
Fixing links to API (#14558) 2022-12-16 08:15:29 +01:00
Maciej Smyk
3b726cc0c0
Fixing Python API links (#14561) 2022-12-16 08:14:48 +01:00
Nadezhda Ageeva
539f17df62
[HETERO][nGraph] Fix ConstantFolding fused_names handling (#13766)
* [HETERO][CPU][GPU][TEMPLATE][nGraph] Fix ConstantFolding fused_names propogation. Add tests for QN. Fix for unsupported comsumers in QN

Fix ConvolutionMultiplyFusion for CPU

Enable fused_names check for Constants

Fix memory formats rt info for CPU

* Update src/plugins/intel_cpu/src/utils/rt_info/memory_formats_attribute.hpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/tests/unit/inference_engine/query_model_test.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/plugins/intel_cpu/src/utils/rt_info/memory_formats_attribute.hpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/plugins/intel_cpu/src/ngraph_transformations/convert_matmul_to_fc.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/core/src/rt_info.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/core/src/rt_info.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Fix review comments

* Fix test

* Code style

* Review comments

* Don't add Parameters/Inputs/Results to supported due to supported consumers/sours. Add tests for that.

* Fix rt_info propogation for ConstantFolding

* Fix test build

* Code stye

* Review comments. Adds ShapeOfBase.

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-12-16 10:16:50 +04:00
Roman Kazantsev
e09995bc60
[TF FE] Support models with topologically unsorted nodes (#14652)
* [TF FE] Support models with topologically unsorted nodes

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Fix conversion for models with cycle

* Fix code-style

* Fix code-style

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-12-16 08:50:40 +03:00
Eddy Kim
b46dd308d6
[GPU] Updated to get lockable memories for device inputs in prepare_input() (#14418)
* updated to get ockable memory for device inputs

* gpuFuncTest to set f64 scalar tensor

* aligned type names

* updated to get lockable memory for some specific precisions

* add a function to get a supported precision
2022-12-16 09:12:47 +04:00
Vladimir Paramuzov
fa1cddf278
[GPU] Use ASSERT_* instead of EXPECT_* in most of the cases (#14535) 2022-12-16 09:09:57 +04:00
Przemyslaw Wysocki
07a61d4862
Fix python versions in docs (#14672) 2022-12-15 21:46:57 +01:00
Anastasia Kuporosova
f288baf2b3
Remove unused variables in pytests from azure (#14618) 2022-12-15 21:26:36 +01:00
Ilya Naumov
a0ce891915
benchmark_app python: fix incorrect -i argument parsing for wavernn-rnn input names (#14349)
* benchmark_app python: fix incorrect -i argument parsing for wavernn-rnn input names

* fix for Windows paths
2022-12-15 19:20:14 +03:00
Roman Kazantsev
e44a4fc6d2
[TF FE] Support Assert with string tensors (#14640)
* [TF FE] Support Assert with string tensors

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Update src/frontends/tensorflow/src/op/const.cpp

* Update src/frontends/tensorflow/src/op/const.cpp

* Apply code-review feedback: better to use UnsupportedConstant

* Correct unit-test

* Replace Op with Node

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-12-15 19:28:34 +04:00
Maxim Vafin
9c0ec2c9b4
Add reverse infer (#14348)
* Add reverse infer

* Add more convolutions and include transformation in normalize of tf fe

* Fix code style

* Add activations and eltwise support

* Fix code style

* Add deprecation supression

* Fix pad type

* Remove eltwise

* Remove ngraph namespace usage

* Fix code style

* Apply review feedback

* Add tests for activations and eltwise

* Make transformation friend of tensor to avoid deprecated API

* clang fix all

* Update src/common/transformations/include/transformations/common_optimizations/reverse_shape_and_type_infer.hpp

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2022-12-15 19:26:58 +04:00
Maxim Vafin
7df9031411
Support Dilated convolution in dynamic case (#14615)
* Add Mod evaluate method

* Fix mo transformation for dynamic case

* Fix build
2022-12-15 14:52:15 +00:00
Alexander Kozlov
bc685ac8a0
[Documentation]: Added description for NNCF PTQ (#14437) 2022-12-15 16:10:40 +03:00
Maciej Smyk
ece0341377
DOCS: Quantization doc rewrites - port to master (#14374) 2022-12-15 13:55:06 +01:00
Maciej Smyk
9ba4610797
Stateful models (#14660) 2022-12-15 13:53:26 +01:00
Nadezhda Ageeva
08e46a20e2
[TESTS] Fix QN tests for case when device id is reported (#14601) 2022-12-15 15:41:51 +04:00
Oleg Pipikin
33b0ca885a
Disable clang format for transformation test for fix CI (#14657) 2022-12-15 11:22:34 +01:00
Oleg Pipikin
161a0a6319
Disable clang format for lp transformation test for fix CI (#14629) 2022-12-15 11:12:35 +01:00
Alexandra Sidorova
5eed405478
Fixed Transpose spec (#14623) 2022-12-15 13:51:36 +04:00
Nadezhda Ageeva
6507c7e8bd
Fix code style on master (#14620) 2022-12-15 00:26:02 -08:00
Haiqi Pan
befbae28ca
Add warning of benchmark_app about disabling auto batching (#13907)
* merge master

* reset original format

* remove AUTO

* Update tools/benchmark_tool/openvino/tools/benchmark/main.py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* delete condition

* delete condition in py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-12-15 10:51:57 +08:00
Karol Blaszczak
2f95de3239
DOCS-menu-recreate-structure-step5 (#14636)
port https://github.com/openvinotoolkit/openvino/pull/14637
Shift to separating the Workflow section, including moving Run and Optimize inference inside Deploy locally

change several article and menu titles
minor additional restructuring
minor content tweaks
remove optimization introduction (may be brought back in parts later)
* several link fixes
* additional link fixes
2022-12-14 18:33:19 +01:00
Roman Kazantsev
0cf95d26bf
[TF FE] Add user guide about TF FE Capabilities and Limitations (#14622)
* [TF FE] Add user guide about TF FE Capabilities and Limitations

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Update docs/resources/tensorflow_frontend.md

* Update docs/OV_Runtime_UG/protecting_model_guide.md

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2022-12-14 17:41:00 +04:00
Sebastian Golebiewski
2c20b9a111
DOCS: New homepage for master (#14627)
* new homepage concept

* new diagram
2022-12-14 12:12:37 +01:00
Anastasia Kuporosova
4e8d48a072
[PyOV] Delete repeated requirements files (#14609)
* [PyOV] Delete repeated requirements files

* update azure jobs

* update cmakefiles
2022-12-14 11:28:04 +01:00
mei, yang
3c31488dfe
Set squeeze output shape to scalar if 0 <= input_shape[0] <= 1 (#14293)
* Set squeeze output shape to scalar if 0 <= input_shape[0] <= 1

* add squeeze type_prop test case

* Update src/core/shape_inference/include/squeeze_shape_inference.hpp

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>

* Update src/core/shape_inference/include/squeeze_shape_inference.hpp

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2022-12-14 09:13:05 +01:00
Evgeny Kotov
22d7bc70d9
Transpose sinking general (#13943)
* initial

* build fixes + couple of simple unit tests

* remove old transpose_sinking_binary berfore merge with PR branch

* initial

* clang cleanup fixes

* remove TrasposeAxis function; cleanup namespaces

* fix TransposeInputsInfo spell

* one_input_transpose spell

* cleanup speel

* spell

* decompose forward sinking

* decompose backward sink

* use NodeVector

* clang cleanup

* decomposite transformations into different files

* decompose unit tests

* clang cleanup

* fix transformation names in general transformation

* fix ngraph::pass::TransposeFuse use element type the same as in fusing nodes

* add checkout sinking ability function; check sinking ability for unary operations; add unit test on general transformation

* sinking check for binary; unit tests; fixes

* add check to concat transformation; unit test

* add check to split tranformation

* azure build fixes

* add general test

* cleanup tests using common class

* clang cleanup

* add transpose sinkig to moc

* remove comment

* fix after rebase

* clang fixes

* fix after rebase

* code review fixes

* fix after rebase

* add RUN_ON_FUNCTION_SCOPE to general transformation

* fixes after rebase

* move tests to new directory

* cleanup

* use ov::RuntimeAttribute

* move NoTransposeSinkingAttr to files

* fix namespace

* fix names
2022-12-13 17:08:06 +01:00
Tomasz Jankowski
d980365680
[Offline Transformations] Avoid VC warnings (#14605) 2022-12-13 14:50:54 +01:00
Felix Dohyun Kim
cecea2ef99
[GPU] Add device suffix option for functional tests (#13808) 2022-12-13 17:17:44 +04:00
Vladimir Paramuzov
78bd280a30
[GPU] Fix invalid memory access in lrn fsv16 kernel (#14536) 2022-12-13 17:16:13 +04:00
Sergey Shlyapnikov
9f481e8eaa
[GPU] Fix Pad Primitive shape inference (#14282) 2022-12-13 16:59:55 +04:00
Egor Duplenskii
43808d9da4
[CPU] [TESTS] Avoid performing extra skip check (#10608) 2022-12-13 15:36:28 +04:00
Oleg Pipikin
cc386d13ec
Fix code style for transformation and lp transformations tests (#14073)
* Fix code style for transformation tests

* Fix code style for lp transformation tests
2022-12-13 15:19:09 +04:00
Roman Kazantsev
79e34ccbb3
[TF FE] Add info messages in Model Optimizer (#14586)
* [TF FE] Add info messages in Model Optimizer and the preliminary user documentation

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Add test model with future operation

* Update docs/MO_DG/prepare_model/TensorFlow_Frontend.md

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Apply code-review feedback: Recover use of dict

* Fix the rest of feedback

* Remove User documentation for TF FE

* Correct tests to provide required arguments

* Handle argv without framework argument in deduce_framework function

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2022-12-13 11:01:24 +00:00
Maciej Smyk
519cb35983
DOCS: Proofreading OpenVINO Extensibility - port to master (#14035) 2022-12-13 11:19:37 +01:00