Commit Graph

4613 Commits

Author SHA1 Message Date
Ivan Novoselov
cb0d6db4c5
[CPU] Disable NotImpelmented exceptions mechanism for generic node. (#7242) 2021-09-13 11:20:43 +03:00
Chenhu Wang
2093af4f8a
[CPU] DO optimization (#6360) 2021-09-13 11:12:03 +03:00
Victor Kuznetsov
92445d4b80
add new exec with vpu compiler option (set config with MLIR compiler) (#7420) 2021-09-13 10:52:06 +03:00
Victor Kuznetsov
8fa386b9ad
[Memory tests] Add new tests (#7306)
* add memory_tests

* change readme, add versions to requirements file
2021-09-13 10:47:30 +03:00
Alexandra Sidorova
eae448e74a
[CPU] Added inplace support for concat with axis != 1 (#6864) 2021-09-13 10:30:39 +03:00
Irina Efode
b3d6d11a99
[IE TESTS] Move SKIP macro from test bodies to SetUp() in InferRequestCancelation & Move Infer_Request_dynamic tests to the correct folder (#7299)
* try to fix behavior

* Try

* Revert changes

* Update behavior_test_utils.hpp

* Move Deynamic_tests

* fix build

* fix

* Init
2021-09-13 10:09:36 +03:00
Ilya Sharikov
f44369ce4e
Updated requirements (#7397) 2021-09-13 08:50:23 +03:00
Zhang Yi
f1f737636e
[Frontend][Paddle]Handle Exception in Op Conversion. (#7296)
* [Frontend][Paddle]Handle Exception in Op Conversion.

* [Frontend][Paddle]revise comments

* [Frontend][Paddle]add tests for error handling

* [Frontend]fix typo

* [Frontend][Paddle]relax model version check to 2.0.0

* [Frontend][Paddle]fix typo
2021-09-13 08:23:15 +03:00
Dawid Kożykowski
0bc17a2f55
update subgraph test classes (#7383) 2021-09-13 07:19:30 +03:00
Dawid Kożykowski
3afc0342eb
update shared tests classes (#7385) 2021-09-13 07:18:48 +03:00
Ilya Lavrenov
13321e4ab6
Trying to re-use OpenVINOConfig.cmake (#7467)
* Trying to re-use OpenVINOConfig.cmake

* Add ngraph
2021-09-13 07:12:07 +03:00
Szymon Durawa
c50c0d59bb
Add default constructor for op. (#7368)
* Add default constructor for op.

* Apply correct format.

* Apply correct format for py files.

* Remove underscore prefix, add create overlaod method.

* Resolve use cases for parameter arguments in create fucntion.

* Resolve myoy issue.

* Remove underscore for getter and setter functions.

* Restore check when arguments is None.

* Add tests covering raising errors and get_attributes() function.
2021-09-13 06:49:19 +03:00
Bartek Szmelczynski
66bad412a4
udpate scatter spec (#7086)
* udpate scatter spec

* add info about udpates tensor rank

* update updates type

* add values to example, minor style change

* udpate spec style

* add spaces for the better formatting

* Update docs/ops/movement/ScatterUpdate_3.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/ops/movement/ScatterUpdate_3.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/ops/movement/ScatterUpdate_3.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/ops/movement/ScatterUpdate_3.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/ops/movement/ScatterUpdate_3.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-09-13 06:44:20 +03:00
Anastasiya Koryachikhina
021639a044
Remove optimization for sea_itt_lib (#7463) 2021-09-11 16:34:56 +03:00
Yegor Kruglov
9d53b3536d
[MO] Updating MO to detect TF 2.X OD API models (#6983)
* updated FasterRCNN and SSD analysis patterns

* updated tf od api conditions

* updated ssd patterns

* added more ssd topologies

* move preprocessor to tf od api condition

* update TF OD API conditions

* refactoring

* specify data type
2021-09-10 17:44:42 +03:00
Anastasiia Urlapova
754ee2eb1a
Change PowerIE to ops chain (#7439) 2021-09-10 16:55:11 +03:00
Mateusz Bencer
3ea74bd8f8
Add PlaceOpONNX and some missing Place's methods (#7269) 2021-09-10 16:20:41 +03:00
Ilya Lavrenov
a952540edf
Openvino cmake config (#7419)
* Added OpenVINOConfig.cmake

* OpenVINOConfig.cmake part 2

* Trying to fix cmake generation

* Fixes

* Export frontends as well

* Fixed condition

* Added OpenVINO cmake package usage: docs, C samples

* Use more OpenVINO config

* Install OpenVINOConfig.cmake

* Trying to fix private plugins

* Trying to fix .tox

* Trying to fix ARM

* Fixed samples build

* Explicit ngraph duplicated targets

* Fixed fuzzing tests build

* Added IR frontend installation

* Removed install directory for IE reader

* Removed IR frontend from export list

* Reverted ngraph_DIR

* Try to fix .tox

* Fixed ieFuncTests with ONNX extensions

* Attempt #2

* Trying to fix ngraph setup.py

* Fix

* Trying to fix ONNX ngraph .tox CI

* Trying to remove spaces

* Fixed ngraph_DIR -> OpenVINO_DIR

* Removed junk files

* Try to fix ngraph wheel

* Try to fix ie_wheel

* Try to fix ngraph wheel
2021-09-10 15:31:27 +03:00
Gabriele Galiero Casay
deeb96440f
Revise GatherTree reference implementation (#7275)
* Add visitor api test

* Review ngraph op shell with type_prop tests

* Add op to list of trusted operations

* Change name of struct with information of inputs

* Add include of array data structure to fix windowds compilation error

* Add template plugin test class

* Remove usage of CoordinateTransform index function call from reference implementation

* Rename SLT test suite

* Add template plugin unit test

* Add serialization SLTs

* Add indentation on GatherTreeParams class data members
2021-09-10 14:02:49 +03:00
Anton Dudchenko
288a7633bf
[IE][VPU] Fix execTimeMcs for VPU (#7442)
When serializing execGraph, milliseconds were actually written to the execTimeMcs field
2021-09-10 13:08:13 +03:00
Ilya Lavrenov
171f6a62d5
Removed FPGA related deprecated documentation (#7348) 2021-09-10 13:03:00 +03:00
Anton Pankratv
305b86fe4a
Added openvino executable network API (#7230) 2021-09-10 11:55:52 +03:00
Gabriele Galiero Casay
c862abae03
GatherTree specification refactored (#7326)
* GatherTree specification refactored

* Fix typos
2021-09-10 06:31:35 +03:00
Alexey Suhov
b282c74386
[README.md] change latest release to 2021.4.1 2021-09-10 00:25:55 +03:00
Pavel Esir
f68a116af1
[MO] add uint32/uint8 into list of supported data types (#7424) 2021-09-09 16:40:31 +03:00
Fengyi Sun
2a0140d960
[CPU] Fixed sort port bug (#6812)
if port > port_num, the behavior of res[port] is undefined.

Signed-off-by: fengyi.sun <fengyi.sun@intel.com>
Reviewed-by: Wu, Jiangming <jiangming.wu@intel.com>]
2021-09-09 15:32:58 +03:00
Anastasia Kuporosova
36318ca2cc
[Python API] move ngraph python api to the new location (#7364)
* [Python API] Move ngraph python api to the new destination

* fix building tests

* fix code-style checks

* building in azure

* fix building wheels

* apply fixes
2021-09-09 13:41:11 +03:00
Vladislav Golubev
f5767d4a5b
[LPT][Transformations] Dynamic shapes support: functional issues fixes (#7159)
* [LPT] ReshapeTransformation fix

* [LPT] FQDequantization::empty() fix

* [LPT] ConcatTransformation fix

* [LPT] MVNTransformation quick refactoring

* [TESTS] AddTransformation functional tests: removed unused param

* [nGraph] TypeRelaxed::evaluate

* [nGraph] Tile fix

* [nGraph] Intervals addition: overflow handling

* [LPT] MultiplyTransformation: canBeTransformed fix

* [TESTS] TypeRelaxed::evaluate: added test

* [LPT] MVNTransformation compilation error fix

* TypeRelaxed: evaluate fix

* macos fix

* TypeRelaxed::evaluate: postreview fixes

* ConcatTransformation: postreview fix
2021-09-09 13:05:32 +03:00
Tomasz Dołbniak
f5089912e4
MaxPool-8 python API (#7170) 2021-09-09 11:45:47 +02:00
Evgenya Stepyreva
aa106ad270
Unused transformations deleted (#7428) 2021-09-09 10:07:59 +03:00
Andrew Kwangwoong Park
c33856b31f
[GPU] Improve memory usage management to distinguish allocation type (#7318)
Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
2021-09-09 07:19:07 +03:00
Anton Pankratv
1c1401b069
Added default exec network result (#7352) 2021-09-08 23:33:12 +03:00
Ivan Tikhonov
7bc6a8ea13
Fix clone_function method in case of Assign/ReadValue v3 (#7406) 2021-09-08 20:35:24 +03:00
Alexey Lebedev
f89b3d770b
[IE PYTHON] dynamic shape api for python (#7282)
* Added nGraph as a public dependency

* Fixed Windows warning

* Fixed CMake

* Fixed constant op

* Fixed typo

* Added reshape to PartialShape to CNNNetwork

* Added SetShape to InferRequest

* Enable support of DynamicShape in IE Data

* Add support of dynamic shapes to template plugin

* Fixed build

* Enable support dynamic rank

* Fixed test for dynamic rank

* Fixed some tests

* Fix preprocess tests

* Fixed SetBlob

* Fixed code style

* Add more tests

* Fixed accuracy tests

* Fixed documentation

* Added tests for custom operation

* Added new tests

* WIP: move setShape from infer request to Blob

* Returned isApplicable check back

* Removed obsolete tests for InferRequest::SetShape and add new test for Blob::setShape (a trivial one)

* Fixed artifacts

* Break code style

* Revert "Break code style"

This reverts commit 71ee638cd0.

* Added -j8 for fix_all

* Applied code style fixes

* Adde doxygen items

* Fixed style

* Applied codestyle patch

* Reverted unrelevant commit with template extension

* Fixed cmake file for shared func tests (pick from master)

* Revert all changes in template_extension

* Deleted some old stuff that commented and won't be used

* Fixed wrong exception throwing

* Code style fix

* Fixed preprocessing part

* Fixed incorrect blob reshape in GetBlob

* Deleted incorrect assert in GAPI that prevents passing some tests in Debug

* Fixed issues identified during review

* Removed SetShape, replace getLayoutByDims by getLayoutByRank and removed problematic modification from IE preprocessing

* Fixed comments

* Removed obsolete setShape

* [VPU] Fixed allocating dynamic blobs in myriad_infer_request

* Fixed comments

* Fixed CNNNgraphImpl and comments

* add partial reshape for IENetwork

* Add getPartialShape

* Add setShape for Blob

* Add tests

* Add partial_shape property for CDataPtr

* Add partial_shape property for data

* Fix code style

* Fix code style

* Fix test

* Fix code style

* Fix code style

* Fix code style

* Add tests

* Add new lines

* Mark tests

* Fix tests

* call set_shape implicit  only for dynamic inputs

* skip tests on ARM

* remove ngraph dependence from ie_api.pyx

* expand only shape, not array in expand_dims_to_corresponding_layout

* Mark ngraph dependent tests

* remove skip inside test

* code refactoring

* add new line

* Add docstring

* Fix code style

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Lyalin, Sergey <sergey.lyalin@intel.com>
Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2021-09-08 19:41:20 +03:00
Sergey Lyubimtsev
42b93bed42
Add support of pkgutil-style namespace packages (#7422)
* Add support of pkgutil-style namespace packages

* fix linter issue (mypy)

* fix linter issue (mypy)

* ignore # mypy issue #1422

* E261 at least two spaces before inline comment
2021-09-08 19:28:00 +03:00
Ilya Churaev
75808b0026
Hot fix: rename OV_CHECK to OPENVINO_ASSERT (#7429) 2021-09-08 18:32:10 +03:00
Ilya Churaev
d1b0f06f4f
Aligned macro name OV_CHECK->OPENVINO_ASSERT (#7400)
* Aligned macro name OV_CHECK->OPENVINO_CHECK

* Renamed OPENVINO_CHECK to OPENVINO_ASSERT
2021-09-08 17:42:26 +03:00
Mikhail Nosov
3f44858971
Fix 'preprocess' test compilation (#7423) 2021-09-08 16:10:06 +03:00
Mikhail Nosov
b99e1d0a62
[OV20 Preprocessing] Preprocessing API - basic preprocessing functionality (#7391)
* Preprocessing API - base classes

Includes API definition for trivial mean/scale operations (which don't require layout)

Mean/scale with 'layout' support will be done under separate task together
 with Layout

Current test code coverage: 100%

* Rename 'pre_post_process' folder to 'preprocess', aligned with namespace
Fix 32-bit tests

* More cleanup

* Review comments
2021-09-08 15:10:18 +03:00
iliya mironov
60714ce40a
Fix return values for lift_up_through func (#7323)
* Fix return valuese for lift_up_through func

* Update unit test

* Refactoring code according to code review

* Fix revers outputs

* Fix unit test

* Fix comment

* Add multioutput support

* Add unit test for cace with several output from ReverseChannel op

* Fix distinantion connect
2021-09-08 14:48:59 +03:00
Ilya Churaev
8bd41a1f45
Fixed compilation with ov::opsetN:op (#7415)
* Fixed compilation with ov::opsetN:op

* Fixed code style
2021-09-08 13:49:43 +03:00
Mateusz Tabaka
990b7e67da
[MO] MulFakeQuantizeFuse - don't fuse if mul constant has zero or negative values (#7347) 2021-09-08 13:26:49 +03:00
Ilya Churaev
722891756f
Changed ov::PartialShape to ov::Shape (#7154)
* Changed ov::PartialShape to ov::Shape

* Renamed ngraph::Shape to ov::StaticShape

* Fixed code style

* Fix python API

* Fixed typo

* Fixed test

* Fixed comments

* Fixed tests

* Fixed merge conflicts

* Try to fix build

* Fixed build

* Changed ov::Shape to ngraph::PartialSHape

* Fixed build

* Moved new API to StaticShape and Shape
2021-09-08 12:43:15 +03:00
Nikita Semaev
3c22b2af95
Revise NotEqual (#7198)
* Hiding the problem, Validate() changes 'function'

* Template plugin tests

* Undo the changes that are not necessary

* Align code style

* Added \n at end of file

* Removing an unused implementation

* New version with Code Style checking

* Cleaning backend tests

* Reworked the tests the right way

* Removed visit_attributes()

* Removed visit_attributes() in source file

* Added NGRAPH_CHECK macros to evaluate()

* Removed zero_sized_not_equal mention from unit_test.manifest

* Added function name to the constants.py

* Revert "Added function name to the constants.py"

This reverts commit 5b7478056f.

* Return visit_attributes() for op::v1::NotEqual due to NotEqual being moved to another location
2021-09-08 11:30:40 +03:00
Ilya Churaev
5d68e890aa
Removed incorrect link from cnpy readme (#7405) 2021-09-08 11:13:53 +03:00
Elizaveta Lobanova
66a14f1ac3
[GNA] Fixed scale factors propagation for Eltwise with very different inputs ranges (#7305)
* [GNA] Fix scale factors propogation for Eltwise with very different inputs ranges

* [GNA] Added test

* [GNA] Added exception for scale factor <= 0

* [GNA] Disable tests with integer weights

* [GNA] Added assert for CNNLayer in getScaleFactor()

* [GNA] Added check if scale factor is inf

* [GNA] Fixed legacy tests
2021-09-08 10:48:05 +03:00
Maksim Kutakov
5096fe19f1
[CPU] Dynamic shapes support using fallback on reference (#6882) 2021-09-08 10:33:20 +03:00
Evgeny Lazarev
4547818fb1
Move TF OD API docs to code + several fixes for TF OD API models conversion (#7377)
* Refactored code, updated comments and documentation related to TF OD API models pre-processing.

* Improved MO messages related to pre-processor block removal during conversion of the TD OD API models. Remove mean/scale if padding is used and mean/scale is applied before resize

* Updated TF OD API transformation and documentation for SSD models

* Updated comments and documentation for the ObjectDetectionAPIMaskRCNNSigmoidReplacement transformation

* Updated comments and documentation for the ObjectDetectionAPIMaskRCNNROIPoolingSecondReplacement transformation

* Updated comments and documentation for the ObjectDetectionAPIPSROIPoolingReplacement transformation

* Updated comments and documentation for the ObjectDetectionAPIProposalReplacement transformation

* Updated comments and documentation for the ObjectDetectionAPIDetectionOutputReplacement transformation

* Minor code style fixes

* Fixed unit tests for ObjectDetectionAPIPreprocessor2Replacement transformation

* Improved unit test for pipeline.config parser. Fixed very long bug with incorrect test data for the PipelineConfig parser class

* Code style fixes

* Get rid of "coordinates_swap_method" parameter in the JSON configuration file for TF OD API models

* Code style fixes and minor refactoring

* Simplied code related to swapping Proposal coordinates

* Removed incorrectly removed code

* Fixed code review comments about the code comments
2021-09-08 10:03:01 +03:00
Victor Kuznetsov
4d377901bf
Move all utils to common folder (#7303)
* move all utils to common folder

* add utils install in CMakeLists.txt

* revert plugin utils

* add log info: test

* add logging info: test

* test imports

* change imports: test

* fix file name
2021-09-07 23:02:10 +03:00
Alexey Lebedev
d5e063d435
Mark ngraph dependent tests (#7392) 2021-09-07 22:28:57 +03:00