Commit Graph

2580 Commits

Author SHA1 Message Date
Mateusz Bencer
cc645d50e4
Resolve Klocwork issues (#4341) 2021-02-16 11:55:28 +01:00
Jan Iwaszkiewicz
a3af43c8e4
[ONNX] Minimum op xfail updated (#4332) 2021-02-16 11:43:07 +01:00
Katarzyna Mitrus
a980bc9bd9
Spec update (#4353) 2021-02-16 13:18:40 +03:00
Patryk Elszkowski
e1d983a12e
XmlDeserializer - move to src file (#4347)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-16 13:15:41 +03:00
Ilya Lavrenov
01b499b334
Hidden visibility for ONNX (#4233) 2021-02-16 13:06:41 +03:00
Andrey Sokolov
8278e3960f
[IE][VPU]: support GatherElements* (Gather + GatherElements) (#4220)
Support (Gather+GatherElements) optimization for GatherElements layer.
Includes PR: #4140
2021-02-16 12:59:13 +03:00
Pavel Esir
22169a05b9
[MO] StridedSlice improvements (#4139)
* fix ss

* successfully converted

* successfully run moved infer and normalizer unit-tests

* successfully rewritten StridedSlice infer unittests

* int64 array

* Successfully converter crash-when-loading, xj_feauture and toy nets (cherry-picked maxpoolV4 and tf_broadcast_ext)

* successfully moved PermuteAttrs to general mechanism

* successfully converted xj_feauture and crash when loading with the new rewritten SS infer

* fixed get_shape_from_slice and moved to common utils

* fixed extending masks and some other

* some refactoring

* fixed extending masks in extractor, fixed licence year and some other code clearing

* corrected a couple of unittests

* fox permute for 5 rank slice and 4 rank inputs/

* WIP

* Added comments

* fixed StridedSlice in ProposalMutation.py

* rechecked shape_infer unittests added some new cases

* added shape_infer unit-tests after StridedSliceNormalizer pass and Permute unit-tests

* corrected unittests

* Applied review comments

* general permutations for inputs implemented, corrected ellipsis unrolling when shrink_axis is at the beginning, some other corrections

* removed code duplication in infer and normalizer, moved 'slices' attr normalizing to StridedSliceNormalizer.py

* removed some code duplication and other minor improvements

* Added tests

* minor corrections

* wider range of unittests added (froze the number)

* review comments applied

* enabled skipped unit-test

* comment corrections

* applied review comments: changed op -> type, added some asserts, corrected comments and other minor corrections

* sorted inputs, updated Supported_Frameworks_Layers.md, some minor
2021-02-16 11:48:49 +03:00
Andrei Kochin
d2548ddb60
[Docs] Add opset6 content and add opset reference (#4338)
* [Docs] Add opset6 content and add opset reference

Delta to opset5:
 * CTCGreedyDecoderSeqLen
 * GatherElements
 * MVN-1 -> MVN-6

* Update opset6.md

* adding ie_docs.xml based on @lazarevevgeny comment
2021-02-16 10:24:58 +03:00
Maksim Kutakov
274a70bd14
[CPU BF16] BF16 support was added to the SoftMax primitive. (#4279) 2021-02-16 09:41:21 +03:00
Mingyu Kim
75eca09abd
[IE CLDNN] Yolo v4 bugfix from some model (#4260)
* Winograd conv seems to cause slight error
* Enable fsv16 path in case where RegionYolo exists
* Prefer bfyx from RegionYolo primitive
2021-02-16 09:08:15 +03:00
Vladimir Paramuzov
ad21c6d3a4
[IE CLDNN] Fixed dynamic batch for 2D layout (#3992) 2021-02-16 08:43:31 +03:00
Mingyu Kim
e22d946a56
Typo for cross-check tool (#4350) 2021-02-16 07:08:54 +03:00
Patryk Elszkowski
a73e997480
Refactoring FunctionsComparator - extract node comparison part (#4175)
* Refactoring FunctionsComparator - extract node comparison part

* try to fix logic and CentOS bulids

* Add negative test for precision

* Use fixed ngraph::descriptor::Tensor type instead template type

* reorganize ngraph_test_utils.cpp

* Cleanup after merge master into branch

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-16 07:04:19 +03:00
Elizaveta Gerashchenko
769bb77095
[IE CLDNN] ITT cldnn part (#4253) 2021-02-15 21:35:54 +03:00
Andrey Sazonov
a558a6f143
Fix GetConfig doc (#4333) 2021-02-15 21:13:34 +03:00
Michał Karzyński
ccc1a9f357
Rename dunder methods (#4334) 2021-02-15 18:34:21 +01:00
Ilya Churaev
c52c4916be
Added a template for PRs (#4313) 2021-02-15 15:18:29 +03:00
Andrey Dmitriev
5866f713d9
[GNA] Added test for backward compatibility (#4315) 2021-02-15 14:46:56 +03:00
dependabot[bot]
01e4606bd0
Bump tox from 3.21.2 to 3.21.4 in /ngraph/python (#4227) 2021-02-15 11:55:33 +01:00
Ivan Novoselov
9e87ddfc55
Ngraph reference implementation: OneHot specifications review. (#4243)
* Reformulated, intermediate. No positive indices.

* Indices >= 0, depth > 0.

* Added the Types section and a more complicated example.

* Behavior for negative indices is undefined

* Wrap T1 & T2 with *

* Revert mkl-dnn to cae1e0b83

* T1: int32 or int64 only
2021-02-15 13:47:46 +03:00
Katarzyna Mitrus
30c52dce35
[SPEC] DeformablePSROIPooling specification update (#4282)
* DeformablePSROIPooling spec update

* Typo update

* Description update

* xml identation

* Review changes
2021-02-15 13:45:43 +03:00
Mateusz Bencer
d821ec47ce
[ONNX] Handle optional outputs for Dropout and MaxPool (#4143) 2021-02-15 11:14:20 +01:00
Andrey Somsikov
4f79d9ccfc
Force test use bash for setupvars.sh (#4321)
setupvars.sh is incomatible with sh shell.
2021-02-15 13:07:17 +03:00
Bartosz Sledz
01aaaf1138
Add support for custom ONNX operator PriorBoxClustered (#4202) 2021-02-15 10:31:30 +01:00
Katarzyna Mitrus
ead6427097
ONNX RNN/GRU enable dynamic input shape (#4241) 2021-02-15 10:30:46 +01:00
Tomasz Jankowski
b800f08c0c
[ONNX] Remove linking libonnx from unit-test (#4298)
* Remove linking libonnx from unit-test

* Consider all flavors of protobuf libraries

* Avoid passing on NOTFOUND properties

* Set system deps for mac

* Revert include dirs set up
2021-02-15 07:35:03 +03:00
Bartosz Lesniewski
7c8b8e5dda
Fix comparison of constant with short float NAN values (#4299)
* fix comparison of constant with short float NAN values

* adjust precision, remove elvises

* more templates

* add ir serialization  test with float16 const

* remove unused prototxt
2021-02-15 07:22:19 +03:00
Vladimir Paramuzov
51a7d7b799
[IE CLDNN] Fixed CTCGreedyDecoderSeqLenLayerTest gpu instances (#4326) 2021-02-14 21:30:04 +03:00
Marina Kolpakova
434e66d7fb
[CPU] Refactors jitters for nGraph interop (#4255) 2021-02-14 15:40:34 +03:00
Roman Lyamin
d406a5af50
[IE CLDNN] Added CTCGreedyDecoderSeqLen operation (#4119) 2021-02-14 11:03:25 +03:00
Evgeny Lazarev
3f5ff2cfe5
Remove generic ie op (#4213)
* Removed legacy IE shape infer

* Removed GenericIE operation

* Removed legacy shape infer tests

* Removed legacy test with legacy IE reshape

* Fixed compilation issues related to removal of GenericIE

* Fixed one more compilation issue with clDNN

* Fixed test for reading experimental ops

* Updated tests and make IR Reader to load old experimenal and extension ops as opset6

* Change opset of some ops only if they are currently experimental/extension to avoid situation like opset1::Proposal -> opset6::Proposal

* Removed more legacy code

* Returned back code removed by mistake

* Fixed issues related to incorrect merge with master

* Merge fixes

* Fixed unit tests which starts to fail because now loading the model with unknown operation is failed earlier

* Removed incorrectly added code

Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2021-02-13 21:15:46 +03:00
Alexander Zhogov
0442184d0d
Azure CI: Disable IB stop 2021-02-13 09:07:41 +03:00
Yasunori Shimura
15d6a0ff48
DPC++ link error workaround. (#4192)
* DPC++ link error workaround.

OpenVINO C++ program failed to link when DPC++ compiler is used.
'make_shared_blob' causes 'unresolved external symbol' error on linking.
Commented out some __clang__ specific directives to workaround the issue in "ie_blob.h".

* DPC++ compatibility issue fix #2

1. Removed type-by-type template class definition for __clang__.
2. Modified TBlob() destructor. The 'unresolved reference' error occur again if I left 'virtual ~TBlob();' only. It seems it needs to be 'virtual ~TBlob() {};'.

* DPC++ compatibility fix #3 - Add DPC++ conditional code

Uses '__SYCL_COMPILER_VERSION' predefined macro to check if the compiler is a DPC++ or not.
Added conditional directive to switch code based of the detected compiler.
NOTE: User program must include <CL/sycl.hpp>, or the '__SYCL_COMPILER_VERSION' macro won't be defined and this fix won't take effect.

* DPC++ compatibility issue fix #4

Changed from #ifdef to #if + logical formulas.

* DPC++ compatibility issue fix #5

Added compiler check logic in src/ie_rtti.cpp

* DPC++ Compatibility issue #6 - ie_parameter.cpp

Added compiler check macro for DPC++ to ie_parameter.cpp as well.

Co-authored-by: Yasunori Shimura <yasunori.shimura@intel.com>
2021-02-13 08:44:25 +03:00
Anastasia Popova
eeb7835128
Result rename operation (#4242)
* Added result rename operation

* Optimize imports

* Added ResultRename to package_BOM

* ResultRename moved to the end of back phase, code refactoring

* Revert incorrect changes

* Optimize imports

* Added comments and optimized imports.
2021-02-12 22:44:21 +03:00
Alexander Zhogov
2bf0e88b30
Azure CI: Enable IB initiators as helpers 2021-02-12 21:49:22 +03:00
Maksim Doronin
fff10ea93a
[IE][VPU]: Check memory capacity after finding the corresponding device (#4314)
This issue relates to multi-device mode.
While we are trying to allocate a graph on one of the devices we should check memory capacity only for the corresponding device, not for the last opened as far devices may have different memory capacity or the latest opened device may have still not sent its attributes (including memory capacity)
2021-02-12 18:00:15 +03:00
Maksim Kutakov
7454aa2d1a
[CPU] MKLDNN NCHW pooling primitive performance fix. (#4235) 2021-02-12 17:44:57 +03:00
Artyom Anokhov
ef147905f1
[OpenVINO Scripts] Updated with RHEL8 (#4296)
* Updated install_NEO_OCL_driver.sh & install_openvino_dependencies.sh with rhel8 case

* install_NEO_OCL_driver: Fixed conditional

* script: Updated with actual revisions
2021-02-12 16:38:20 +03:00
Elizaveta Lobanova
f4c071f635
[GNA] Support 1d tensors (#4270) 2021-02-12 16:26:10 +03:00
Patryk Elszkowski
3dbecf01fc
Fix TI deserialization (#4285)
* XmlDeserializer relay on parameter/result (input/output) index which is reported during inserting to function

Xml parameter/result order is irrelevant now.

* drop stack usage - just single class member

* try to fix CentOS build

* fix after review

* Drop std::map to custom structure

* reorder layers in TI in test IR which failed on current master

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-12 16:04:25 +03:00
Daria Mityagina
deaf1f9d93
[IE][nGraph]: Fix - Accuracy deviation on deeplabv3 (#4294) 2021-02-12 15:59:29 +03:00
Ivan Novoselov
45c8898321
[IE TESTS] Add OneHot SLT (#4059) 2021-02-12 14:53:08 +03:00
Evgeny Lazarev
bdc0dcfcf5
Fixed bom file and updated unit test (#4309) 2021-02-12 14:47:18 +03:00
Kate Generalova
1d4a3b1f34
doc: remove CentOS minor version from Docker (#4307) 2021-02-12 14:28:43 +03:00
Vladislav Golubev
06145e20fc
[LPT] MatMulTransformation: support Quantize/Dequantize on weights (#4206)
* [LPT] NetworkHelper::isConstantPath functional tests

* [LPT] matMul 3D: support Q/DQ on weights
2021-02-12 13:02:07 +03:00
Piotr Rozen
3f6dbb8a00
[GNA] 4D StridedSlice, Clamp, InsertIdentityLayerPass, SubstituteScaleShiftBroadCastPass fixes (#4061)
* fixed: StrideSlice/Crop was broken when crop axis != dim.size() - 1 & added support for tensor dim > 2
fixed: clamp had hard coded upper & lower boundary to -50/50
fixed: InsertIdentityLayerPass was adding not necessary identities that was leading to exception when 2 identities was added to convolution output
fixed: SubstituteScaleShiftBroadCastPass caused invalid input tensor dimension overwrite - instead of overwrite currently reshape is injected

* updated copyright header dates

* updated copyright date

* fixed braces not at the end of line

* fixed braces in if else sequence

* shortened line length

* fixed issues reported in review

* fixed test - model in test assumed clamped range <-5,5> however code had hard coded value <-50,50>, which test assumed as correct result

* fixed smoke_MemoryEltwiseReshapeConcatTest/MemoryEltwiseReshapeConcatTest

* [GNA] Added test for crop 4d

Co-authored-by: Andrey Dmitriev <andrey.dmitriev@intel.com>
2021-02-12 12:27:00 +03:00
Maxim Kurin
f29da36b1b
[IE][VPU][TESTS]: CTCGreedyDecoderSeqLen myriad test & fixes (#4177)
* Implements test for CTCGreedyDecoderSeqLen layer in Myriad plugin.
* Changes the way CTCSeqLen operation is generated. Moved random generation of SeqLen input from makeCTC function to the test. Made test to clamp test's parameters to be in valid range.
2021-02-12 11:50:26 +03:00
Ilya Lavrenov
5fe882e550
CVS-48367: Enable HoldersTestOnImportedNetwork test on GNA (#4230) 2021-02-12 11:45:51 +03:00
Patryk Elszkowski
0e4650399c
ref_impl - Concat: buffer calculation of shape sizes (#4240)
* ref_impl - Concat: buffer calculation of shape sizes

* Update ngraph/core/reference/src/runtime/reference/concat.cpp

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-02-12 08:14:18 +03:00
Maxim Vafin
d91b9fd8da
Fix backward compatibility of MVN in MO (#4289) 2021-02-11 22:36:31 +03:00