Commit Graph

3875 Commits

Author SHA1 Message Date
Mateusz Tabaka
d76d267478
Add support for fp64 in Convert's evaluate (#5911)
It's required for t2t-vit models.
2021-06-16 13:46:33 +03:00
Mateusz Tabaka
dc0d482c23
Add support for fp64 in Sqrt's evaluate method (#5913)
It's required for t2t-vit models.
2021-06-16 13:45:36 +03:00
Rafal Blaczkowski
7b2779c406
cleanup improvement (#6186) 2021-06-16 13:25:06 +03:00
Alexander Shchepetov
b0c508d4ff
Add layer tests (#5789)
Co-authored-by: alexander.shchepetov <ashchepe@nnlvdp-cflr51.inn.intel.com>
2021-06-16 12:50:16 +03:00
Edward Shogulin
72cb75ffc7
[LPT] Reshape folding extending: cherry-pick to master (#6151)
* [LPT] Reshape folding extending

* [LPT] tests addition

* typo quick fix
2021-06-16 11:14:29 +03:00
Chenhu Wang
dbe1c1ab49
[CPU] Change rounding type in load/store emitters (#6134) 2021-06-16 10:32:32 +03:00
Anna Khakimova
b6d7af12ae
PP: Color conversion kernels refactoring (#5985)
* [PP] POC of vectorised kernels refactoring

 - base/framework changes

* [PP] POC of vectorised kernels refactoring

 - ChanToPlane implementation

* [PP] POC of vectorised kernels refactoring

 - ChanToPlane, switched order of dispatching to first choose ISA type

* [PP] POC of vectorised kernels refactoring

 - ChanToPlane, moved choose ISA stage to kernel package generation

* Preparing

* NV12ToRGB kernel refactoring

* * I420ToRGB kernel refactoring

Co-authored-by: Anton Potapov <anton.potapov@intel.com>
2021-06-16 10:07:46 +03:00
Vladimir Paramuzov
2f81968a31
[IE CLDNN] Introduced new runtime API (#5417) 2021-06-16 09:27:16 +03:00
Evgenya Stepyreva
b36c7736da
Deprecated legacy maximum_value method (#6178)
* Deprecated legacy maximum_value method since it is less reliable than the existing one

* Style and doxygen \deprecated comment
2021-06-16 09:06:19 +03:00
Gabriele Galiero Casay
8c68f8b43c
Revise reference implementation for ReduceMin operation (#5797)
* Revise reference implementation for ReduceMin operation

* Refactor backend unit tests

 * Move tests with zero dims to op_eval

* 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

* Re-arrange unit tests in manifest
2021-06-16 09:01:57 +03:00
Patryk Elszkowski
59fd456ba2
minor fixes in Parameter spec (#6146)
* minor fixes in Parameter spec

* expand supported type list and add output shape info
2021-06-16 07:37:37 +03:00
Jan Iwaszkiewicz
c4274d4c32
Change version of pybind (#6145) 2021-06-16 07:36:06 +03:00
Patryk Elszkowski
4fb2d83db9
use RTTI declaration macro and add visitor API test (#6147) 2021-06-16 07:09:57 +03:00
Roman Kazantsev
3292543252
Fix recovery of output subscript in Einsum implicit mode (#6131)
* Fix recovery of output subscript in Einsum implicit mode

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

* Fix code style

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-06-16 06:43:12 +03:00
Gleb Kazantaev
ea3ed8af21
Turn on IE and NG python APIs by default inside Model Optimizer (#5721)
* Turn on IE and NG python APIs by default inside Model Optimizer

* Remove fallback

* Fix mo_ut

* Remove MO wheel tests

* Add model_optimizer custom target to gather all MO deps inside single traget

* Fix PR comments
2021-06-16 03:12:24 +03:00
Marina Kolpakova
ad852f78b4
[§] cleans snippets interface and adds subgraph tests (#6123) 2021-06-16 01:00:19 +03:00
Szymon Durawa
613bb981ce
external_port_id is calculated based on number of op inputs. (#6037)
* External_port_id is calcultaed based on number of op inputs.

* Add test for external_port_id serialization.

* Restore data section appearance in xml file.
2021-06-16 00:44:34 +03:00
Mikhail Nosov
0981a15846
[Caching] Klocwork fixes (#6157) 2021-06-15 22:40:46 +03:00
Edward Shogulin
a16af0d2ea
[LPT] FakeQuantize folding fix to support ConvolutionBackpropData with FQ on weights (#6160) 2021-06-15 16:59:10 +03:00
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