Commit Graph

619 Commits

Author SHA1 Message Date
Ilya Lavrenov
f7d6711137
Removed addLayer implementation from ngraph impl (#1400) 2020-07-21 06:36:18 +03:00
Ilya Churaev
54ae67414e
Remove redundant node methods (#1324)
* Remove placement

* Removed validate and infer eltwise

* Remove is eltwise

* Remove support broadcast and decompose

* Removed is_op, is_parameter, is_pattern

* Fixed code style

* Added is_constant and is_output

* Removed is_communicative and is_null

* Fixed code style

* Fixed typo

* Fixed comments

* Fixed typo

* Revert is_parameter, is_output, is_result for OpenCV build
2020-07-21 06:02:00 +03:00
Anna Khakimova
898f0626ad
Fix for issue (#1335) 2020-07-20 20:09:23 +03:00
Vladislav Volkov
41f8086765
Header length for supported model detection is increased (#1363) 2020-07-20 18:11:22 +03:00
iliya mironov
399c7bf39a
Add mish op to ngraph (#1187)
* Add mish op to ngraph

* Update mish op

* Set v4 namespase for tests

* Add mish to cmake

* Add comments for mish op.

* Refactoring code style

* Update version to v1 for Mish op

* Add value propogation test for Mish op

* Refactoring mish op according to review

* Fix mish version

* Update cmake file

* Fix mish value propogation unit test

* Add unit test for mish op

Co-authored-by: Your Name <you@example.com>
2020-07-20 17:43:32 +03:00
Nikolay Tyukaev
ef45b5da8d
Doc Migration (master) (#1377)
* Doc Migration from Gitlab (#1289)

* doc migration

* fix

* Update FakeQuantize_1.md

* Update performance_benchmarks.md

* Updates graphs for FPGA

* Update performance_benchmarks.md

* Change DL Workbench structure (#1)

* Changed DL Workbench structure

* Fixed tags

* fixes

* Update ie_docs.xml

* Update performance_benchmarks_faq.md

* Fixes in DL Workbench layout

* Fixes for CVS-31290

* [DL Workbench] Minor correction

* Fix for CVS-30955

* Added nGraph deprecation notice as requested by Zoe

* fix broken links in api doxy layouts

* CVS-31131 fixes

* Additional fixes

* Fixed POT TOC

* Update PAC_Configure.md

PAC DCP 1.2.1 install guide.

* Update inference_engine_intro.md

* fix broken link

* Update opset.md

* fix

* added opset4 to layout

* added new opsets to layout, set labels for them

* Update VisionAcceleratorFPGA_Configure.md

Updated from 2020.3 to 2020.4

Co-authored-by: domi2000 <domi2000@users.noreply.github.com>
2020-07-20 17:36:08 +03:00
Ivan Tikhonov
4037613db3
Added default constructor for RNNCellBase, fix conversions (#1370) 2020-07-20 14:15:37 +03:00
Rafal Blaczkowski
06119efdf2
ONNX CI: add docker image cleanup (#1394)
* change stage name
 * add docker image cleanup
2020-07-20 13:42:52 +03:00
Jan Iwaszkiewicz
d4c9af91d8
Add getting/setting friendly name for Node wrapper Py API (#1286) 2020-07-20 10:31:49 +02:00
Tomasz Dołbniak
8d6238a3d7
Reference implementations for ReduceLogicalAnd & ReduceLogicalOr (#1333) 2020-07-20 10:20:05 +02:00
Jozef Daniecki
eca80086ac
Add Acosh operator to ONNX importer opset4 (#1351) 2020-07-20 10:18:03 +02:00
Vitaliy Urusovskij
57779511d6
[Stress] Integrate compare_memcheck_2_runs call in run_memcheck.py (#1036)
* [Stress] Define Database constant arguments in memcheck_upload.py only

* [Stress] Simplify computations using HashableDict in `compare_memcheck_2_runs`

* [Stress] Add comparison using pandas
2020-07-20 10:23:51 +03:00
Ilya Lavrenov
2ddf08d14b
Removed tests for old IR reader (#1368) 2020-07-18 12:42:40 +03:00
Ilya Churaev
cc19e57a06
Removed v0 fused operations (#1263) 2020-07-17 19:51:04 +03:00
Anton Chetverikov
dca2ee2bcc
ReduceLp operation specification (#1205)
* Add ReduceL2 operation specification

* Add example

* Update operation specification

* Update operation specification

* Update operation specification

* Update operation specification

* Update types in operation specification
2020-07-17 16:13:19 +03:00
Tomasz Socha
28227dcd9f
[nGraph][Py][Tests] Remove backup of old models (#1349) 2020-07-17 15:12:11 +02:00
Alexander Zhogov
17287f20a0
CODEOWNERS: Add .ci & docs 2020-07-17 15:07:58 +03:00
Andrew Bakalin
5cda3938d8
[IE][VPU][GT]: Use topological order in shape allocation (#1281)
* Some pass creates datas duplicate with a different order from time to time (because of unordered_set usage). It leads to a different order in model->datas() list and affects the shape allocation process which relies on this order.
* Make shape allocation be relied on topological order of datas which is stable and doesn't depend on order datas creation during different passes.
2020-07-17 11:47:37 +03:00
Ilya Lavrenov
ee3fafceda
Fix unsafe use of CPU_ISSET_S macro. (#1357)
Don't increment mapped_idx via prefix increment within the argument of the
potentially unsafe CPU_ISSET_S macro. If the macro is expanded so that the
increment expression is evaluated multiple times, it will return unexpected
results.

While the glibc implementation of CPU_ISSET_S macro seems to be safe, the musl
libc (v1.1.23) version is unsafe and will evaluate the first argument of
CPU_ISSET_S three times.

Co-authored-by: Christian Priebe <cp3213@ic.ac.uk>
2020-07-17 10:51:56 +03:00
Ilya Churaev
29816f7a44
Remove get_arguments (#1323)
* Removed get_arguments

* Fixed code style
2020-07-17 09:50:06 +03:00
Nikita Kudriavtsev
73ee68afb2
[IE][VPU]: CMX limit compile option (#1268)
In some networks, mvTensor would request a large CMX-DMA transfer (<512K). That starves DMA for other timing critical tasks such as SIPP. Limit CMX-DMA request size as an option in myriad_compile:
* Add compile option TILING_CMX_LIMIT_KB
* Declare compile option TILING_CMX_LIMIT_KB in IE tools (compile_tool and vpu_compile)
* Add tests for compile option TILING_CMX_LIMIT_KB. Small fix for naming behavior tests.
2020-07-16 19:54:53 +03:00
Alexander Zhogov
d9927a9f35
Azure CI: Fix cloning git submodules (#1356) 2020-07-16 19:29:54 +03:00
Andrey Somsikov
9df6a8f6a0
fix: inference-engine/ie_bridges/python/sample/requirements.txt to reduce vulnerabilities (#1007)
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-73513

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2020-07-16 18:58:26 +03:00
Irina Efode
bfd318cbd3
[IE TESTS] Add PReLu single layer test (#1306)
* [IE TESTS] Add PReLu single layer test

* [IE TESTS] Small refactoring of test infrastructure

* [IE TESTS] Add shape for activation
2020-07-16 18:16:57 +03:00
Rafal Blaczkowski
e7861c7455
Revert "Header length for supported model detection is increased (#1340)" (#1354)
This reverts commit 5b2ec7840a.
2020-07-16 18:09:45 +03:00
Ilya Lavrenov
949fee3cfc
Remove implicit conversion from getInputTo, getLayerCreator (#1274)
* Added ctor for CNNNetworkImpl to convert from ngraphImpl

* Re-use in all places instead of manual conversion

* Hide convertToCNNNetworkImpl usage

* Removed conversion from getCreatorLayer

* Fixes 2

* Fixes 3

* Fixes 4

* Fixed ieFuncTests

* Fixed more tests

* Fixed LPT tests

* Remove useless test

* Fixed GNA

* Fixed Gleb's comments

* Fixed Core integration tests

* Trying to fix python

* Fixed GPU tests

* Small fixes

* Fixed QueryNetwork after removing implicit conversion

* Fixed Core integration tests for QueryNetwork

* Fixed python; MULTI device QueryNetwork

* Fixed MULTI QueryNetwork

* Removed unused methods

* Enabled LPT FullyConnectedTestModel test

* Fixed typo in python
2020-07-16 16:44:48 +03:00
Vitaliy Urusovskij
930d687ed9
[Stress] Specify OMZ develop branch in get_testdata.py (#1318)
Since in validation OMZ is used from a package (and OMZ is from develop branch), align OMZ default for get_testdata.py
2020-07-16 15:28:25 +03:00
Irina Efode
afee06ec3d
[IE TESTS] Small refactoring of test infrastructure (#1332) 2020-07-16 14:20:08 +03:00
Nadezhda Ageeva
0887a7c0d6
Allow python benchmark_app load onnx model (#1283) 2020-07-16 13:53:43 +03:00
Roman Kazantsev
682e4d3e94
Specify operation CTCLoss-4 (#1189)
* Specify operation CTCLoss-4

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

* Correct documentation for CTCLoss after #1 review

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

* Correct documentation for CTCLoss after #2 review

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

* Correct documentation for CTCLoss after #3 review

* Correct documentation for CTCLoss after #4 review

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

* Correct layout for logits and add more description for unique attribute

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

* Correct types for length and indices tensors

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

* Correct formulas and punctuation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-07-16 12:36:15 +03:00
Alexander Chaiko
0746f47e8a
[IE CLDNN] Adjustment of layouts to choose optimal deconvolution (#781) 2020-07-16 11:54:24 +03:00
Vladislav Volkov
5b2ec7840a
Header length for supported model detection is increased (#1340) 2020-07-16 11:12:40 +03:00
Anton Pankratv
b5e092c00b
Added default multi threaded configuration (#1310)
* Added default multythreaded configuration

* Fixed typo
2020-07-16 10:33:22 +03:00
Nikita Kudriavtsev
804a579be9
[IE Myriad] Remove Myriad 2 from supported devices in XLink (#1331) 2020-07-16 10:29:56 +03:00
Ilya Churaev
317a60545b
remove nGraph deprecated methods (part 1) (#1314)
* Remove remove_goe

* Remove traverse_nodes

* Removed deprecated constructors

* Removed deprecated tensor methods

* Fixed IE build

* Fixed code style
2020-07-16 06:03:59 +03:00
Gladilov, Gleb
3b6cb0e0cd
[IE][VPU][nGraph]: Enables merging subsequent DSR operations (#1326)
Myriad plugin treats DSR operation in a way removing such operations
and connecting inputs with each other (replacing output with one of them).
Semantic of connection is one inputs contains shape of another.
Since the same data object can have exactly one shape it's prohibited
to have DSR inputs connected with another data objects
(the only allowed exception is inputs that are already connected between
each other).

As a result of nGraph -> CNN conversion some operations could be optimized
out which in turn could lead to subsequent DSR operations where each has
its own shape sub-graph. Even if shape sub-graphs are identical it's not
visible to plugin that sees incorrect inputs (inputs of DSR are already
connected, but now with each other, when second DSR is parsed).

To overcome such issue (the reason is when operations are optimized out,
their shape sub-graphs are still there), additional ngraph
transformation should be introduced to merge subsequent DSR into single
DSR operation.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-07-15 22:21:19 +03:00
Gladilov, Gleb
a0d60abef7
[IE][VPU][nGraph]: Fixes Reshape's shape infer method (#1327)
Previously, if Reshape had input pattern with values [0, -1] - it
propagated dynamic shape through a function. At the same time,
taking "0" and "-1" interpretation into consideration, it turns out
in such cases we could just propagate the same input shape in case of
2D input.

For Faster-RCNN this fix makes static dimensions on dynamic paths static.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-07-15 22:17:36 +03:00
Gladilov, Gleb
2803498995
[IE][VPU][nGraph]: Fixes StridedSlice DTS (#1328)
* In case of Begin/End/Stride inputs of StridedSlice have rank less
than input data rank - remaining dimensions must be kept unchanged.
* Previous, implementation had UB in such cases - out of bound
vector element access

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-07-15 19:43:31 +03:00
Jan Iwaszkiewicz
db09547087
Add Input and Output class to Py API (#1284) 2020-07-15 15:32:24 +02:00
Adam Osewski
173ce2c907
[ONNX] Exception handling refinements. (#1266) 2020-07-15 14:02:18 +02:00
Andrew Bakalin
382b442ab3
[IE Common][Tests] saturated_cast: refactoring & tests (#1304)
* [IE Common] Refactor saturated_cast

* [IE Common][Tests] Add tests for saturated casts

* [IE Common] Review fixes

* [IE Common] Make enable_if check a template parameter
2020-07-15 13:48:57 +03:00
Jan Iwaszkiewicz
8fe1ef0b41
Reverse Sequence code clean up (#1303) 2020-07-15 12:48:53 +02:00
iliya mironov
ac5217d17f
Added mish layer doc opset (#1149)
* Added mish layer doc opset

* Refactoring mish spec

* Update mish spec

* Change output description of Mish layer

* Fix Mish according to review

* Refactoring Mish and GELU spec according to code review

* Update formula for ops in spec

* Refactoring spec text

* Update Mish opset

* Change Mish version from 1 to 4

* Sort opset4

Co-authored-by: Your Name <you@example.com>
2020-07-15 10:30:33 +03:00
Vladimir Gavrilov
f2aba7cdf6
Specify, review and approve operation Interpolate-4 (#1035)
* Added documentation for Interpolate-3.

* Some fixes.

* Fixed some typos.

* Now Interpolate-3 is Interpolate-4.

* Fixed typo.

* DEleted unused 'mode' 'area'.

* Fixed some typos.

* Now 'axes' attribute is an input of Interpolate.

* Added description of variants of nearest_mode.

* Added descriptions of coordinate transformation modes.

* Now 'axes' is an optional input.

* Fixed typo.
2020-07-15 10:27:56 +03:00
Anton Zaytsev
24961638cc
[IE TESTS] Add ShapeOf SingleLayerTest (#1285)
* [IE TESTS] add single layer test ShapeOf

* [IE TESTS] update for master

* [IE TESTS] add subgraph test

* [IE TESTS] update todo in skip_tests_config

* [IE TESTS] update skip_tests_config

* [IE TESTS] update skip_tests_config

* [IE TESTS] update opset3
2020-07-14 23:55:32 +03:00
Alexey Suhov
d7cb5ba4ba
update system requirements (#1321) (#1322)
* update system requirements

* update release version in readme
2020-07-14 22:06:55 +03:00
Maxim Shevtsov
4b5ce75c46
Fix that brings back the MULTI's ability to add/remove devices (to the priorities list) on the fly. Presumably was lost during refactoring. (#1309)
the point is that we should check the ORIGINALLY (largest) list of the devices (actually ExecutableNetworks for them) to see if the device is just added back
2020-07-14 19:15:52 +03:00
Edward Shogulin
d791962464
[LPT] FuseFakeQuantizeAndScaleShift transformation for last layer fix (#1291)
* [LPT] FuseFakeQuantizeAndScaleShift transformation for last layer fix

* [LPT] refactoring

* [LPT] FuseFakeQuantizeAndScaleShift test: last layer name validation was added
2020-07-14 18:55:06 +03:00
Jedrzej Hajduczenia
0607b7b0f7
[IE CLDNN] WA to use bfyx format if applicable for bf(w)zyx Gather input (#1056) 2020-07-14 18:00:51 +03:00
Jedrzej Hajduczenia
92a38b305f
[IE CLDNN] Disable inserting reorders if num_dims mismatch (#1023) 2020-07-14 17:59:20 +03:00