Commit Graph

3238 Commits

Author SHA1 Message Date
Kate Generalova
6510a68b10
fix: exclude .clang-format files from drop (#5353) 2021-04-23 10:07:40 +03:00
Ilya Lavrenov
4073e16a9e
Fixed compilation for deprecated API (#5356)
* Fixed compilation of offline API

* Fixed compilation with gcc 5.4

* Fixed compilation of ONNX importer dependencies
2021-04-23 09:27:39 +03:00
Patryk Elszkowski
576e750317
Constant op class update for Low Precision (#5311)
* add support for u1, u4 and i4 in op::v1::Constant

* fix convert_i4_to_string test

* Fix makeBinaryConvolution to fill memory allocated for LP types

* Add unit-test for range validation

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-23 07:31:04 +03:00
Patryk Elszkowski
6a850b1e7b
refactor convertOutputPrecision (#5338)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-23 07:07:23 +03:00
Vladimir Paramuzov
cf6acfde78
[IE CLDNN] Fixed ambiguous native_powr call in mvn for fp16 out type (#5298) 2021-04-22 19:37:45 +03:00
Gleb Kazantaev
28cad9e3fb
Add transformation pipline for POT (#5328) 2021-04-22 19:13:14 +03:00
Patryk Elszkowski
cc7ae5e6d1
add for serialization names for i4 u4 (#5337)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-22 18:41:41 +03:00
Ivan Kochin
636736825c
OpenVINO Hybrid CPUs support internal interface (#4602)
* OpenVINO Hybrid CPUs support

* Remove custom::task_arena abstraction layout

* Get back to the custom::task_arena interface

* Add windows.h inclusion

* Fix typo in macro name

* Separate TBB and TBBbind packages

* Fix compile-time conditions

* Fix preprocessors conditions

* Fix typo

* Fix linking

* make linking private

* Fix typo

* Fix target_compile_definitions syntax

* Implement CMake install logic, update sha hash for the tbbbind_2_4 package

* Add tbbbind_2_4 required paths to setup_vars

* Update CI paths

* Include ie_parallel.hpp to ie_system_conf.cpp

* Try to update dependencies scripts

* Try to fix dependencies.bat

* Modify dependencies script

* Use static tbbbind_2_4 library

* Remove redundant paths from CI

* Update tbbbind package version

* Make custom::task_arena inherited from tbb::task_arena

* Incapsulate all TBB versions related logic inside the custom namespace

* Move custom layer header to internal scope + minor improvements

* Introduce new ThreadBindingType + fix compilation

* Fix compilation

* Use public tbbbind_2_4 package

* Apply review comments

* Fix compilation without tbbbind_2_4

* Fix compilation with different TBB versions

Co-authored-by: Kochin, Ivan <ivan.kochin@intel.com>
2021-04-22 18:11:13 +03:00
Irina Efode
e4d4eda31b
[IE CONFORMANCE] Skipping tests on device (#5329)
* Init

* test

* f

* ddd

* Extend
2021-04-22 16:53:53 +03:00
Irina Efode
f2f0fb36da
[IE TESTS] Enable validation of template plugin in Conformance suite (#5345)
* Init

* Remove device dependency
2021-04-22 16:19:16 +03:00
Vitaliy Urusovskij
ed0b66f31d
Fix timeline report for MemCheck by querying target instead of current branch (#5350) 2021-04-22 15:51:35 +03:00
Katarzyna Mitrus
311416ac02
[Spec] Transpose op spec update (#5215)
* Update detailed description

* Update input info

* Output description update

* Update math formula

* Change T1, T2 to T and T_AXIS

* Update input description

* Update output description

* Update examples

* Simplify output description

* Add missed comma
2021-04-22 15:31:06 +03:00
Irina Efode
13e91c3ce2
[IE TESTS] Report update (#5346)
* Init

* fix op versions
2021-04-22 15:26:21 +03:00
Kate Generalova
99df448669
refactor: add clang style check for samples (#5306)
* refactor: add clang style check for samples

* fix: add .clang-format for ie

* fix: style check for missing headers

* refactor: remove cpplint for IE samples

* fix: setw is not a member of std for classification_results.hpp

* feat: add indent after ifdefine

* feat: set up google style for IE samples

* fix indents for w_dirent headers

* fix: include issues for utils.cpp due to clang-format
2021-04-22 14:02:54 +03:00
Elizaveta Lobanova
78cf72819b
[GNA] fix pwl for Sigmoid quantised with signed range (#5271) 2021-04-22 13:27:21 +03:00
Tomasz Dołbniak
3e8bc2db69
Handle f32/bf16 conversion in UT (#5330) 2021-04-22 11:59:29 +02:00
Kate Generalova
82e2b4188b
feat: add checks for Py samples (#5339) 2021-04-22 11:03:49 +03:00
Peter Würtz
b3ac14c8d4
Fix openvino build without OpenCV. (#5154)
* Fix openvino build without OpenCV.

* Don't call find_package in case of ENABLE_OPENCV=OFF
2021-04-22 09:46:40 +03:00
Anton Pankratv
aec12d6dff
Fixed missed linking references for outer plugins (#5341) 2021-04-22 09:44:44 +03:00
Alexey Lebedev
6770f7995e
[IE Python] fix BlobBuffer dtype for FP16 precision (#5155)
* Fix deepcopy

* Add test

* Revert dtype for BF16 precision

* Fix test

* Add exception for BF16

* Update BlobBuffer dtype for FP16 precision

* Revert exception for BF16

* Update test
2021-04-22 09:33:16 +03:00
Kate Generalova
22a3d81a59
install requirements file for common python (#5325) 2021-04-22 09:09:52 +03:00
Rafal Blaczkowski
805d184357
Enable parallel execution open vino onnx ci (#5332)
* Separate workdir for parallel runs

* Use random

* Get back old working configuration

* Change label

* Debug parameters

* Change models dir to SHA approach

* Fix WORKDIR names

* Change mountig models dirs

* Update model preproces script

* Improvements

* Isolate all private variables

* Fix model dir path

* Update model preproces

* Update node label

* Remove debug printlns
2021-04-22 08:58:11 +03:00
Ilya Churaev
9d37403f89
Changed clang-format for nGraph to fix namespace comments (#5269)
* Changed clang-format for nGraph to fix namepace comments

* Update comments

* Fixed code style
2021-04-22 08:06:54 +03:00
Ilya Churaev
a672b9c599
Enabled Wall for nGraph (#5270)
* Enabled Wall for nGraph

* Fixed Linux build

* Fixed ONNX Editor and class-memaccess

* Fixed topK

* Fixed some builds

* Fixed nGraph Python API

* Use std::fill instead of cycle

* Wno-unded and deprecation for app python versions
2021-04-22 06:24:03 +03:00
Nikolay Tyukaev
56e58c0443
fix labels (#5340) 2021-04-21 21:27:42 +03:00
Yegor Kruglov
d2c4d068b5
fixed mismatch of input names between framework and MO .mapping file (#5256) 2021-04-21 18:46:49 +03:00
Taylor Yeonbok Lee
6c46f26a3c
[IE CLDNN] Enabled fusing all types of reorders to permute (#5101)
* [IE CLDNN] Enabled fusing all types of reorders to permute
- Fusing reorder to differnt dims (e.g., 4D=>5D, 6D=>4D, etc)
- Fusing reorder to permute_opt kernel for blocked formats
- Fixed bug for activation_opt kernel for blocked formats

* [IE CLDNN] Enabled fusing all types of reorders to permute
Refactoring for permute fsv opt kernel

* [IE CLDNN] Permute reorder fusing
Support reordering to different dims from optimized permute kernel for blocked format
2021-04-21 17:50:53 +03:00
Taylor Yeonbok Lee
ad6a0e7e6d
[IE CLDNN] Add additional cost metric for deciding deconv kernel (#5252)
- gen9_common_conv_bwd_data_kernel (used for fsv16 format) has additional overhead w.r.t stride. Current intention of the kernel implementation is to reuse kernel b/w multiple input values but if the stride gets bigger the reusable rate descreses.
- Thus, added additional panelty for deciding deconv kernel (format)
2021-04-21 17:08:25 +03:00
Alexandra Sidorova
0d3baee1f3
[CPU] [IE TESTS] Added improvements for DepthToSpace and SpaceToDepth (#3897) 2021-04-21 16:45:07 +03:00
Nikolay Tyukaev
9abd69109c
fix (#5335) 2021-04-21 16:32:15 +03:00
Ilya Lavrenov
02bc98a03f
Removed suppressions for IInferRequest deprecation (#5310)
* Removed suppressions for IInferRequest deprecation

* Fixed Windows

* More fixes for Windows

* Fixed compilation on Windows

* Fixed comment in documentatipn

* Fixes for Andorid

* Fixes for old gcc 4.8

* WA for cross-compilations

* Fixed compilation

* Fixed HETERO plugin compilation for old compilers

* Flags

Co-authored-by: lab_ddpqa <lab_ddpqa@intel.com>
2021-04-21 16:05:30 +03:00
Tomasz Dołbniak
b65003ac59
Preserve the input names when extracting subgraphs (#5207) 2021-04-21 13:16:01 +02:00
Tomasz Socha
e44f0cb2ac
Switch ONNX Importer to gather v7 (#5084) 2021-04-21 13:08:40 +02:00
Bartosz Sledz
0cbcc519ed
Change ONNX Operator GroupNorm to use 4D input for MVN (#5324) 2021-04-21 12:07:47 +02:00
Vladimir Zinoviev
9e6d3bf40a
[CPU] Plugin fuse negative and denormal scales in FQ (#5159)
[LPT] Not fuse inf resulted scales in FQ
2021-04-21 12:53:49 +03:00
Piotr Szmelczynski
f3ef302114
Revise maximum (#5086)
* add floor_mode type_prop tests to CMakeList

* create type_prop tests

* create additional unit tests

* add maximum to summarize.py
2021-04-21 11:34:03 +03:00
Piotr Szmelczynski
6910a737e0
Revise floor mod (#5058)
* add floor_mod type prop test to CMakeList

* create floor_mod type prop tests

* create op_eval tests for floor mod

* Update copyright

* add op to summarize.py

* update copyright

* remove unused variable

* add tests for int64 and int32

* clear unit test file

* Change second input generation of single layer test of cpu plugin to also generate negative numbers for floorMod

* Update test results and remove one test

* fix bug with secondaryInput shape

* add backend tests

* add new line

* create additional backend tests

* Update backend tests
2021-04-21 11:33:48 +03:00
Dmitrii Khurtin
b718de0cee
[GNA] Update GNA library (#5228)
* [GNA] Update GNA library to 1191 version

* append symlink to libgna.so

* append selective unpacking of the archive

* changed the criterion for checking the unpacking process (exit code)

* remove tabs

* add equalToReferenceWithDelta_1191

* removed equalToReferenceWithDelta_1191

* master -> update_gna_library
2021-04-21 10:34:45 +03:00
Mikhail Ryzhov
a8e154b189
Added out of bounds check for output ports (#5305)
* Added out of bounds check for output ports

* Corrected if condition

* Updated exception message

* Added functional test

* Verified particular type of exception
2021-04-21 09:00:09 +03:00
Bartek Szmelczynski
0f2569fad9
Revise exp (#5236)
* refactor exp class

* add backend and type_prop tests

* add SLT for exp operator

* add SLT for serialzation for activation type ops

* remove redundant files
2021-04-21 08:58:55 +03:00
Mikhail Treskin
76fd791363
Define OP version in report by first occurrence in opset instead of type_info (#5177) 2021-04-20 22:33:52 +03:00
Jan Iwaszkiewicz
7a634490dc
Add GELU fusion (#5067)
* GeLU fusion

* Fix matcher and sqrt(2) value

* Replace with math constant

* Correct comments in header file

* Add tests for transformations

* Add define of math constants in tests

* refactor code and add checks for nullptr

* Extend tests with failing examples

* change tests
2021-04-20 15:34:55 +03:00
Evgeny Lazarev
f3d1aa6490
Moved MO unit test files to a separate directory (#5312)
* Removed test-generator from all MO requirement files except the dev one

* Moved all MO unit tests files to a separate directory

* Added __init__.py files to the tests directory. Fixed importing paths for some unit tests

* Fixed imports in all unit tests. Moved all unit test related files from the MO code to the dedicated directory

* Renamed directory with unit test utils

* Updated imports in unit tests
2021-04-20 14:47:18 +03:00
Irina Efode
7963dc93ed
[IE TESTS] Small refactoring of conformance suite (#5123)
* TEST

* test

* tmp

* c

* Workaround fro unsaved report

* d

* e

* tmp

* test

* Timeout + fix for summarize

* Fixes

* Remove debug coe
2021-04-20 14:43:33 +03:00
Alexander Zhogov
49dceb2810
Azure: Add install setuptools on Linux (#5299)
* Azure: Add install setuptools on Linux

* Add upgrade pip
2021-04-20 13:00:43 +03:00
Roman Kazantsev
7a500e185b
Specify Einsum-7 operation (#5145)
* Specify Einsum-7 operation

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

* Finalize specification for Einsum-7 operation

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

* Remove duplicate example

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

* Update doc headers with Einsum operation

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

* Apply comments after the first review: grammar corrections and sentence rephrase

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

* Apply feedback from tech-writers and online review

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

* Make additional grammar corrections

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

* Correct documentation: optimize some sentences, links and examples

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

* Support capital letters in equation and implicit mode

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-04-20 11:04:38 +03:00
Szymon Irzabek
a359fe9f37
[GNA] Add basic low precision support for more layer types (#5138)
* [GNA] Add basic low precision support for more layer types, add simple test

* [GNA] Fix test

* [GNA] Make divisor const, add more clarity to some conditions
2021-04-20 10:40:00 +03:00
Pavel Esir
41bdec12df
[nGraph] Gather v7 v1 up down transformations (#5118)
* v7->v1 works fine

* gather v1->v7 works fine

* changed op::v7 -> opset7, op:v1 -> opset1

* bumped to gather7 in all transformations

* applied review comments

* fixed pre-commit failures

* disabled incorrect unit-test, fixed f32->i32

* added comments why AddConvertToReorderTest was disabled

* Revert "bumped to gather7 in all transformations"

This reverts commit 965dc295

* fixed typos in v1->v7, v7->v1

* added GatherBase, redefined pattern in eliminate_unsqueeze gather, turned on Gather downgrading transformation

* resolved conflicts and build errors

* 🚀 finally EliminateUnsqueezeGather works: added inheritance of RTTI info from GatherBase

* fixed pre-commit failurer

* removed redundant debug code

* reverted f32 for Gather-1 indices in unit-tests and transformations

* relaxed restrictions for indices and axis type for v1::Gather

* corrected op scope

* moved type_check to validation_util.cpp

* removed type checks from Gather, removed upgrading transformation

* applied review coments

* fixed minor typos
2021-04-20 10:27:48 +03:00
Bartosz Lesniewski
f2306adf98
Squeeze operator class refactoring (#5065)
* Revise Squeeze op class

* code style fix

* Move backend tests from fused_op.in.cpp to a separate file

* Add missing newline

* added axes input range and type validation

* add validation checks for the second input rank and type

* style fix

* remove axes input type checks

* add support for a single input squeeze op

* remove output static rank assignment in validate_and_infer_types

* Improve shape propagation for partial shape inputs with static ranks
2021-04-20 08:01:48 +03:00
Pavel Esir
1f0b55be04
fixed error with PerfCounters (#5300) 2021-04-20 06:58:26 +03:00