Commit Graph

3856 Commits

Author SHA1 Message Date
Bartosz Lesniewski
58eef532e9
Revise ExtractImagePatches op - specification (#6105)
* Change example input matrices to tex

* Remove leftover matrix template

* Remove reference to TF operation
2021-06-15 13:54:00 +00:00
Ilya Lavrenov
b4e6028f8b
Fixed shellcheck issues (#6141) 2021-06-15 16:29:26 +03:00
Gabriele Galiero Casay
c3d1c2e420
Revise reference implementation for ReduceMax operation (#5792)
* Revise reference implementation for ReduceMax operation

* Refactor backend unit tests

 * Move tests with zero dims to op_eval
 * Remove test with double elem type

* Fix code style

* Added minor changes

 * Replace CoordinateTransform for CoordinateTransformBasic
 * Added constant expression to set keep_dims as false

* Add const qualifier to local variables

* Use host tensor to retrieve and normalize axes
2021-06-15 16:12:12 +03:00
Patryk Elszkowski
db74707835
Enable reshape test (#6161) 2021-06-15 15:08:36 +02:00
Jozef Daniecki
5ebdcfe15b
StridedSlice operation specification refactoring (#5887)
* StridedSlice spec refactored against explicit type indication.

* Add name to data input.

* Add new examples.

* Changed T to 'any supported type'.

* Remove mention about 'generalized python indexing' from short
description.
2021-06-15 15:35:47 +03:00
Bartek Szmelczynski
d7b2e4e50e
revise space_to_batch spec (#5767)
* refactor part of the docs file to use \dots

* refector docs

* add function enclosure for docs

* split function enclosurs across lines

* add latex operations to spec

* fix style

* fix missing index

* remove link to tensorflow operation

* Remove commas from formula.

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-06-15 15:24:40 +03:00
Katarzyna Mitrus
a248d84894
[Spec] ShuffleChannels spec update (#5813) 2021-06-15 15:02:37 +03:00
Alina Kladieva
67c93ec6fa
Return sporadic GPU test cases (cannot reproduce 54436) (#6127) 2021-06-15 13:47:06 +03:00
Anton Romanov
d777679de9
Added copyrights note into CMakeLists (#6155) 2021-06-15 10:19:58 +00:00
Gabriele Galiero Casay
134c66a933
Reference Implementation of Logical Reduce Operations (#6004)
* Remove CoordinateTransform call to index function to calculate tensor element indexes

* Allow negative axis values in axes host tensor

* Added constant expression to set keep_dims as false

* Use rank from host tensor to normalize axes

* Address minor comments

* Add const qualifier to local variables
* Add deprecated macro for arm plugin dependent function signatures

* Remove duplicate helper functions
2021-06-15 12:06:30 +03:00
Patryk Elszkowski
766d011b06
reshape reference implementation - new implementation (#5559) 2021-06-15 07:25:19 +03:00
Gabriele Galiero Casay
b4a4c9110c
Revise Reference Implementations ReduceLp operations (#6065)
* Revise reference implementation for ReduceL1 operation

* Revise reference implementation for ReduceL2 operation

* Move op_eval tests to backend unit tests

* Added minor changes

 * Replace CoordinateTransform for CoordinateTransformBasic
 * Added constant expression to set keep_dims as false

* Add const qualifier to local variables

* Use rank from host tensor to normalize axes
2021-06-15 07:18:57 +03:00
Szymon Durawa
772465da1e
Add output shape and output padding for Convolution Backprop SLTs. (#5576)
* Create output shape for Convoution Backprop SLTs.

* Add output_padding attribute to SLT scope.

* Introduce SLT for Serializaton.

* Introduce new test layer class ConvolutionBackpropLayerTest which contains output_padding attribute and output_shape input. Old one is deprecated, but cannot be removed due to kmb plugin dependency.

* Add ConvolutionBackpropDataLayerTest into TEST_P.

* ConvolutionBackpropDataLayerTest left as legacy class used by kmb_plugin.

* Remove redundant variables.

* Switch to new API for gpu SLTs.

* Remove legacy API.

* Introduce legacy API to match dependency for KMB and ARM plugins.

* Create test cases for output_padding attribute.

* Fixing smoke_Deconv tests.
2021-06-15 07:08:10 +03:00
Patryk Elszkowski
6deec50b0b
Reshape OP: add SLT for special -1 value in new shape dimensions (#5648)
* add test for special `-1` value in new shape dimensions

* add ticket with next steps
2021-06-15 07:07:18 +03:00
Katarzyna Mitrus
8dff04df28
ShuffleChannels ng op and reference implementation revision (#5764)
* Unblock shuffle channels tests from ie test manifest

* Add more backend tests

* ShiffleChannel reference impl update

* Update attr visitor test

* Remove unused get_pre_shuffle_shape helper function

* Update class descriprion

* Add type prop shape tests

* Remove NGRAPH_SUPPRESS_DEPRECATED macro

* Add single layer tests

* Update layer tests

* Remove unused header

* Move implementation to cpp file
2021-06-15 07:04:06 +03:00
Bartosz Lesniewski
f8759e1982
Revise ExtractImagePatches op (#6104)
* use ngraph rtti macros

* Add attribute count check to visitor tests

* Add sslt for ExtractImagePatches

* refactoring variable names

* remove whitespaces from empty line
2021-06-15 06:55:48 +03:00
Andrey Somsikov
fb7435a647
Add cnpy fuzz test and fix issues (#6109) 2021-06-14 17:00:49 +03:00
Mingyu Kim
17b5240065
Typo fix (#6144) 2021-06-14 16:47:59 +03:00
Szymon Durawa
978121e91e
Ref implementation transposed convolution revise (#4999) 2021-06-14 13:28:32 +02:00
Bartek Szmelczynski
826638e523
Revise space_to_batch (#6034) 2021-06-14 12:18:22 +02:00
Gabriele Galiero Casay
dc415573d4
Revise reference implementation for ReduceProd operation (#5774) 2021-06-14 11:29:33 +02:00
Bartek Szmelczynski
458435ad75
Revise selu (#5513)
* remove FusedOp from selu operator

* add type_prop tests for selu op

* add vistors test for selu op

* update CMakeLists and fix wrong path to visitors test for selu

* fix style

* add backend tests for selu op

* refactor validate_and_infer_types function for selu op

* refactor type_prop tests for selu to catch particular errors

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-06-11 18:01:52 +03:00
Victor Kuznetsov
089f76cc7f
Add branch field to submit to DB in MemCheck/TimeTests (#6073) 2021-06-11 12:57:01 +03:00
Tomasz Socha
167a5519b1
[ONNX Importer] 🕸️ Make global pools more dynamic (#6122) 2021-06-11 12:27:58 +03:00
Alexander Zhogov
8830dcabf3
GitHub CI: Check committer email 2021-06-11 11:18:25 +03:00
Gabriele Galiero Casay
c8af311774
Revise reduction operations base classes (#5609)
* Revise reduction operations base class

* Fix visitor tests for logical reduction ops

* Remove node validation checks that break backward compatibility with tests
  * Check for integer element type of axes input
  * Check for unique elements provided in axes input

* Set mvn fusion test to have axes input with element type integral for ReduceMean nodes

* [LPT] Revise reduction operations base classes support in LPT

* Add node validation checks for integer element type of axes input in reduction operations

* Add end of line to files

* Implement output shape inference of reduction ops as member function

* Add ReduceBase class to have a common method to infer output shape

Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
2021-06-11 10:23:08 +03:00
Gabriele Galiero Casay
ddc27d3513
Revise reference implementation for ReduceSum operation (#5728)
* Revise reference implementation for ReduceSum operation

* Refactor backend unit tests

 * Move tests with zero dims and dynamic shapes to op_eval
 * Removed tests for f64 precision not supported

* Add support for precisions bf16, i8 and u8

* Clean up interpreter manifest unit tests

* Create ticket for result mismatch and accuracy failing tests

* Disable back interpreter tests failing for ubuntu18 i386 for large tensors

* Revert "Add support for precisions bf16, i8 and u8"

This reverts commit 8f1bba0dff.

* Add to manifest tests with disable types of reference implementation

* Address review comments

 * Use constexpr variable to set keep dims as false in reduction output shape
 * Replace CoordinateTransform with CoordinateTransformBasic

* Fix typo in variable name

* Remove keep_dims parameter from sum function call
2021-06-11 07:41:44 +03:00
Mikhail Nosov
05469e95e9
[NG Frontend] Frontend exceptions (#5993)
* [NG Frontend] Introduce classes and macros for Frontend-specific exceptions

* Add FrontEnd exception unit tests

* resolve review comments

* Import FE exception classes

* code style

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2021-06-11 07:14:36 +03:00
Tomasz Dołbniak
14e486b767
MVN test with opset6 version of the op (#6111) 2021-06-10 23:34:36 +03:00
Irina Burgun
d2adea950f
Freeze summary header while scrolling (#6121) 2021-06-10 22:23:01 +03:00
Bartek Szmelczynski
084aa4e591
Revise log (#6061)
* refactor ngraph log class, add type_prop tests

* udpate inputs, outputs decscription in spec

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-06-10 19:35:52 +03:00
Tomasz Dołbniak
9e9e33e772
Axes input handling in ReduceSum evaluator (#5614) 2021-06-10 18:13:56 +03:00
Maxim Vafin
c3ad7dc2a4
Specify AdaptiveAvgPool-8 and AdaptiveMaxPool-8 (#5773)
* Specify AdaptiveAvgPool-8 and AdaptiveMaxPool-8

* Apply review feedback

* Describe indices output

* Apply review feedback

* Apply review feedback

* Update AdaptiveMaxPool_8.md

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Apply review feedback

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2021-06-10 18:09:35 +03:00
Alexander Zhogov
c7141973ec
GitHub CI: Fix checking commits in case of no email 2021-06-10 12:46:24 +03:00
Tomasz Dołbniak
6040d433d3
Fix for the paddings attribute handling for ONNX Pad@1 (#6101) 2021-06-10 11:06:30 +02:00
Tomasz Socha
9f1720b0e4
[ONNX Importer] Remove quantized matmuls (#5043) 2021-06-10 10:54:42 +02:00
Alexander Zhogov
17a899ed0c
Change version to 2022.1 2021-06-10 10:33:47 +03:00
Ilya Znamenskiy
6ec725baac
Revert "[IE CLDNN] Use fsv4 when feature-depth is shallow (#4398)" (#6103) 2021-06-09 23:39:51 +03:00
Maxim Shevtsov
d4f323f3dd
fix wording (#6108) 2021-06-09 22:22:47 +03:00
Mikhail Ryzhov
1a6392eb53
[GNA] Fixed export/import functionality (#5963)
* Rebase master

* [GNA] Fixed export/import functionality

* Extended import log

* Added logs

* Fixed importing issue for the old models

* Revert "Added logs"

This reverts commit 39a3882d56.

* Revert "Extended import log"

This reverts commit 59eb9d6fba.

* Reverted precision import

* Extended tests

* Enabled skipped tests

* Included gna2-common-api header

* Replaced included header

* Centos7 build fix
2021-06-09 20:39:05 +03:00
Ivan Tikhonov
3bedd051dc
processing sinks in hetero plugin, update single layer tests (#6090) 2021-06-09 19:03:38 +03:00
Konstantin Satunin
ec1134532a
Align logic and feature flag name (#6107) 2021-06-09 18:52:44 +03:00
Elizaveta Lobanova
f4ba0f28a9
[GNA] Convert Matmul with batch size > 8 to pointwise convolution (#5991)
* [GNA] Convert Matmul with batch size > 8 to pointwise convolution.
Support Eltwise split to more than 2 parts.
Fake Quantize support fixes.

* Put convolution split into a separate transformation

* Add separate transformations for cases with bias and fake quantize

* Rollback restriction for diagonal layer reshape
2021-06-09 18:15:39 +03:00
Anton Chetverikov
6a5b6b8b30
Add transformation to normalize negative indices in Gather (#6028)
* Add transformation to normalize negative indices in Gather

* Update transformation name and add constant indices input to the pattern

* Apply comments

* Fix copyright year

* Add more tests

* Update type logic

* Add test with different types and update old ones

* Update pattern and logic to check only axis dimension is static, add appropriate tests

* Fix cdestyle

* Add axis normalization

* Fix wrong value in gather input

* Add related tests

* Add axis_constant to check

* Remove ngraph_check
2021-06-09 17:26:52 +03:00
Daria Mityagina
3bc2c46693
[IE][VPU] Yolo_v5 support (#5976)
Changing the threshold for VPU scales
2021-06-09 16:27:52 +03:00
Evgeny Talanin
8dd914477c
Pin mypy dependency (#6098) 2021-06-09 15:06:21 +03:00
Ivan Novoselov
8c74a0a52c
[CPU] Fixed reorder for strided both inputs and outputs (#6082) 2021-06-09 14:27:43 +03:00
Ivan Tikhonov
aa0c93300c
Update for Python API to create networks with Memory layers (#6079)
* Update python API for Memory

* Run unit tests on CPU only

* add missed import

* Update tests

* fix py tests
2021-06-09 12:19:36 +03:00
iliya mironov
421465adc1
Add ShapeOfConstFolding transform (#5858)
* Add ShapeOfConstFolding transform

* Add unit tests

* Update bom file

* Update transform file

* Hot fix

* Fix midle replaser

* Update unit tests

* Fix get value

* Refactoring Const Folding transformation. Move to back

* Update bom file

* Remove unuse code

* Add some unit tests

* Refactoring unit test

* Hot fix
2021-06-09 12:14:39 +03:00
Nikolay Shchegolev
cbd48cf15f
[CPU] Statically found issues on Windows. (#6075) 2021-06-09 10:12:58 +03:00