Commit Graph

2122 Commits

Author SHA1 Message Date
Katarzyna Mitrus
9376f78994
[ONNX] Dynamic version of ONNX Size op (#3553) 2020-12-16 11:16:06 +01:00
Irina Efode
679e4ae4d7
[IE TESTS] Move multi base test class (#3623) 2020-12-16 13:10:27 +03:00
Ilya Lavrenov
8685c20baf
Fixed HETERO + Template cases (#3580)
* Fixed tests compilation for Android ARM

* Small fixes

* Fixed issues CVS-44775, CVS-34206, CVS-34349

* Disabled KSO tests for Template

* Eliminated invalid subgraphs

* Enabled KSO QueryNetwork tests for Template

* Fixed other plugins as well

* Used NodeTypeInfo instead of std::string

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2020-12-16 12:17:29 +03:00
Mateusz Tabaka
47485646bb
Revise DetectionOutput reference implementation (#3448)
* Revice DetectionOutput reference implementation

Ticket: 37433

* fix test_create_op

* fix test_dyn_attributes

* apply code format

* fix crash on Windows when variance_encoded_in_target == 1

* add more checks for DetectionOutput inputs

* Fix single layer tests

* apply code format

* fix ssd_vgg16_300 inference with batch size > 1

* update types in docs

* fix crash on windows

* apply code style

* fix python tests

* fix setting output type

* change False to false and True to true in docs

* Allow prior boxes to have different type than box logits

Some models work that way

* simplify output shape calculation

* fixes to docs
2020-12-16 11:02:12 +03:00
Irina Efode
602f8f2e08
[IE TESTS] Move SLT classes to SharedTestClasses lib & add serialization functionality to the common class (#3431)
* [IE TESTS] Changing functional test utils structure

* Example

* Remove extra

* Apply comments

* fixes

* [IE TESTS] Change the structure

* Continue

* step 3

* [IE TESTS] Complete transition single layer test classes

* [IE TESTS] Transition Subgraph

* Fix subgraph namespaces

* fix

* Apply comments

* latm fix
2020-12-15 22:32:00 +03:00
Anton Chetverikov
ab996da912
Update port renumbering logic for constants (#3578)
* Update port renumbering logic for constants

* Resolve comments
2020-12-15 21:39:56 +03:00
Maxim Vafin
ab974e4f2e
Add MVN-6 support to ngraph (#3464)
* Add MVN-6 to ngraph

* Apply review feedback

* Fix max opset number

* Fix code style

* Fix shape test

* Disable reader test

* Apply review feedback and remove reader test

* Fix code style

* Fix build

* Apply review feedback

* Fix build problem

* Fix code style

* Fix build
2020-12-15 21:36:44 +03:00
Alexey Suhov
a569a0b529
[cmake] retry after hash mismatch error (#3612)
* [cmake] retry after hash mismatch error
2020-12-15 19:56:42 +03:00
Andrey Sokolov
fedd736913
[IE][VPU]: support DTS for Ceiling (#3562) 2020-12-15 12:32:17 +03:00
Ilya Lavrenov
5da7e8dab8
Fixed tests compilation for Android ARM (#3572)
* Fixed tests compilation for Android ARM

* Added check for size_t
2020-12-15 11:51:17 +03:00
Maksim Shabunin
3fb5f63573
Restored gtk-3 installation (#3587) 2020-12-15 11:49:36 +03:00
Vladislav Vinogradov
61752b806f
[IE][CMAKE] Fix for in-tree generated InferenceEngineConfig.cmake (#3593)
Add `IE::` prefixed aliases for provided targets.
2020-12-15 07:20:56 +03:00
Irina Efode
524b226906
[IE TESTS] Disable sporadic issue 45163 (#3611) 2020-12-14 22:57:24 +03:00
Gabriele Galiero Casay
19154fad2b
Rename AvgPool to attribute exclude-pad to align with MO and layer creator (#3549)
* AvgPool: Bug fix in attribute exclude-pad to align with MO and layer creator

* AvgPool: Change attribute to exclude-pad in python api
2020-12-14 21:46:39 +03:00
Yegor Kruglov
98fffe7f22
Possible fix for GroupConvolution unit test (#2584)
* initial commit

* initial commit

* move fix to tf conv_extractor

* added 3d case

* fix e2e with 3d conv

* remove 3d case

Co-authored-by: yegor.kruglov <ykruglov@nnlvdp-mkaglins.inn.intel.com>
2020-12-14 21:30:26 +03:00
Andrey Sokolov
f1d99b5887
[IE][VPU]: Add GatherElements operation to Myriad plugin(#3483) 2020-12-14 15:49:53 +03:00
Maxim Shevtsov
ee8e9a9e8a
Attempt to put some order to the single general (that differs only by messages) and typed exception, on the example of NOT_IMPLEMENTED (#3537)
NOT_IMPLEMENTED status code correctly translates to the NonImplemented exception (and handled as the correspondingly typed exception)
2020-12-14 10:27:29 +03:00
Dmitrii Ryzhkov
77ecd7e17c
Feature/drizshko/cancellable request (#2635)
Added Cancelability to an Infer Request class (actually implemented for the CPU only, with a stub for other devices)
2020-12-14 09:38:29 +03:00
Anton Potapov
2495eaf56f
[PP] Addded ability to preprocess inputs into plugin (#857)
desired format

changed InferRequestInternal:
 - added _deviceInputs member to store plugin desired perprocessing
   targets
 - added default argument to preProcessingRequired to describe plugin
   specific desired preprocessing target
 - SetBlob and GetBlob to deal with plugin desired preprocessing targets
   (_deviceInputs)
 - added addInputPreProcessingFor helper method to avoid code
   duplication

changed TEMPLATE plugin to use new functionality:
 - removed explicit presicion conversion (to use built-in one of
   InferRequestInternal)
 - _networkInputBlobs to use InferRequestInternal::_deviceInputs
2020-12-11 20:22:25 +03:00
Anton Romanov
544a3e148d
Update PIP package name (#3577) 2020-12-11 15:58:25 +03:00
Tomasz Socha
dbf855b320
[ONNX][Python][Tests] Update ONNX to onnx 1.8 (#3557) 2020-12-11 11:57:50 +01:00
Anton Potapov
8aabcde925
[PP] Altered preprocessing tests to use existin posprocessing as well (#3554)
changed PreprocessingPrecisionConvertTest:
 - to force output precision to be same as input (and not FP32 always)

changed TEMPLATE plugin to allow U8 outputs
2020-12-11 12:49:38 +03:00
Andrew Bakalin
d90c05aab4
[IE][VPU][Tests]: Support DTS for ScatterElementsUpdate (#3559)
* Enable DTS for ScatterElementsUpdate
* Update DTS tests
* Update inference tests
2020-12-11 12:46:26 +03:00
Andrew Bakalin
a0952798ba
[IE][VPU]: Extend StaticShapeBroadcast target shape evaluator (#3561)
Ticket - #-42237
Add Unsqueeze, Equal and Select operations to the StaticShapeBroadcast target shape evaluator, because they are presented in the target shape subgraph evaluator in one of the network, we are currently enabling.
2020-12-11 12:30:15 +03:00
Andrew Bakalin
578ea2fc3c
[IE][VPU]: Support dynamic data in Broadcast DTS (#3548)
Ticket - #-44546
Changes:

* Support dynamic data as broadcast input in Broadcast DTS
* Update DTS tests to support both dynamic and static inputs
* Update inference tests:
  a) Refactor tests to have only one testing class - NonZero_Broadcast
  b) Make DSR_TestsCommon base class to reuse createInputSubgraphWithDSR and inputs generating utils.
  c) Add possibility to add additional results in DSR_TestsCommon, because NonZero doesn't support cases when both its outputs are unused, so we need to add at least one of them to function results.
2020-12-11 12:29:16 +03:00
Ilya Znamenskiy
b6f311b463
[IE CLDNN] Fully connected MMAD simd16 improvements (#3394) 2020-12-11 10:15:11 +03:00
Andrey Somsikov
7fe21dc6ee
Fix windows build for gflags for time_tests (#3504)
GFlags builds multiple targets, require aligning build
options on windows builds.

FetchModule offloads project configuration to cmake. This also allows
to align build configurations and targets across projects:
https://crascit.com/2015/07/25/cmake-gtest/
2020-12-11 09:25:14 +03:00
Patryk Elszkowski
d8f00acd39
StridedSlice : slice and reverse new ref implementations (#3188)
* Create new iterators which allow to iterate over coordinates.

Use new iterators to speedup StridedSlice reference implementation.

* Call memcpy if reverse ref impl has nothing to reverse.

* Add unit tests for coordinate range.

* Change coordinates::RangeIterator to template.

* Yet another slice and reverse implementation.

Remove all stuff connected with ranges.

* Apply review suggestions.

* Back to ranges which base on CoordinateTransform.

* try to fix x84_32 build

* try to fix x84_32 build

* Ranges which return start, no, stride, direction.

* add input validation to coordinate_index

enable coordinate_range validation tests

* add some doxygens

* fix range increament

* add empyt range

* move SliceRange::get_value to cpp file

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
Co-authored-by: ggalieroc <gabriele.galiero.casay@intel.com>
2020-12-10 18:36:12 +03:00
Liubov Batanina
6c0201108f
Added missing headers to MVN ref (#3533) 2020-12-10 18:35:27 +03:00
Maxim Shevtsov
12d2121976
fixed compilation of MYRIAD/GPU only (no MKL_DNN) (#3552) 2020-12-10 17:10:00 +03:00
Ilya Lavrenov
ca08c5b45c
Fixed Plugin API compilation with /WX (#3551)
* Fixed Plugin API compilation with /WX

* Removed generic_ie.hpp from white list

Co-authored-by: lab_ddpqa <lab_ddpqa@intel.com>
2020-12-10 16:49:30 +03:00
Alexey Varyzgin
3bcac1641d
[BF16] BF16 simulator for AVX512 was done (#3424) 2020-12-10 16:25:01 +03:00
Alexander Chaiko
2cfc8ade62
[IE CLDNN] Suppress fsv16 layout if topology has many crop layers (#3445) 2020-12-10 16:23:29 +03:00
Mateusz Tabaka
3db6b54815
[ONNX] Use kernel shape in MaxPool to create default strides/dilations/paddings (#3522) 2020-12-10 12:59:47 +01:00
Bartosz Lesniewski
312db9a713
Remove ops from Layer Creator/ Node Converter - part 4 (#3485)
* remove gather op from layer creator

* remove floormod op from layer creator

* remove minimum op from layer creator

* remove spacetodepth op from layer creator

* remove redundant virtual function specifier
2020-12-10 14:30:43 +03:00
Pavel Esir
5b45299874
Spec for GatherElements-6 (#3304)
* added GatherElement_6.md spec

* corrected typos; updated examples

* moved sentence from spec to description

* ie_docs.xml updated

* made `axis` required

* removed redundant sentences

* added outputs shape info

* added 'the' articles

* removed error info about negative indices; some corrections

* rank correction in examples
2020-12-10 14:26:25 +03:00
Maxim Vafin
5bea1acb13
Specify MVN-6 operation (#3314)
* Specify MVN-6 operation

* Apply review feedback

* Fix typo

* Apply review feedback

* Apply review feedback

* Apply review feedback

* Small fix

* Fix review feedback

* Apply review feedback

* Fix MVN formula
2020-12-10 14:23:11 +03:00
Gleb Kazantaev
4d81bd9e0e
Parametrize NMS5ToLegacy conversion to avoid Convert operatoins insertion that breaks outputs naming (#3480) 2020-12-10 14:07:20 +03:00
Gladilov, Gleb
8213505e24
[IE][VPU]: Enables native gather support (#3502)
* [IE]: Allows plugins to disable Gather -> GatherIE conversion

Gather layer takes axis as 3rd input, not attribute and may
take indices as 0D scalar input

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Disables Gather -> GatherIE conversion

Gather -> GatherIE conversion may introduce Gather
operation decomposition into Unsqueeze + Gather +
Squeeze in case if indices input is 0D scalar input.

In case of dynamic Gather such decomposition will
break dynamic path. Myriad plugin has to support
Gather operation natively without legacy conversion.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Enables native Gather support

Gather layer in contrast with GatherIE takes
axis as 3rd input, not attribute and may take
indices input as 0D scalar input.

0D -> 1D conversion happens automatically at
the beginning of frontend.

Axis as 3rd input is supported for single value
integral scalar only.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][Tests]: Enable new infra single layer Gather tests

* Removes corresponding tests from old infrastructure
* Enables test cases with 0D indices input
* Extracts base test fixture from shared tests fixture.
  Unfortunately, Google Tests supports Combine generator
  for tuples of size up to 10 only. Originally, shared
  tests fixture already has 10 elements in tuple for
  tests parameters. At the same time myriad plugin needs
  to specify configuration option. Since configuration
  option could not be test parameter we are forced to
  use separate class, in order to get rid of code
  duplication base class is used.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Updates firmware

Enables native Gather support on device side
2020-12-10 13:23:36 +03:00
Nikolay Tyukaev
cf3213a9c5
cmake build all docs (#3539)
* cmake build all docs

* update doxy log parser

* update build_main_layout.py
2020-12-10 12:11:30 +03:00
Alina Kladieva
0a84b230bd
[Jenkinsfile] Disable failFast & enable propagateStatus (#3503)
Co-authored-by: akladiev <akladiev@nncv-akladieva.inn.intel.com>
2020-12-10 12:05:03 +03:00
Ilya Churaev
9ea24c5b33
Removed reference implementations from tests (#3541) 2020-12-10 12:00:48 +03:00
Ivan Tikhonov
1ac3caf472
fix constant folding for sub graph ops (#3534) 2020-12-10 11:56:16 +03:00
Eugeny Volosenkov
6f512142b6
Re-implement onnx old-style extractors with extractor extensions (#3459)
* add class ConcatFrontExtractor for onnx

* add class ConcatFrontExtractor for onnx

* Delete concat from mo/front/onnx/extractor.py

* Add identity, reshape extractors classes for onnx

* import FrontExtractorOp

* Added BatchNormalizationExtractor

* Added extra line

* Fix import modules

* fix caffe bn.py and bn_test.py

* Fix BatchNormInference

* Modify convert_batch_norm

* Modify convert_batch_norm

* Modify bn_test.py

* Fix old comments BN->batchNormInference
2020-12-10 09:24:24 +03:00
Nikolay Tyukaev
6254b150c3
add animation (#2865) (#3545) 2020-12-10 02:30:10 +03:00
Ilya Lavrenov
e4260cdc3f
Template device testing (#3521)
* Added template plugin testing on public CI

* Updated tests config

* Added DEVICE_TEMPLATE constant to tests

* Updated tests

* Disable template plugin by default

* Fixes

* Fixed HETERO tests
2020-12-09 17:13:32 +03:00
Nikolay Tyukaev
17df09967d
math formula fix (#3512)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2020-12-09 17:03:46 +03:00
Anastasiya Ageeva
4a6e153d5a
Added uninstallation instructions (#3446) 2020-12-09 17:02:38 +03:00
Kate Generalova
9d4b778234
[DOC] add Docker on Windows GPU infer instruction (#3492) (#3531)
* odc: add Docker on Windows GPU infer instruction

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Kate Generalova <kate.generalova@intel.com>

* Removed an extra colon

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2020-12-09 16:04:12 +03:00
Roman Vyunov (Intel)
76e489a161
[IE][VPU]: Performance fix for efficientnet-b0 (#3515) 2020-12-09 15:31:25 +03:00