Commit Graph

5030 Commits

Author SHA1 Message Date
Maksim Kutakov
e6bc8c59a9
[CPU] Native dynamic shapes support in the Softmax node (#7852) 2021-10-25 14:11:59 +03:00
Vladimir Gavrilov
86208efd56
nGraph version of the MO transformation SplitConcatPairToInte… (#7850)
* Written nGraph version of the MO transformation SplitConcatPairToInterpolate.

* Small fix.

* Started to write tests for the transformation.

* Small fixes.

* Written more tests.

* Deleted commented code.

* Deleted debug prints.

* Added the transformation SplitConcatPairToInterpolateFusion into common_fusions.

* Small fix.

* Relaced std::set by std::unordered_set.

* Now the function grouped_vector is not template function.

* Small simplification.

* Deleted commented code.

* Now std::pair is used instead of SplitAndScale.

* Enabled the transformation SplitConcatPairToInterpolateFusion and added it into MOCTransformations pipeline.

* Removed the transformation from common_optimization.cpp.

* Small fixes.

* Added comment to the function grouped_vector.

* Deleted the local variable result from the function get_split_before_concat().

* Small change.

* Added comments for the conditions on input rank.

* Used std::tie instead of .first and .second.

* Skipped the ngraph namespace specification in the transformation callback.

* Got rid of std::unordered_set of std::shared_ptr<ngraph::opset8::Split>.

* size_t was replaced with uint64_t.

* Added descrption of the transformation.

* Small fix.

* Added condition that scale_factor != 1.

* Added more tests. Also the transformation has boolean parameter use_shape_for_elimination.

* Small fix.

* Written CPU layer tests for the nGraph transformation SplitConcatPairToInterpolateFusion.

* Some fixes.

* Added tests for the case of dynamic input shapes.
2021-10-25 13:59:42 +03:00
Anton Pankratv
8741b1504a
Fixed dlerror KW issue (#8184) 2021-10-25 13:46:31 +03:00
Liubov Batanina
e0f88b7dc5
Change OMZ submodule version (#8170) 2021-10-25 12:58:22 +03:00
Vladimir Paramuzov
f48415d739
[GPU] Removed pad value check (#8085) 2021-10-25 12:12:50 +03:00
Kelvin Choi
de750b93fc
[GPU] Revert input's output layout in case of does_possible_implementation_exist failure (#8108)
Signed-off-by: Kelvin Choi <kelvin.choi@intel.com>
2021-10-25 17:47:42 +09:00
Sergey Shlyapnikov
e6f0b8fe88
[GPU] DG2 layout optimizer improvements (#8074)
* [GPU] DG2 layout optimizer improvements

* Fix FP16/FP32 regressions and optimize first qunatize/reorder
2021-10-25 10:55:40 +03:00
Anastasiya Koryachikhina
8b0bec4e04
Small changes in memcheck tests (#7128)
* add "" for windows in cmd line

* requirements test

* requirements test

* add requests in requirements

* add scipy in requirements

* add executable python for prepare models

* remove extra requirements

* add window for supported in memcheck tests

* add scipy in requirements

* change check of product_type

* add return for windows

* change form of return arg in run_memcheck

* change form of return arg in run_memcheck

* remove windows check

* change return format

* remove empty line

* change downloader_path
2021-10-25 10:49:33 +03:00
Anton Pankratv
c39e6fcfd8
added ov InferRequest behaviour tests (#7811) 2021-10-25 10:36:17 +03:00
Ilya Lavrenov
479081ff32
Minimized a number of static variables in static build (#8131)
* Minimal RRTI for cpuFuncTests

* Fixed build

* Fixed compilation

* clang-format fix

* Fixed compilation for GPU plugin

* Fixed CPU

* Fixed comments

* Fixes

* Fix

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation
2021-10-25 10:23:04 +03:00
Sergey Shlyapnikov
77799a2a56
[GPU] Add OneDNN FC support for DG2 (#8076) 2021-10-25 09:50:28 +03:00
Ilya Churaev
838bd20065
Removed autogeneration of tensor names, added new reshape API (#8134)
* Removed autogeneration of tensor names, added new reshape API

* Fixed code style

* Fixed tests

* Fixed tests

* Fixed comments
2021-10-25 07:34:24 +03:00
Ilya Lavrenov
eb7f261d15
Several samples moved to OpenVINO 2.0 (#7970)
* ngraph functio sample

* Fixes

* OV2.0: NV12 hello classification with new preprocessing API

* Fix clang-format

* Rewrote several samples

* Some updates

* clang-format

* Fixed TODO

* Fixed comments and improved samples

* Preprocessing comments

* clang-format

* Fixed comment

* Fixed Windows

* Added back Blob support to ClassificationResult

Co-authored-by: Michael Nosov <mikhail.nosov@intel.com>
2021-10-23 22:47:35 +03:00
Anton Pankratv
c6eaa5d653
Added syntetic hetero tests for dynamic shapes (#8050) 2021-10-23 01:20:49 +03:00
Roman Kazantsev
8b3a7cfc8e
Hide extra header files of TF Frontend into src (#8086)
* Move extra TF Frontend headers to src

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

* Load a model by GraphIterator

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

* Apply code style

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

* Avoid use of InputModelTF in FrontEndTF API and correct a comment

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

* Apply code style

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

* Apply code style

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-10-23 01:17:06 +03:00
Ivan Tikhonov
a7dff0d0ec
[TF FE] Enable unit tests in precommits (#8132)
* Enable unit tests in azure

* fix build

* check w/o installing to the package

* return to the package

* remove from the package again and set path to bin for tf unit tests

* Azure CI: set lib path for tf tests

* Azure CI: set correct path for tf tests on Win

* Azure CI: fix test start directory

* fix cmake file

* resolve review comments

* fix destination paths, fix comments
2021-10-22 18:56:53 +03:00
Irina Efode
80c707090c
[IE TESTS] Make Shared lib independent from CPU plugin (#7624)
* [IE TESTS] Make Shared lib independent from CPU plugin

* tmp version
2021-10-22 14:41:00 +03:00
Vladimir Paramuzov
9b61698bce
[GPU] Align queue type in engine with shared queue (#8144) 2021-10-22 11:56:17 +03:00
azhogov
54daae48e1 Azure CI: Add LIN_LOHIKA pipeline 2021-10-22 10:18:26 +03:00
Mingyu Kim
f15fcabfeb
[GPU] minor improvements (#8113)
* Show bucket/batch id in case of build failure
* Support OV_GPU_DisableOnednn properly.
2021-10-22 13:01:14 +09:00
Ilya Lavrenov
dfefb92164
Made ov::runtime::Tensor strides to be in bytes (#8078) 2021-10-21 22:35:58 +03:00
Elizaveta Lobanova
0fb24e8040
[GNA] Fixed segments creation for multi segment pwl functions (#8044)
* [GNA] Fixed extreme segments creation for tanh pwl

* [GNA] Tests added

* [GNA] Added tests for different activations

* [GNA] Comments apply
2021-10-21 17:54:23 +03:00
Anton Chetverikov
c9dc922f3c
GatherND_8 specification (#7739)
* Add specifiation for GatherND_8 operation

* Update formula

* Add links to op spec

* Fix existed and add new example

* Correct output shape formula

* Add restriction for batch_dims values

* Add reference for gatherND-8 operation

* Update batch_dims=3 example

* Fix output shape in example

* fix lines length

* Fix typo

* Fix wrong shape

* Update note about calculation of out shape

* Apply suggestions from code review

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

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-10-21 14:52:09 +03:00
Dmitry Pigasin
0f282b687f
Add rhel8 support (#8129) 2021-10-21 14:13:41 +03:00
Vladimir Paramuzov
a9119a3a3e
[GPU] Added missing external queue handling in new Create request method (#8141) 2021-10-21 14:09:12 +03:00
Aleksandr Pertovsky
7f1e8617fd
[CPU] Fix condition for blocked layout in StridedSlice (#7245) 2021-10-21 13:33:40 +03:00
Nikolay Shchegolev
2952ba70af
[CPU] Dynamic shapes. Transpose node. (#7859) 2021-10-21 13:28:50 +03:00
Alexey Lebedev
d7fbd6f7ab
[IE PYTHON] fix gil (#8068)
* remove nogil

* Add test
2021-10-21 12:06:41 +03:00
Alexey Lebedev
0793290762
[IE PYTHON] optimize blob creation with numpy (#7813)
* Optimize blob constructor and remove user blobs

* restore user_blobs

* Rename helper function

* add test

* Remove empty line

* Fix code style

* add const

* Add test for SCALAR layout
2021-10-21 12:03:23 +03:00
Sergey Shlyapnikov
2a20d9a6e7
[GPU] Update OneDNN submodule to 2.4.1 version (#8119) 2021-10-21 11:38:31 +03:00
Mikhail Znamenskiy
49f76af131
[Tests] Add virtual inheritance for the shared tests classes (#7897)
* [Tests] Add virtual inheritance for the shared  tests classes

* [Tests] Add virtual inheritance for the shared  tests classes - part 2
2021-10-21 11:31:50 +03:00
Liubov Batanina
b7cfa39fc0
[POT] Added missed file to POT (#8118)
* Added missed file to POT

* Update OMZ submodule
2021-10-21 11:28:26 +03:00
song, bell
ff14899a96
revise GRU cell/sequence (#7901)
* add typepro/vistor tests

Signed-off-by: fishbell <bell.song@intel.com>

* remove redundant test file

Signed-off-by: fishbell <bell.song@intel.com>

* fix clang format

Signed-off-by: fishbell <bell.song@intel.com>

* typo

Signed-off-by: fishbell <bell.song@intel.com>

* update doc

Signed-off-by: fishbell <bell.song@intel.com>
2021-10-21 11:26:53 +03:00
Katarzyna Mitrus
e0062fc274
Extend openvino (ngraph) Python API for operation Slice-8 (#7965) 2021-10-21 10:22:51 +02:00
Mikhail Nosov
d39fe50470
[OV20] Preprocessing: reverse_channels and RGB<->BGR conversion (#8098)
* Initial draft

* Support of dynamic shapes
2021-10-21 11:22:43 +03:00
Vladislav Golubev
55a0e8332b
[dynamism][CPU] Reshape1DOps transformation: dynamic shapes support (#7307)
* [CPUTransformations] Reshape1DOps: dynamic shapes support

* [TESTS] Reshape1DOps tests

* Reshape1D: functions moved to namespace

* postreview fixes

* postreview fixes

* [CPU] Reshape1DOps: reshapes with shapeOf->gather sequences is replaced by unsqueeze/squeeze
2021-10-21 11:15:23 +03:00
Ilya Lavrenov
1b1e0e7553
preparation for static compilation (#8099)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags
2021-10-21 10:56:06 +03:00
Vladislav Golubev
0cf8d18988
[CommonOptimizations] SimplifySecondInputOfReshape transformation (#7412)
* [CommonOptimizations] SimplifySecondInputOfReshape implementation

* postreview fixes

* review comments fixed
2021-10-21 10:49:42 +03:00
Vladimir Paramuzov
6f754052cf
[GPU] Extended remote context to accept user queue (#6235)
* [GPU] extended remote context to accept user queues for each stream

* [GPU] OV2.0 API for queue sharing. Removed deviceName arg for context creation
2021-10-21 10:45:25 +03:00
Gleb Kazantaev
f8439eeed8
Update Transformations tests to check tensor and node names (#8100)
* Check tensor names in pass tests

* Update Transformations tests to check tensor and node names

* Check input node names; default TENSOR_NAMES comparison; fix transformations to keep node names
2021-10-21 10:41:37 +03:00
Vladislav Golubev
243efa465e
[Transformations] FCTransformations: leftovers (#8062) 2021-10-21 10:38:14 +03:00
Mingyu Kim
cb26462288
Reshape activation zero points tensor to one element tensor. (#8105)
Co-authored-by: Jade Cho <jade.cho@intel.com>
2021-10-21 16:26:49 +09:00
Dawid Kożykowski
64340ec2fc
[ONNX] ConvInteger (#8042) 2021-10-21 08:58:20 +02:00
David Nam
e9777a6da0
Migrate range1,4 to template plugin test (#8023)
* Migrate range1,4 to template plugin test

* Fix cpplint issue

* Return NULL in default case in range test

* Fix cpplint error
2021-10-21 09:27:56 +03:00
David Nam
f80005f513
Migrate arithmetic2 to template plugin test (#8053) 2021-10-21 09:27:06 +03:00
Luwei Zhou
c2512f8dc5
[shape_infer]Implement ExperimentalDetectronDetectionOutput shape infer. (#7903)
* Implement ExperimentalDetectronDetectionOutput shape infer.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Update on the review comments.

* Update based on review
2021-10-21 09:15:16 +03:00
Ilya Churaev
83fe59bd3e
Moved SO Loader to util library (#8017)
* Moved SO Loader to util library

* Removed redundant headers

* Fixed code style

* Fixed build

* Fixed templateFuncTests

* Removed SharedObjectLoader from util library
2021-10-21 06:47:48 +03:00
Ilya Churaev
0f3c10c810
Infer request api (#7962)
* Introduce new API

* Fixed comments

* Fixed code style

* Introduce some new API

* Fixed code style

* Reverted names

* Exend OVExecNetwork tests

* Changed executable network API

* Fixed tests

* Fixed comments

* Fixed style

* More tests

* Applied changes

* Fixed windows build

* Fixed typo

* Fixed some tests

* Fixed code style

* Fixed pre-proc tests

* Fixed documentation comments

* Added more comments

* Fixed code style

* Remove friend

* Removed find tensor API from internal classes

* Avoid old API in new constructors

* Fixed CPU tests

* Fixed comments

* Fixed template tests

* Extended test cases

* Revert data creation

* Fixed GNA and GPU plugins

* Fixed comments

* Fixed GNA tests

* Try to fix tests for GPU

* Fixed GNA tests

* Fixed GNA

* Try to fix Myriad tests

* Removed check to see an exception message

* Fixed HETERO import

* Reverted mkl-dnn submodule

* Fixed clang-format

Co-authored-by: y <ilya.lavrenov@intel.com>
2021-10-20 22:08:55 +03:00
Ivan Tikhonov
a9b773e4b2
[TF FE] Port Transpose Sinking transformation (#8043)
* TransposeSinking transformation

* Enable TransposeSinking

* apply codestyle

* Add unit tests
2021-10-20 20:31:32 +03:00
Yuan Hu
3a909a7f5f
replace AUTO_DEVICE_LIST with MULTI_DEVICE_PRIORITY in test cases (#7932)
* replace AUTO_DEVICE_LIST with MULTI_DEVICE_PRIORITY in test case

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* remove KEY_AUTO_DEVICE_LIST

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-10-20 19:44:58 +03:00