Commit Graph

2859 Commits

Author SHA1 Message Date
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
iliya mironov
3db73ec552
Update mobilenetv3 doc support (#4256)
* Update mobilenetv3 doc support

* Fix doc layout
2021-02-11 22:33:36 +03:00
Nikolay Tyukaev
5c6970b6e5
update layouts (#4301)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2021-02-11 21:30:52 +03:00
Andrey Somsikov
9d57d4f52c
Fix cond comp environment setup (#4290)
source command may not be available in sh.
2021-02-11 21:29:46 +03:00
Rafal Blaczkowski
3eb0b5c90d
Add visible export (#4222)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2021-02-11 19:02:58 +03:00
Jan Iwaszkiewicz
7ff8f8eba4
WA for GCC 7.5 pybind warning (#4277)
* WA for GCC 7.5 pybind warning

* Move compiler flag to ngraph/python
2021-02-11 18:41:23 +03:00
Maksim Makridin
f8d36c55a8
Fixes for Object Detection SSD samples docs (C++ and Python) (#4286)
* Fixes for Object Detection SSD samples docs (C++ and Python)

* fixes from code review

* Fixes for Object Detection SSD samples docs (C++ and Python)

* fixes from code review

* fixes from code review
2021-02-11 17:51:53 +03:00
Evgenya Stepyreva
08ac8d9af9
Reverse input channels fusion (#4276)
* Side fix found while working on Windows machine.

* Fix for non-fused Reverse Input Channels subgraph
2021-02-11 14:27:08 +03:00
Nadezhda Ageeva
4e3d7d23fc
Adds support of user layouts to benchmark_app (#4002)
* Adds support of user layouts to benchmark_app

* Keep snake_case for python

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-02-11 12:57:05 +03:00
Ilya Lavrenov
2a2ef7d989
Removed ngraph-specific variable with flags (#4232) 2021-02-11 12:14:14 +03:00
Victor Kuznetsov
1da8f65b45
Add removing of statistics file in time_tests (#4275) 2021-02-11 12:02:39 +03:00
Evgenya Stepyreva
851d090117
Dynamism leftovers (#4165)
* SubGraphOp shape inference and cloning fixed. WAs deleted

* Fix naming in OneHot->IE transformation

* Check for number of incomming/outcommit HostTensors and check for nullptrs in evaluates and bound evaluators

* move validate_host_tensor_vector into ngraph namespace

* RT propagation

* style
2021-02-11 11:37:44 +03:00
Andrew Bakalin
51b62921e8
[VPU] Fix PR #4140 (#4251) 2021-02-11 10:57:50 +03:00
Andrey Somsikov
8da7f22f1d
Activate OV environment from cond comp test_infer (#4244) 2021-02-11 09:59:37 +03:00
Roman Vyunov (Intel)
b7212b9f34
[IE][VPU]: MVN-6 native partial support (#4238)
* Adding of partial support of MVN-6 operation to VPU Plugin (support restricted by MVN-1 interface)
* Disabling of MVN-6 decomposition for VPU Plugin
* Enabling of test cases for this operation
* Disabling of deprecated MVN tests while investigation is go on
2021-02-10 21:31:13 +03:00
Alexander Zhogov
7f60c3f82d
Actions CI: Remove unused requirements 2021-02-10 19:44:45 +03:00
azhogov
a0db6bc660 Azure CI: Set max timeout for Mac 2021-02-10 18:15:51 +03:00
iliya mironov
0341edcfa0
Update mxnet version (#4081) 2021-02-10 17:19:06 +03:00
Evgenya Stepyreva
a313c0c3ee
Dequantize (Sub, Mul) to FakeQuantize (#4189)
* Dequantize (Sub, Mul) to FakeQuantize

* disable for CPU/GPU
2021-02-10 17:08:11 +03:00
Ilya Churaev
a327b72481
Removed redundant memcpy calls. Share weights from original blob (#4259)
* Removed redundant calls of memcpy. Share weights from original blob

* Fixed nGraph tests
2021-02-10 16:39:15 +03:00
Jan Iwaszkiewicz
63f3a5d99c
Change class member init (#4266) 2021-02-10 14:13:16 +01:00
Jan Iwaszkiewicz
7af2959bd0
[ONNX] Convert to integral type in OneHot op (#4229)
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
2021-02-10 14:03:54 +01:00