Commit Graph

3037 Commits

Author SHA1 Message Date
Vladimir Gavrilov
9bd63176f8
Implement interval logic for Interepolate-4 output_shape calculation (#4820)
* Written interval logic for Interpolate-4.

* Small changes.

* Added tests for interval logic.

* Small fix.
2021-03-26 15:24:58 +03:00
Artemy Skrebkov
76cf1b2b65
Update benchmark_app to pass precision via command line (#4318)
* Update benchmark_app to pass precision via command line

* Update vpu_perfcheck

* Update python benchmark_app to support setting precision from cmd

* Review comments

* Address more review comments

* Fixes after rebase
2021-03-26 15:07:59 +03:00
Ilya Lavrenov
63d7516f1f
Fixed output info passthrough for HETERO (#4968)
* Fixed output info passthrough for HETERO

* Removed AGGREGATED_PLUGIN internal config key

* Fixed configs in tests
2021-03-26 14:56:01 +03:00
Mikhail Treskin
4e699840fd
Separate SLT Summary and Environment from bcase class implementation (#4966) 2021-03-26 14:27:27 +03:00
Maxim Vafin
851e203f72
Speed up determined_sort which speeds up emitting the IR (#4928) 2021-03-26 12:50:57 +03:00
Evgenya Stepyreva
da7c2dfc2b
Enabled (u)int_4 to (u)int8 conversion (#4973) 2021-03-26 12:27:33 +03:00
Edward Shogulin
c367b3f22e
[NGraph] VisualizeTree denormal visualization (#4411)
* [NGraph] VisualizeTree denormal visualization

* [NGraph] VisualizeTree: constant values fix

* comment fix
2021-03-26 12:17:17 +03:00
Roman Kazantsev
61102d63cc
Support DIEN CTR model by the MO tool (#4808)
* [MO] Split iteration node for TensorIterator in case multiple consumers

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

* Implement additional BackEdgeTensorIterator and NonConstBeginStridedSlice transformations

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

* Finalize implementation of DIEN support by the MO tool

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

* Add unit test for NonConstBeginStridedSliceReplacement transformation

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

* Fix retrieving shrink_axis_mask attribute value

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

* Address the majority of review feedback

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-03-26 11:52:36 +03:00
Patryk Elszkowski
961437895b
Pad reference implementation which use only CoordinateTransformBasic (#4845)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-03-26 11:46:29 +03:00
Alexandra Sidorova
0cfd007206
[CPU][IE TESTS] Covered fusing of HSwish, Mish to Conv by tests (#4903) 2021-03-26 10:48:54 +03:00
Ilya Churaev
fe26fc26a7
Added int4 description (#4951) 2021-03-26 10:32:34 +03:00
Alexandra Sidorova
54f60ee761
[CPU] Fixed fusing Convolution with Sum (#4617) 2021-03-26 10:26:57 +03:00
Wilson Seok
3eac187e2e
[IE CLDNN] Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now (#4913) 2021-03-26 08:35:06 +03:00
Patryk Elszkowski
4d2fc1c678
add scatterNDupdate serialize SLT (#4962)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-03-26 07:08:01 +03:00
Maksim Derbasov
e55954e81f
Fix for compile warnings (#4967) 2021-03-26 07:02:12 +03:00
Anton Chetverikov
6b62f67d44
Add specifications for ExperimentalDetectron* operations (#4584)
* Add specification for ExperimentalDetectronROIFeatureExtractor-6 operation

* Add specification for ExperimentalDetectronROIFeatureExtractor-6 operation

* Delete template added by mistake

* Add specification for ExperimentalDetectronTopKROIs_6 operation

* Update specification

* Update specification

* Add specification for ExperimentalDetectronDetectionOutput_6 operation

* Add specifaication for ExperimentalDetectronGenerateProposalsSingleImage_6 operation

* Add specification for ExperimentalDetectronPriorGridGenerator_6 operation

* Allign attr? add more detailed information

* Provide detailed description for ExperimentalDetectronTopKROIs_6 operation

* Minor style updates

* Update specifications

* Add more details to operation specification

* Update operations categories

* Move operations specifications to detection folder

* Update specifications

* Add operations to appopriate lists

* Update specs

* Update operations list

* Add more detailed decsriptions to operations specification

* Add more details to operations descriptions

* Apply review comments

* Apply review comments

* Update specifications

* Delete outdated comments in experimental operations headers

* Update specifications

* Apply review feedback

* Move back comments in operations headers

* Apply review comments

* Fix typo

* Fix codestyle

* Fix typo
2021-03-26 06:49:37 +03:00
Piotr Szmelczynski
42bbe979b1
type_prop template for arithmetic ops (#4941)
* create type_prop template for arithmetic ops

* make arithemtic_ops a header file

* remove power, multiply, divide, subtract and minimum from binary_elementwise

* create type_prop tests for divide

* create type_prop tests for multiply

* create type_prop tests for subtract

* update minimum type_prop tests

* update power type_prop tests

* fix style

* remove arithmetic_ops from CMakeList

* fix test
2021-03-26 06:42:41 +03:00
Ilya Lavrenov
d0ebfe06d2
cmake improvements: coverage and SELECTIVE_BUILD beautifications (#4937)
* Added snippets to coverage reports

* Added possible values for SELECTIVE_BUILD as properties
2021-03-26 06:40:54 +03:00
Bartek Szmelczynski
a4251df03e
Visit attribute analysis (#4654)
* remove unecessary code from visit_atributes functions

* revert the changes for constant

* revert changes for node, constatn, prior_box_clustered and att_types

* fix style

* fix style v2
2021-03-26 06:39:29 +03:00
Evgenya Stepyreva
2e75aafbe2
INT4 compression (#4912)
* INT4 compression

* packing tests

* (U)INT4 IR Reader enabling

* Cast test header added

* Fix graph.clean_up

* Review discussions addressed: comments clarification, variable naming, fuller test coverage
2021-03-26 01:06:44 +03:00
Vladislav Golubev
8b4837ea62
[LPT] Correct handling of Dq after operations with several outputs (#4797)
* [LPT] Dq after Split/VariadicSplit fix

* [LPT][TESTS] Transformations after split tests
2021-03-25 23:19:14 +03:00
Evgeny Lazarev
522ad39a48
Tf 2.0 od api models with loop (#4772)
* Do not run transformations for TF 2.X OD API models recursively (needed for models with Loop operation)

* Added anchor front transformation to group all TF OD API transformations. Added new necessary dependencies from KerasRNN transformations related to While support

* Added JSON configuration files for TF 2.4 OD API SSD and EfficientDet models

* Updated documentation with table of supported TF 2.x OD API models

* Improved visualization of the dependency graph

* Updated version of the pre-processing transformation for TF 2.4 OD API models

* Fixes in the TF 2.x OD API models conversion

* Fixed order of applying mean/scale values for TF 2.X OD API pre-processing

* Updates to the documentation

* Fixes for the preprocessor block transformation for the TF OD API models

* Added code comments

* Fixed bom file

* Unit tests for the TF 2.4 OD API ObjectDetectionAPIPreprocessor2Replacement transformation

* Code cleanup

* Updates to the documentation on how to convert TF OD API models and graph dumper

* Added assert to make sure that operations in the `get_specific_ops_with_const_inputs` has exactly 2 inputs
2021-03-25 17:56:35 +03:00
Edward Shogulin
26a4022672
[CPU] Erf JIT implementation (#3790) 2021-03-25 17:50:00 +03:00
Ilya Sharikov
7681f86f50
Fixed double slash in c_api inference engine installation (#4931) 2021-03-25 17:12:16 +03:00
Ilya Lavrenov
8e261de0a8
Added PreprocessConversionTest tests (#4946)
* Added PreprocessConversionTest tests

* Disabled tests on GPU: CVS-51764

* Disabled some tests on VPU and TEMPLATE

* Support for input layout conversions in TEMPLATE plugin
2021-03-25 16:31:33 +03:00
Maxim Vafin
2a52747b03
Fix reading FP16 scalars from TensorFlow (#4935) 2021-03-25 15:59:02 +03:00
Irina Efode
fa37277e3e
[IE TESTS] Allow to save Conformance report with unique names (#4844)
* [IE TESTS] Lock report file (between processes and threads)

* Fix condition

* t

* Fix CI

* Fix ci

* win

* Fix win

* Fix reading logic

* Fix rights

* d

* Fixes

* d

* ddd

* s

* dd

* Allow to write reports by unique name

* tp

* fix ci

* remove extra lines
2021-03-25 15:29:20 +03:00
Liubov Batanina
79905e9cf7
ROIAlign: added consistency of input data types (#4936) 2021-03-25 14:59:44 +03:00
Ilya Churaev
c657574a82
Optimize nGraph linker dependencies (#4929)
* Refactored nGraph tests dependencies

* Fixed CI

* Fixed ONNX dependencies

* Fixed comments
2021-03-25 13:30:18 +03:00
Ilya Lavrenov
f205ba9459
Fixed pyngraph compilation with python 3.9.2 (#4940) 2021-03-25 13:15:01 +03:00
Dmitry Kurtaev
64874fa69c
Remove __clang__ macros from headers (#4575)
* Fix headers for Clang compilation

* Parameter::Any destructor

* Force RTTI for any compiler

* Parameter::RealData RTTI

* Revert Parameter::Any
2021-03-25 12:26:43 +03:00
Sergey Lyubimtsev
222a709c6c
NGraph python api cannot be built w/o onnx importer (#4880)
* NGraph python api cannot be built w/o onnx importer

* add target condition
2021-03-25 12:26:35 +03:00
Maxim Vafin
d40a607ca0
Support Pad-2 in opset-11 ONNX model (#4886)
* Support Pad-2 in opset-11 ONNX model

* Add unit test for pad

* Apply review feedback
2021-03-25 12:05:28 +03:00
Ilya Lavrenov
d77869ba71
Properly apply patch to ONNX (#4939) 2021-03-25 11:54:48 +03:00
Vladimir Gavrilov
af95452026
nGraph shell for the operation DFT (#4625)
* Written the header file for the nGraph operation DFT.

* Small change.

* Started to write the implementation of the nGraph shell of the operation DFT.

* Started to write void op::v7::DFT::validate_and_infer_types().

* Small fixes.

* Code style fixes.

* Written the draft of the shape infer for the nGraph operation DFT.

* Small fixes.

* Code style fixes.

* Added DFT into opset7 table.

* Some additions.

* Small fixes.

* Code style fix.

* Some fixes.

* Some fix.

* Small fixes.

* Started to write shape infer tests for the nGraph operation DFT.

* Written shape infer tests for the nGraph operation DFT.

* Some code style fixes.

* Small fix.

* Code style fixes.

* Code style fixes.

* Deleted unused variables.

* Added support for negative axes.

* Started to write IE IR Reader tests for the nGraph operation DFT.

* Small fix.

* Added the second IE IR Reader test for the nGraph operation DFT.

* Small fix.

* Added the third IE IR Reader test for the nGraph operation DFT.

* Corrected Doxygen comment.

* Started to rewrite DFT type_prop tests as parametrized tests.

* Small fixes.

* Some additions.

* Small fix.

* Small fix.

* Some tests were written as parametrized tests. Some code style fixes.

* Code style fixes.

* Continued to rewrite tests for DFT as parametrized ones.

* Some deletions.

* Some additions.

* Deleted redundant tests.

* Started to rewrite some tests.

* Some changes.

* Deleted commented code.

* Started to convert tests for the case non-constant axes into parametrized tests.

* Rewritten tests for the case non-constant axes as parametrized tests.

* Started to convert tests for the case non-constant signal_size into parametrized tests.

* Rewritten tests for the case non-constant signal size as parametrized tests.

* Added checks for number of inputs.

* Small fixes.

* Small fixes.

* Refactored shape infer and corrected tests.

* Some refactoring.

* Now the function validate() is protected.

* Small refactoring.

* Fixed typo.

* Added some comments.

* Fixes in infer function.

* Added test.

* Fixed test.
2021-03-25 11:40:37 +03:00
Ilya Churaev
b76e965e95
Remove obsolete cmake script and test data (#4944)
* Remove obsolete cmake script

* Removed obsolete models

* Removed obsolete generators

* Remove obsolete markdowns
2021-03-25 07:45:47 +03:00
Alexey Suhov
a748c26fee
Align copyright notice in cpp and cmake source files (CVS-51320) (#4950) 2021-03-25 02:40:09 +03:00
Mateusz Tabaka
c9d0292929
Add DilatedConvolutionConverter, BatchToSpaceFusion and SpaceToBatchF… (#4689) 2021-03-24 16:00:30 +01:00
Ilya Churaev
f0e574903a
Int4 support for nGraph (#4712)
* Start int4 type

* Changed int4 type

* Fixed code style

* Added u4 type

* Added tests

* Add U4 I4 precisions to the IE

* Removed redundant tests

* Added convert precision

* Fixed tests

* Fixed C tests

* Fixed logic for signed values

* Fixed nGraph tests

* Added more tests

* Fixed code style

* Update inference-engine/src/transformations/src/transformations/convert_precision.cpp

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2021-03-24 16:17:43 +03:00
Piotr Szmelczynski
b62f49b66a
Revise power (#4901)
* add power type prop test file to CMakeList

* add unit tests

* create power type_prop tests

* Update copyright year

* fix copyright year
2021-03-24 15:29:16 +03:00
Bartek Szmelczynski
d5d0fca624
Revise minimum (#4784)
* add SLT for serialization for minimum/maximum ops, and add unit test for minimum op

* style fix

* change 2020 to 2021 intel

* fix copyright dates
2021-03-24 15:28:29 +03:00
Aleksandr Korolev
4cac858346
[IE][VPU][TESTS]: Fix for myriad stress test (#4902)
Reused inputs for cycling infer requests in MultipleAllocations test.
2021-03-24 14:25:06 +03:00
Krzysztof Bruniecki
985adb8223
Sync model loading from different threads using single Core (#4842)
- Enable tests
2021-03-24 13:44:23 +03:00
Mateusz Tabaka
e7b9b021ae
Implement ConvtoBinaryConv transformation (#4038) 2021-03-24 11:06:26 +01:00
Vladimir Gavrilov
b99345c320
nGraph shell for the operation IDFT (#4660)
* Written the header file for the nGraph operation IDFT.

* Written an implementation of the nGraph shell of the operation IDFT.

* Added IDFT into opset7.

* Some additions.

* Written shape infer tests for the nGraph operation IDFT.

* Added support for negative axes.

* Written IE IR Reader tests for the nGraph operation IDFT.

* Code style fixes.

* Small fix.

* Fixed Doxygen comment.

* IDFT type_prop tests were rewritten as parametrized tests.

* Added checks for number of inputs.

* Deleted unsupported types for 'axes' input.

* Checks for inputs were moved into the separate function.

* Some fixes.

* Some fixes in tests.

* Some fixes in tests.

* Some refactoring.

* Some fixes.

* Some fixes in shape infer function.

* Fixes in shape infer and corresponding tests.

* Small fix.
2021-03-24 13:00:59 +03:00
Andrew Bakalin
66cca724f6
[VPU] Add option to disable preprocessing check inside the model (#4616) 2021-03-24 12:57:02 +03:00
luocheng
29873c0a1d
wait cpu executor destroy (#4796) 2021-03-24 12:55:45 +03:00
Mateusz Tabaka
9b829d2884
Introduce AddFakeQuantizeFusion and MulFakeQuantizeFusion transformat… (#4102) 2021-03-24 09:19:37 +01:00
Anastasia Popova
83e5bde4ea
Shell implementation for Roll operation. (#4843)
* Added shell implementation for Roll operation.

* Added test, scalar check corrected.

* Code style correction.

* Comment fixed.

* Removed redundant virtual.

* Added parentheses.

* Fixed tests, added axes values check.

* Fixed scalar check, added axes check.

* Added comment.

* Added static shape checks, added more tests.

* Corrected error messages.

* Corrected error messages.
2021-03-24 09:58:13 +03:00
Ilya Sharikov
568f320cbc
Fixed installation ngraph core (#4920) 2021-03-24 06:38:12 +03:00