Commit Graph

5204 Commits

Author SHA1 Message Date
Mikhail Nosov
d65e7d4d4f
[OV20] Preprocessing: convert_layout<std::vector<uint64_t>> implementation (#8213)
* Preprocessing: convert_layout<std::vector<uint64_t>> implementation

User is able to use this version without specifying layout explicitly

Same version of convert_layout is added for post-processing

Added usage of new convert_layout to ie_network_reader

* Fix review comment
2021-10-27 11:32:44 +03:00
Bo Liu
ccffed468c
PriorBox-8 specification (#8000)
* New version of PriorBox operation to add new 'min_max_aspect_ratios_order' attribute

* Apply suggestions from code review

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* Apply suggestions from code review

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

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-10-27 11:29:06 +03:00
Ilya Churaev
6717868bbf
Remove blob symbols from Inference Engine library (#8212) 2021-10-27 11:08:37 +03:00
Mikhail Nosov
00866d90df
[Caching] Disabled sporadically failed tests (#8238)
* Disabled sporadically failed tests

* Disabled one more test
2021-10-27 10:59:24 +03:00
Anna Khakimova
4b9cdbbba3
Workaround for bitexact issues. (#8225) 2021-10-27 10:46:40 +03:00
Luwei Zhou
05074efb9b
Add the shape_inference_test folder for CPU. (#8189) 2021-10-27 10:20:31 +03:00
David Nam
96af987c46
Migrate shape1,2 to template plugin test (#8200)
* Migrate shape1,2 to template plugin test

* Fix member variables order
2021-10-27 09:26:32 +03:00
Mang Guo
3ce0f2573a
[pdpd] Specify SEQ_LEN for each batch (#8057)
* Specify SEQ_LEN for each batch

* Generate different seq_len for each batch

* Remove print
2021-10-27 09:00:13 +03:00
Anastasia Popova
bf8f9164ed
Unification of layout and data types of Parameter and Result in MO (#7630)
* Added transposes insertion for Parameter and Result.

* Separated into several transformations.

* Corrected runtime_info format.

* Fixed runtime info serialization.

* Code refactoring.

* Corrected checks.

* Added debug output.

* Added check.

* Fixed unit tests.

* Changed old api map format, removed debug output.

* Moved serialize to rt_info property, code corrections.

* Refactored RTInfo class.

* Small corrections.

* Small corrections.

* Removed redurant import.

* Added tests, added undefined default type.

* Code reformat.

* Fixed serialization unit tests.

* Added comment.

* Added comment.

* Small test correction.

* Changed default values of old_api_map to values from old API IR.

* np.array -> int64_array

* Update MO to use FE to read IR; Swith MO IR version to 11

* Preserve output node name when inserting Transpose

* Codestyle

* Fix layer tests

* Pylint fix

* Disable ref_graphs comparision in layer tests

* codestyle

* Updated MO IR reader.

* Moved version initialization to constructor of OldApiMap.

* Added shape infer after transpose insertion.

* Fixed Pylint

* Removed wrong attribute removal.

* Added transposes insertion for Parameter and Result.

* Separated into several transformations.

* Corrected runtime_info format.

* Fixed runtime info serialization.

* Code refactoring.

* Corrected checks.

* Added debug output.

* Added check.

* Fixed unit tests.

* Changed old api map format, removed debug output.

* Moved serialize to rt_info property, code corrections.

* Refactored RTInfo class.

* Small corrections.

* Small corrections.

* Removed redurant import.

* Added tests, added undefined default type.

* Code reformat.

* Fixed serialization unit tests.

* Added comment.

* Added comment.

* Small test correction.

* Changed default values of old_api_map to values from old API IR.

* np.array -> int64_array

* Update MO to use FE to read IR; Swith MO IR version to 11

* Preserve output node name when inserting Transpose

* Codestyle

* Fix layer tests

* Pylint fix

* Disable ref_graphs comparision in layer tests

* codestyle

* Updated MO IR reader.

* Moved version initialization to constructor of OldApiMap.

* Added shape infer after transpose insertion.

* Fixed Pylint

* Removed wrong attribute removal.

* Serialize fix.

Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
2021-10-27 03:24:54 +03:00
Bo Liu
d5a5dc1aa1
doc of paddle 2nd batch operations support (#7952)
* doc of paddle 2nd batch operations support

* Modified based on UX/DX Team feedback

* update the example command in Convert_Model_From_Paddle.m

* Apply suggestions from code review

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

Co-authored-by: meiyang-intel <yang.mei@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-10-27 02:02:21 +03:00
Andrey Babushkin
16cee44fbb
Add Jenkinsfile for POT (#8179) 2021-10-26 23:05:53 +03:00
David Nam
fb9c949b29
Migrate FakeQuantize-1 to template plugin test (#8115)
* Migrate FakeQuantize-1 to template plugin test

* Fix cpplint error
2021-10-26 19:10:25 +03:00
Irina Efode
ac5b0e881a
[IE GPU] Skip sporadic failure in CI (#8109) 2021-10-26 15:24:37 +03:00
Egor Duplensky
a02eafb397
[CPU] [BF16] Do not enforce BF16 for graph tail (#6114) 2021-10-26 14:49:36 +03:00
Vladislav Golubev
4a96d14adc
[nGraph] Reshape: upper_bound propagation fix (#8177) 2021-10-26 14:22:29 +03:00
Bartek Szmelczynski
bd2fdca9de
remove CT from ref impl (#7959) 2021-10-26 13:54:47 +03:00
Yury Gaydaychuk
87b9a5b6e9
[CPU] Dynamic support for ShapeOf (#7875) 2021-10-26 12:55:08 +03:00
Victor Kuznetsov
445292b079
change pr type (#8143) 2021-10-26 11:29:57 +03:00
Nikolay Shchegolev
65d6010e4d
[CPU] Dynamic shapes. Gather. (#7858) 2021-10-26 08:45:47 +03:00
Yegor Kruglov
345c3510f3
set num_classes to None in multibox_detection extractor (#7860) 2021-10-26 00:02:10 +03:00
Vladislav Golubev
64a0e3dbd0
[LPT] ReshapeTransformation: non-constant reshape pattern supported in case of per-tensor dequantization (#8095) 2021-10-25 22:27:16 +03:00
Victor Kuznetsov
b754013aec
fix work with query memory timeline (#8063)
* fix work with query memory timeline

* revert timeout changes

* upd readme

* change README.md
2021-10-25 16:51:53 +03:00
cecilia peng
1858fa3853
[frontend][paddle] It is possible that get_output_partial_shape returns dynamic shape. Then we cannot simply check if it is 1. In case of BERT which input shape is dynamic, this check will absolutely fail. (#8030) 2021-10-25 15:36:13 +03:00
Vladislav Golubev
57a7d3dfcf
[dynamism][CPU] PRelu transformations: dynamic shapes support (#7342)
* [TESTS] CPUUnitTests: unitTestUtils added to CMakeLists

* [CPUTransformations] ReshapePrelu: dynamic shapes support

* [TESTS] ReshapePrelu tests

* [CPUTransformations] ConvertToLeakyRelu: dynamic shapes support

* [TESTS] ConvertToLeakyRelu tests

* Reshape1D: functions moved to namespace

* ReshapePRelu: slope as parameter fix

* postreview fixes

* cleanup

* postreview fixes

* ReshapePRelu quick fix
2021-10-25 14:12:11 +03:00
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