Commit Graph
2605 Commits
Author SHA1 Message Date
Nikolay Shchegolev a5fce440e1 [CPU] Double registration of MVN6 decomposition. (#4388) 2021-02-18 11:11:02 +03:00
Jozef Daniecki 9d28767b72 BinaryConvolution specification review. (#4093)
* BinaryConvolution specification refactoring.

* Aligh tensor types to current CPU implementation.

* Remove !D & 3D case becuase CPU plugin supports only 2D case.

* Add pad_value to the example.

* Add  computation algorithm for mode 'xnor-popcount'.

* Computation formula refactoring.

* Fix typo in the description.
2021-02-18 10:38:34 +03:00
Anton ChetverikovandAnastasia Popova 2c4afd8cd4 Tensor names support in MO IR Reader (#4194)
* Added attributes save modes

* Added tensor names to IR

* Reformat code

* Add support for tensor names in MO IR Reader

* Unit tests and code refactoring

* Fixed error

* Code refactoring

* Code refactoring

* Code refactoring

* Error fixed

* Error fixed

* Bug fixed

* Bug fixed

* Additional unit tests and comments

* Small update

* Update fake infer function

* Update names restoring

* optimize imports

* Add support for old-style constants and for commas in reader

* Added dest mode in Fuse Mul

* Update default values

* Fix missed debug info in some specific cases

* Fix a lot of issues with missedand wrong names provoding

* Resolve review comments

* Update test IR's

* Refactor and simplify code

* More simplification

* Remove unneccessary changes

* model-optimizer/mo/utils/ir_reader/layer_to_class_test.py

* Add separate tests for names restoring

* Update copyright year

* Apply review comments

Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>
2021-02-18 10:38:04 +03:00
Maxim VafinandGleb Kazantaev 1bfe79cf48 Add MVN fusion transformation (#4262)
* Add MVN fusion transformation

* Apply suggestions from code review

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

* Apply review feedback

* Fix build

* Apply review feedback

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-02-18 06:36:32 +03:00
Michał Karzyński ec9b5894fb [ONNX] Add support for BitShift operator (#4368) 2021-02-17 16:39:27 +01:00
Vladimir Paramuzov 45ae389842 [IE CLDNN] Fixed layout optimizer (#4325) 2021-02-17 18:25:16 +03:00
Andrew Bakalin 695d2a90ba [IE][VPU]: Fix injection in dynamic case (#4343)
* Redirect StageDependencies from injected stage to the parent of the injection.
* Change StageDependencyEdge to be Stage<->Stage connection. In fact, it affects only stages order, so it would be more natural (also more convenient) to represent it so.
* Add injectedStageDependencies to InjectionEdge to be able to distinguish those dependencies that were added to hwStage during the injection process and make the revertion correct.
2021-02-17 17:39:07 +03:00
Katarzyna Mitrus 7df5a98dde [ONNX] Update warning message for ONNX Constant node (#4355) 2021-02-17 14:40:47 +01:00
Evgeny Lazarev f1d86b1455 Added comment to the TopK describing output order of equal elements (#4381)
* Added comment to the TopK describing output order of equal elements

* Fixed typo
2021-02-17 15:53:36 +03:00
Daniel 563425ce41 add Linux Mint 20.1 (X86_64) support (#4308)
* add Linux Mint 20.1 (X86_64) support

* update patch
2021-02-17 15:42:17 +03:00
Ilya Lavrenov dd79dd755c CC: fixed issue with rebuild when only CC header is changed (#4370)
* CC: fixed issue with rebuild when only CC header is changed

* Updated submodule as well
2021-02-17 15:41:54 +03:00
iliya mironov f670b7cb3a Add CTCGreedyDecoder mo support (#4009)
* Add CTCGreedyDecoder mo support

* Update copiright

* Update bom file

* Add transformation

* Fix code style

* Fix according to review

* Add CTCGreedyDecoder v6 to ConvertPrecision

* Hot fix

* Add replasment for ctc_greedy_decoder

* Fix test

* Fix

* Update ie transform

* Draft ctc lost replaser

* Add ctcloss replaser

* Update

* Refactoring code

* Update transformation

* Update decoder

* Remove comments

* Convert seq mask from int to float

* Fix unit test

* Add dynamic tests

* Refactoring code

* Fix py code style

* update style

* Disable ctcgreedydecoder transform for mkldnn plugin

* Add some comments

* Add transfor code comments

* Enable transform from differend plagins

* Fix mo

* fix tests

* Fix comment

* Fix convert precition

* Update comment

* Fix prcition

* Refactoring according to reviw

* Add ir reder extender

* Rename transformation

* Update bom file

* Fix mo replacer

* Fix tests

* Move transform to decomp

* Add check blank_index

* Rafactoring ctcloss

* Change dinemic rank check

* Fix ctclos extractor

* Remove comment

* Fix code style

* Refactoring pattern matcher for transformation CTCGreedyDecoder

* Disavle transform for vpu

* Refactoring according to review

* Refactoring code

* Disable transformation for cldnn

* Remove unused code

* Reverse transfomation

* Fix code style

* Hot fix transform

* Fix unit tests

* Update transform

* Enable transform in common pipline

* Fix names replasments for mo transformations

* Hot fix

* Fix
2021-02-17 14:38:51 +03:00
Ilya Lavrenov edbb802e55 Removed some legacy code (#4371) 2021-02-17 13:57:14 +03:00
Evgeny Lazarev 2f9e215f7d Changed check for dimension size to be non-negative (#4328)
* Changed check for dimension size to be non-negative

* Added unit test for reading model with ShapeOf from scalar and fixed IE IR parser

* Added comment to the test

* Fixed ShapeOfFromScalar test

* Fixed incorrect merge

* Added test for a negative value of "dim" in IR
2021-02-17 12:19:44 +03:00
Vladimir Gavrilov 3b2506989e Fixed performance drop for Interpolate-4 (#4354)
* Commit.

* Reverted fix in the nGraph conversion of Intepolate-1 into Interpolate-4.

* Small fix.

* Added comment.

* Added TODO.
2021-02-17 10:58:08 +03:00
Maksim Kutakov 24aeb16fd1 [CPU BF16] OneHot layer extended with bf16 support. (#4171) 2021-02-17 10:52:23 +03:00
Michał Karzyński 66634a9939 Update ONNX compliance test list (#4360)
* Update ONNX compliance test list

* Update test_backend.py
2021-02-17 07:40:47 +03:00
Evgeny Lazarev f8f60b2d83 Stick requirement version of astroid to be 2.4.2. Also fixed pylint issue with astroid==2.5 (#4365) 2021-02-16 21:34:51 +03:00
Polina Mishanina d383bc0d83 Add try-except (#4357) 2021-02-16 19:47:38 +03:00
Yanglei Zou d9140a0f83 Fix some bugs for ROI Align (#4212) 2021-02-16 18:25:13 +03:00
Irina Efode 36799dce86 [IE TESTS] Add Opset6 to the report (#4348) 2021-02-16 18:17:13 +03:00
Vladislav Golubev 8a4aa1bafa [LPT] StridedSliceTransformation accuracy degradation fix (#4300)
* [LPT] StridedSliceTransformation fix

* added comments
2021-02-16 16:41:37 +03:00
Tomasz Jankowski 5e17926604 [ONNX Editor] Add initializers for model inputs (#4025) 2021-02-16 14:12:27 +01:00
Andrew Bakalin 0a36e4e810 [VPU] Change data structure in processTrivialCases method (#4250)
* [VPU] Fix PR #4060

* [VPU] Review fixes
2021-02-16 14:39:56 +03:00
Tomasz Socha 185aaacc07 [ONNX] Add support for Softmax v11 in opset 7 models (#4340) 2021-02-16 11:58:39 +01:00
Mateusz Bencer cc645d50e4 Resolve Klocwork issues (#4341) 2021-02-16 11:55:28 +01:00
Jan Iwaszkiewicz a3af43c8e4 [ONNX] Minimum op xfail updated (#4332) 2021-02-16 11:43:07 +01:00
Katarzyna Mitrus a980bc9bd9 Spec update (#4353) 2021-02-16 13:18:40 +03:00
Patryk ElszkowskiandPatryk Elszkowski e1d983a12e XmlDeserializer - move to src file (#4347)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-16 13:15:41 +03:00
Ilya Lavrenov 01b499b334 Hidden visibility for ONNX (#4233) 2021-02-16 13:06:41 +03:00
Andrey Sokolov 8278e3960f [IE][VPU]: support GatherElements* (Gather + GatherElements) (#4220)
Support (Gather+GatherElements) optimization for GatherElements layer.
Includes PR: #4140
2021-02-16 12:59:13 +03:00
Pavel Esir 22169a05b9 [MO] StridedSlice improvements (#4139)
* fix ss

* successfully converted

* successfully run moved infer and normalizer unit-tests

* successfully rewritten StridedSlice infer unittests

* int64 array

* Successfully converter crash-when-loading, xj_feauture and toy nets (cherry-picked maxpoolV4 and tf_broadcast_ext)

* successfully moved PermuteAttrs to general mechanism

* successfully converted xj_feauture and crash when loading with the new rewritten SS infer

* fixed get_shape_from_slice and moved to common utils

* fixed extending masks and some other

* some refactoring

* fixed extending masks in extractor, fixed licence year and some other code clearing

* corrected a couple of unittests

* fox permute for 5 rank slice and 4 rank inputs/

* WIP

* Added comments

* fixed StridedSlice in ProposalMutation.py

* rechecked shape_infer unittests added some new cases

* added shape_infer unit-tests after StridedSliceNormalizer pass and Permute unit-tests

* corrected unittests

* Applied review comments

* general permutations for inputs implemented, corrected ellipsis unrolling when shrink_axis is at the beginning, some other corrections

* removed code duplication in infer and normalizer, moved 'slices' attr normalizing to StridedSliceNormalizer.py

* removed some code duplication and other minor improvements

* Added tests

* minor corrections

* wider range of unittests added (froze the number)

* review comments applied

* enabled skipped unit-test

* comment corrections

* applied review comments: changed op -> type, added some asserts, corrected comments and other minor corrections

* sorted inputs, updated Supported_Frameworks_Layers.md, some minor
2021-02-16 11:48:49 +03:00
Andrei Kochin d2548ddb60 [Docs] Add opset6 content and add opset reference (#4338)
* [Docs] Add opset6 content and add opset reference

Delta to opset5:
 * CTCGreedyDecoderSeqLen
 * GatherElements
 * MVN-1 -> MVN-6

* Update opset6.md

* adding ie_docs.xml based on @lazarevevgeny comment
2021-02-16 10:24:58 +03:00
Maksim Kutakov 274a70bd14 [CPU BF16] BF16 support was added to the SoftMax primitive. (#4279) 2021-02-16 09:41:21 +03:00
Mingyu Kim 75eca09abd [IE CLDNN] Yolo v4 bugfix from some model (#4260)
* Winograd conv seems to cause slight error
* Enable fsv16 path in case where RegionYolo exists
* Prefer bfyx from RegionYolo primitive
2021-02-16 09:08:15 +03:00
Vladimir Paramuzov ad21c6d3a4 [IE CLDNN] Fixed dynamic batch for 2D layout (#3992) 2021-02-16 08:43:31 +03:00
Mingyu Kim e22d946a56 Typo for cross-check tool (#4350) 2021-02-16 07:08:54 +03:00
Patryk ElszkowskiandPatryk Elszkowski a73e997480 Refactoring FunctionsComparator - extract node comparison part (#4175)
* Refactoring FunctionsComparator - extract node comparison part

* try to fix logic and CentOS bulids

* Add negative test for precision

* Use fixed ngraph::descriptor::Tensor type instead template type

* reorganize ngraph_test_utils.cpp

* Cleanup after merge master into branch

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-16 07:04:19 +03:00
Elizaveta Gerashchenko 769bb77095 [IE CLDNN] ITT cldnn part (#4253) 2021-02-15 21:35:54 +03:00
Andrey Sazonov a558a6f143 Fix GetConfig doc (#4333) 2021-02-15 21:13:34 +03:00
Michał Karzyński ccc1a9f357 Rename dunder methods (#4334) 2021-02-15 18:34:21 +01:00
Ilya Churaev c52c4916be Added a template for PRs (#4313) 2021-02-15 15:18:29 +03:00
Andrey Dmitriev 5866f713d9 [GNA] Added test for backward compatibility (#4315) 2021-02-15 14:46:56 +03:00
dependabot[bot] 01e4606bd0 Bump tox from 3.21.2 to 3.21.4 in /ngraph/python (#4227) 2021-02-15 11:55:33 +01:00
Ivan Novoselov 9e87ddfc55 Ngraph reference implementation: OneHot specifications review. (#4243)
* Reformulated, intermediate. No positive indices.

* Indices >= 0, depth > 0.

* Added the Types section and a more complicated example.

* Behavior for negative indices is undefined

* Wrap T1 & T2 with *

* Revert mkl-dnn to cae1e0b83

* T1: int32 or int64 only
2021-02-15 13:47:46 +03:00
Katarzyna Mitrus 30c52dce35 [SPEC] DeformablePSROIPooling specification update (#4282)
* DeformablePSROIPooling spec update

* Typo update

* Description update

* xml identation

* Review changes
2021-02-15 13:45:43 +03:00
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