Commit Graph

3167 Commits

Author SHA1 Message Date
Tomasz Dołbniak
14e0da322e
Update the XFAIL marker for a Resize onnx test (#5068) 2021-04-12 13:38:56 +02:00
Roman Donchenko
b92d1c1bdd
Fix building MKLDNNPlugin when the source path contains spaces (#5109)
The key changes are:

* Using VERBATIM to ensure CMake property passes command-line arguments
  to child processes.

* Using the INCLUDE_DIRECTORIES property instead of COMPILE_FLAGS to add
  include directories, because COMPILE_FLAGS are treated as space-separated
  values. (A small side benefit is that this doesn't rely on -I being
  the include directory option.)

In addition, some changes had to be made in order to preserve behavior:

* The _GEN_ARGS_LIST variable has to be inlined, because ARCH_SET is a list,
  and therefore the "-DXARCH_SET=..." argument gets split into multiple arguments
  (this happens to work by coincidence without VERBATIM). IMO, the code looks
  better this way anyway.

* It's no longer necessary to replace spaces in XARCH_SET in
  cross_compiled_disp_gen.cmake, because those spaces were an artifact of how
  the CMake arguments were passed before.
2021-04-12 13:27:49 +03:00
Mateusz Tabaka
69e1eebf4f
Fix broadcast with BroadcastType::NONE and unit dimensions (#5093)
* Fix broadcast with BroadcastType::NONE and unit dimensions

* fix issues found by flake

* fix broadcast negative test

* remove xfail_issue_49913
2021-04-12 13:06:29 +03:00
Mateusz Tabaka
34385eb45d
[ONNX] use Reshape instead of Broadcast in InstanceNorm (#5148) 2021-04-12 12:03:00 +02:00
Vladislav Volkov
6b777b643d
Incorrect ITT counter names fixed (#5056)
* Incorrect ITT counter names fixed

* Code style fix
2021-04-12 12:59:54 +03:00
Anton Pankratv
232a25404f
Try to fix win hang (#4991) 2021-04-12 12:25:18 +03:00
Elizaveta Lobanova
69be1f1c02
[GNA] Prohibit 2D data reshaping for diagonal layer if it's the first functional layer in network (#5097) 2021-04-12 11:23:29 +03:00
Alexander Shchepetov
e864972f83
Add experiments timings to data to submit to DB(#5108) 2021-04-12 09:29:10 +03:00
Kelvin Choi
9f93509b1c
[IE CLDNN] Add new operation GatherND-5 to IE clDNN plugin (#4857) 2021-04-12 07:41:16 +03:00
Anton Pankratv
9a46851a33
Removed throwing destructor (#5023) 2021-04-12 07:20:59 +03:00
Egor Duplensky
88548416fd
Correct benchmark_app description of enforcebf16 parameter (#4958)
* Correct benchmark_app description of enforcebf16 parameter

* Align enforcebf16 parameter description across cpp and py benchmark_apps

* Fix typo

* Fix another typo
2021-04-09 18:08:32 +03:00
Min, Byungil
94eeb99ad0
[IE CLDNN] Resample opt caffe (#4770) 2021-04-09 11:26:51 +03:00
Aleksandr Korolev
a533680a60
[IE][VPU]: firmware update (#5143)
* Updating avgPooling errors tracking.
2021-04-09 10:11:18 +03:00
Anastasia Popova
cadff031d5
Fixed framework name attribute in mapping file. (#5046)
* Fixed framework name attribute for onnx, mxnet.

* Fixed framework name attribute for caffe.

* Removed unnecessary attribute setting from add_opoutput()

* Added identity nodes adding to outputs in mxnet loader.

* Removed unnecessary reformat.

* Removed unnecessary reformat.

* Added check for empty name.

* Used nodes indices instead of node names in loader.

* Code refactoring, small bug fixed.
2021-04-08 20:59:44 +03:00
Mikhail Ryzhov
b8f8c9c20e
Revert "Update IE Python Samples (#4907)" (#5151)
This reverts commit 003474937d.
2021-04-08 20:07:25 +03:00
Mikhail Ryzhov
c2e2fdf3fa
Corrected versions of numpy and pandas (#5106)
Aligned versions with the latest POT changes
2021-04-08 18:30:21 +03:00
Alexey Suhov
68b7280dd9
update OpenCV version to 4.5.2 (#5069) (#5134)
* update OpenCV version to 4.5.2
2021-04-08 16:58:21 +03:00
Yegor Kruglov
ca889f530d
[ MO ] Warnings fix (#5105)
* warnings fix

* remove redundant backslash

* add whitespace in the error message
2021-04-08 14:09:00 +03:00
Anton Romanov
d30740af66
Added more comments into speech sample (#5049) 2021-04-08 14:00:22 +03:00
Alexandra Sidorova
37893caa36
[CPU] Added improvements for StridedSlice (#4248) 2021-04-08 13:17:29 +03:00
Dmitry Pigasin
003474937d
Update IE Python Samples (#4907)
* refactor: update ie python samples

* python samples: change comment about infer request creation (step 5)

* python sample: add the ability to run object_detection_sample_ssd.py with a model with 2 outputs

* Add batch size usage to python style transfer sample

* Change comment about model reading

* Add output queue to classification async sample

* add reshape for output to catch results with more than 2 dimensions (classification samples)

* Set a log output stream to stdout to pass the hello query device test

* Add comments to the hello query device sample

* Set sys.stdout as a logging stream for all python IE samples

* Add batch size usage to ngraph_function_creation_sample

* Return the ability to read an image from a ubyte file

* Add few comments and function docstrings

* Restore IE python classification samples output

* Add --original_size arg for python style transfer sample

* Change log message to pass tests (object detection ie python sample)

* Return python shebang

* Add comment about a probs array sorting using np.argsort
2021-04-08 13:03:19 +03:00
Anton Pankratv
b20d9b725c
Used internal exec network impl (#4922) 2021-04-08 12:29:41 +03:00
Svetlana Dolinina
f858a62836
fix bug: assert is keyword, not function (#5131)
* fix bug: assert is keyword, not function

* fix comment
2021-04-08 12:02:18 +03:00
Mikhail Letavin
5d5bf97280
[IE CLDNN] Add sub-device support to GPU plugin (#4984) 2021-04-08 11:35:27 +03:00
Vladislav Golubev
0b116620e2
[LPT] Split/VariadicSplit support (#5132)
* [LPT] Split support in ConcatTransformation

* [LPT] fixing functional problems after enabling Split/VariadicSplit transformations

* [LPT] added test case for StridedSliceTransformation, enabled tests with split

* [LPT] ConcatTransformation refactoring

* ConcatTransformation: added axis check

* [LPT] Added foldDequantizationConstant to NetworkHelper & SplitTransformation refactoring

* [LPT] Subgraph: returned and refactored quantizationPerChannel

* [LPT] foldDequantizationConstant refactoring

* [LPT] SplitTransformation refactoring

* [LPT] hbonets fix & ConcatTrasnformation refactoring

* [LPT] ConcatTransformation functional tests quick fix
2021-04-08 08:42:59 +03:00
Mateusz Tabaka
c17c92a72d
Disable AddFakeQuantizeFusion and MulFakeQuantizeFusion (#5127) 2021-04-07 23:07:36 +03:00
Mikhail Nosov
ca99333982
[TimeTests] Add test case for testing first time inference with caching enabled (#4933)
Important note: Invoker (e.g. test_timetest.py) must ignore first measurement when cache is not generated
2021-04-07 17:04:45 +03:00
Alexandra Sidorova
325b5564f3
[CPU] Added GELU-7 support (#4800) 2021-04-07 16:01:47 +03:00
Anton Potapov
54b6c77202
[PP] Support for FP16 in Reorder cases (#4427)
- added basic support for FP16 (plain wrapper over int16_t)
 - extended Split/Merge operations to support it
 - tests
2021-04-07 14:57:52 +03:00
Szymon Irzabek
2486c5b90a
GNA low precision (#4109)
* [GNA] Add low precision support for some layers (affine, eltwise, ReLU, sigmoid)

* [GNA] Fix convolution and scaleshift regression fail

* [GNA] Fix const scale factor calc

* [GNA] Fix extra whitespace

* [GNA] Eltwise padding and low precision primitive creation support

* [GNA] Changes after review

* [GNA] Remove INPUT_PRECISION GNA flag

Remove INPUT_PRECISION flag, all references to it
and tests using it. Other minor stylistic changes and cleanup.
2021-04-07 14:28:24 +03:00
Mateusz Bencer
f60c45b788
Introduced cmake flag to control ONNX Editor build (#5081) 2021-04-07 12:25:35 +02:00
Mateusz Tabaka
519d9dc050
[ONNX] remove ReduceMax and Subtract from LogSoftmax (#5120) 2021-04-07 12:08:57 +02:00
Edward Shogulin
7f3d715f5d
Revert "[LPT] Split & VariadicSplit support (#4195)" (#5129)
This reverts commit 7877287301.
2021-04-07 12:12:34 +03:00
Vladislav Golubev
7877287301
[LPT] Split & VariadicSplit support (#4195)
* [LPT] Split support in ConcatTransformation

* [LPT] fixing functional problems after enabling Split/VariadicSplit transformations

* [LPT] added test case for StridedSliceTransformation, enabled tests with split

* [LPT] ConcatTransformation refactoring

* ConcatTransformation: added axis check

* [LPT] Added foldDequantizationConstant to NetworkHelper & SplitTransformation refactoring

* [LPT] Subgraph: returned and refactored quantizationPerChannel

* [LPT] foldDequantizationConstant refactoring

* [LPT] SplitTransformation refactoring

* [LPT] hbonets fix & ConcatTrasnformation refactoring
2021-04-07 11:02:43 +03:00
hyunback kim
6c290a506f
[IE CLDNN] Support broadcasting in etlwise b_fs_yx_fsv16 (#4996) 2021-04-07 09:28:53 +03:00
Anton Chetverikov
153a20732b
Update specifications for experimental opeartions (#5085) 2021-04-06 17:34:12 +03:00
Gabriele Galiero Casay
91a8de127d
Convolution group operations alignment (#4387)
* Convolution: Enhance dynamic shape inference of validate and infer types method

* Convolution: Change onnx test with dynamic shapes to float element type

* Convolution: Remove test instances with integer precision

* Convolution: Add backticks to types in spec

* Convolution: Change element type variable for output element type

* GroupConvolution: Add backticks to types in spec

* GroupConvolution: Enhance dynamic shape inference of validate and infer types method

* GroupConvolution: Remove serialization test instances with integer precision

* GroupConvolutionBackpropData: Remove serialization test instances with integer precision

* GroupConvolutionBackpropData: Enhance dynamic shape inference of validate and infer types method

* Convolution: Add helper function to validate convolution parameters in ref impl

* Convolution: Rewrite lambda to capture spatial dims of filters in validate and infer types

* GroupConvolution: Refactor reference implementation

* Remove call to old implementation of convolution using dilations
* Added validation method to validate shapes

* GroupConvolutionBackpropData: Add more type_prop unit test and refactor test names

* Convolution: Extended validation of convolution parameters in reference implementation

* GroupConvolution: Extended validation of group convolution parameters in reference implementation

* GroupConvolutionBackpropData: Add helper function to validate convolution backprop parameters in ref impl

* Clean up unnecessary lines

* BinaryConvolution: Use validate helper function from convolution ref impl

* Convolution: Refactor validate and infer types to improve readability

* BinaryConvolution: Refactor validate and infer types to improve readability

* Convolution: Add explicit tensor shape dims for inputs and outputs in spec

* BinaryConvolution: Add explicit tensor shape dims for inputs and outputs in spec

* GroupConvolution: Add explicit tensor shape dims for inputs and outputs in spec

* Add helper function to infer convolution forward output shape

* Convolution: Refactor validate and infer types to use helpers to infer output shape

* BinaryConvolution: Refactor validate and infer types to use helpers to infer output shape

* GroupConvolutionBackpropData: Fix formula to calculate output shape in validation functions

* Remove symbol to export convolution output shape inference function

* GroupConvolution: Add validation checks for input channels dim of data batch and filter shape

* GroupConvolutionBackpropData: clean up type prop tests

* Convolution: Change element type in onnx unit tests with dyn shapes and convolution nodes

* GroupConvolutionBackpropData: Correct layout of filters input

* GroupConvolution: Deduce groups from inputs shape during output shape inference

* Change spec supported types of convolution operations to any numeric type

* Revert "GroupConvolution: Remove serialization test instances with integer precision"

This reverts commit 781c2570d6.

* Revert "GroupConvolutionBackpropData: Remove serialization test instances with integer precision"

This reverts commit 9a6ac23968.

* Revert "Convolution: Remove test instances with integer precision"

This reverts commit 0b07052a62.

* Revert "Convolution: Change element type in onnx unit tests with dyn shapes and convolution nodes"

This reverts commit c9f5944b6b.

* Revert "Convolution: Change onnx test with dynamic shapes to float element type"

This reverts commit 1f4202b010.

* Allow integral types in validate and infer types method for convolution group of operations

* Add i32 precision in single layer tests for convolution group of operations

* BinaryConvolution: Fix shape of input and output tensors in spec

* Address nitpick comments
2021-04-06 14:36:12 +03:00
Elizaveta Gerashchenko
1bb5a5871a
[IE CLDNN] Improved undef generation (#4762) 2021-04-06 12:59:52 +03:00
iliya mironov
7b2d2805f5
Update docs for wide and deep model convertion (#5074)
* Update docs for wide and deep model convertion

* Update wide and deep doc
2021-04-06 12:47:24 +03:00
Vladislav Golubev
a478475386
[LPT] Concat*Transformation: handled FQ with unexpected quantization levels (#5111)
* [LPT] TRANSFORMATION_EXCEPTION segfault fix

* [LPT] Concat*Transformation: handled FQ with unexpected quantization levels

* [TESTS] Concat*Transformation: added test-cases with unexpected quant levels
2021-04-06 12:13:47 +03:00
Sergey Lyubimtsev
f438a3a321
Add entry point for model optimizer as 'mo' alias (#5052)
* Add entry point for model optimizer as 'mo' alias

* Add entry point for mo package
2021-04-06 10:41:44 +03:00
Evgeny Lazarev
1d26a5600c
Fixed extracting TF models with string constants (#5110)
* Fixed extracting TF models with string constants

* Fixed parsing strings from the TF models
2021-04-06 10:33:40 +03:00
Kelvin Choi
9c11f38aba
[IE CLDNN] ScatterNDUpdate: Fix Klocwork issue (#5027)
Signed-off-by: Kelvin Choi <kelvin.choi@intel.com>
2021-04-06 09:15:21 +03:00
Anna Khakimova
26801c14e9
* SIMD opt for the Resize 32F1C (#5025) 2021-04-05 19:00:25 +03:00
Vladimir Zinoviev
e2ada66826
[LPT] Mixed precision GPU Plugin tests (#4498) 2021-04-05 18:04:34 +03:00
Irina Efode
7d0cc01c1b
Update merge_xmls.py (#5103) 2021-04-05 14:51:26 +03:00
Evgenya Stepyreva
4673cc2d25
[ Transpose sinking ] Transpose->FQ->Reduce (#5026)
* Utils: make_try_fold, clone_try_fold. Template node creation and attempt to fold it

* RTTI for ArithmeticReduction(KeepDims)

* Enriched ngraph::get_default_order overloads with ones for dynamic shape and rank

* [ Transpose sinking ] Transpose->FQ->Reduce to FQ->Reduce->Transpose

* Style: deleted empty line

* RTTI in Reduction operations

* RTTI for LogicalReductionKeepDims

* Transpose: optimizations moved from algebraic simplification to TransposeSinking

* renamed file

* Fix test

* keep_dims is always initialized

* Apply suggestions from code review

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

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-04-05 13:29:21 +03:00
Yunji Kim
71d56ee149
[IE CLDNN] lower the tolerance of scatter elements update fusing test from 1 to 1e-5 (#4953) 2021-04-05 09:54:56 +03:00
Katarzyna Mitrus
69cd2deb2c
DefromablePSROIPooling shape inference update (#4897)
* Test dynamic interval batch dim propagation

* Fix interval batch dim propagation

* Additional shape and attributes checks

* Update type_prop tests

* Comment update

* Update ngraph_reader test

* Revert group_size dims check

* Update class docs

* Fix mode init value

* Add new ngraph reader test with correct pooling mode

* Comments update

* Update error messages

* Update rank checks to use compatible

* Add newline at EOF

* Update ngraphReader test names
2021-04-03 20:19:28 +03:00
Bartek Szmelczynski
4120344d11
Revise mod (#5060)
* clean the FusedOp from mod operation

* add backend and type_prop tests for mod operator

* convert taking autobrodcast to match binary elementwise arithmetic ops

* add type_prop/mod.cpp to CMakeLists.txt

* fix style

* fix style v2

* remove evaluate method and add backend test for negative numbers

* add copyright for type_prop/mod.cpp
2021-04-03 19:07:01 +03:00