Commit Graph

4386 Commits

Author SHA1 Message Date
Bartosz Lesniewski
1471095bdb
Revise Less (#6728)
* Revise spec

* Comparison backend test POC

* Split Comparison ops tests into separate files

* remove comparison.cpp, remove unused imports, replace for_each with range based for

* remove unnecessary ngraph:: prefixes

* Fix links in spec

* Add Less to trusted ops list

* Add missing ','

* Use builder in backend tests

* Remove old backend tests for less, equal
2021-07-28 15:36:07 +03:00
Ilya Sharikov
6ee9285fe5
Added Windows OS support to MemCheckTests (#6684)
* Added Windows OS support to MemCheckTests

* Move system headers to cpp file

* Moved includes for windows to cpp file. Was rewrited function to get memory info

* Was rewrite functions for getting information about memory

* Moved implementation run_in_process to cpp file

* Fixed implementation of run_in_process
2021-07-28 13:06:16 +03:00
Edward Shogulin
c0eb700024
[LPT] Exception fix (#6824) 2021-07-28 00:08:23 +03:00
Yury Gaydaychuk
1f24cc9cea
[CPU] nms disabled (#6822) 2021-07-27 21:16:13 +03:00
Andrey Somsikov
2e26dfd4dd
Fix sanitizer build (#6790)
Use default linker for sanitizer builds

Compiler out of memory tracking variables in GPU tests.
This trigger recompilation without tracking. Disabling
tracking globally as not required option.

UBSan build is failing on maybe uninitialized variable.
Temporarily disable the check.
2021-07-27 15:29:34 +03:00
Alexander Zhogov
16dc8d4c52
Azure CI: Add building Python API on Windows (#6799)
* Azure CI: Add building Python API on Windows

* Add Python requirements

* Fix Python ver

* Fix
2021-07-27 13:34:33 +03:00
Maksim Kutakov
e47a85b427
[CPU] Get/Set Blob overhead has been eliminated. (#6737) 2021-07-27 13:22:09 +03:00
Mateusz Bencer
dc5f44e929
Integration ONNX Editor with FE API (#6773) 2021-07-27 12:20:39 +02:00
Gleb Kazantaev
9acedbdacf
Enable TransposeSyncinc and BroadcastElementwiseFusion in MOC Backend (#6796) 2021-07-27 12:24:28 +03:00
Ilya Churaev
71d826e9fa
Fixed CI after #6199 (#6814) 2021-07-27 12:13:10 +03:00
Patryk Elszkowski
7bbf3775bd
initialize NodeBuilder registry by IIFE instead of double lock pattern (#6753) 2021-07-27 07:53:29 +03:00
Szymon Durawa
f5fe8550d9
Remove deprecated convolution API. (#6732)
* Remove deprectaed convolution API.

* Apply correct style.
2021-07-27 07:36:10 +03:00
Yury Gaydaychuk
e5a990e356
[CPU] RoiPooling handles border proposals correctly (#6199) 2021-07-26 23:35:27 +03:00
Ilya Lavrenov
477a1ae04f
Fixed compilation for Android w/o PDPD (#6801) 2021-07-26 20:25:39 +03:00
Yunji Kim
f5666fb3e1
[GPU] Add new operation GatherElements to IE clDNN plugin (#6676) 2021-07-26 17:52:27 +03:00
Dawid Kożykowski
b4ad7a1755
Refactor visitor tests for BinaryElementwiseArithmetic ops (#6667)
* add binary_elementwise file

* change binary_elementwise.hpp to binary_ops.hpp

* migrate mod operation test o typed template test

* add tests for remaining binary ops

* remove comment

* fix formatting to match clang-format

* add RVO-exploit string concatenating andbeautify the code

* add validation for attributes number

* add missing visit_attributes() calls

* add missing 4th param to NGRAPH_RTTI_DEFINITION calls

* fix formatting to match clang-format
2021-07-26 15:49:14 +03:00
Dawid Kożykowski
1a92a69515
Refactor visitor tests for UnaryElementwiseArithmetic ops (#6756)
* remove namespace dependencies from header file

* add RVO-exploit string concatenating

* update acosh test

* update erf test
2021-07-26 15:46:31 +03:00
Ilya Churaev
462c2f9945
Avoid replace parameter in reshape method (#6741)
* Avoid replace parameter in reshape method

* Added comment

* Use set_partial_shape()
2021-07-26 15:11:31 +03:00
Ilya Lavrenov
37c619b0b8
Fixed compilation with Intel compiler (#6788)
* Fixed compilation with Intel compiler

* Fixed template containers for VPU

* Fixe one-dnn

* Updated submodule
2021-07-26 12:42:05 +03:00
Gleb Kazantaev
83a3e083a1
Add more passes to the MOC backend (#6749) 2021-07-26 12:33:23 +03:00
Evgenya Stepyreva
b907c3b84f
set_output_type speedup (#6754)
* set_output_type speedup

* style

* Final optimization

* Removed extra include, removed unnecessary lock_guard

* Typo

* Apply suggestions from code review

Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com>

* Update ngraph/core/include/ngraph/descriptor/tensor.hpp

Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com>

Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com>
2021-07-26 12:00:13 +03:00
Andrey Somsikov
feb1eaef05
Fix file handle leak in cnpy (#6380)
* Fix file handle leak in cnpy


Co-authored-by: Roman Donchenko <roman.donchenko@intel.com>
2021-07-26 11:54:39 +03:00
iliya mironov
16d0c28314
Add check if fastjsonschema installed (#6775) 2021-07-26 11:39:44 +03:00
Mikhail Nosov
ea60879a8b
PDPD: Install generated PDPD test models as 'test' component (#6783)
* Install generated PDPD test models as 'test' component

Needed when test package is installed on another machine which don't have generated models

To search installed models, 'FE_TEST_MODELS' env variable is introduced

* Clang fixes

* Fix PDPD_Places test from latest master
2021-07-26 10:12:26 +03:00
Andrei Molotkov
9b706711fe
[GPU] Refactoring of pre_replace_deconv pass (#6218) 2021-07-26 10:02:21 +03:00
Ilya Sharikov
33dfcd62c2
Add --verbose option to infer_tool (#6770)
Detailed infer results printing overload output and freeze sea_runtool.
Hiding debug messages by default.
2021-07-26 09:00:56 +03:00
LuweiZhou
0c10950032
Revise erf OP (#6477)
* Revise Erf OP sepc

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Revise the NGraph Erf OP implment to switch to RTTI.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Remove the duplicated Erf in the activation type vector.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add NGraph visitor API test case.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Enalbe the Erf visitor API CmakeLists.txt.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Revise the Erf OP backend test

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Migrate to use the template test.

* Add erf type_prop test.

* Update the license

* Unary Visitor test template fix

-Migrate OP Tanh to use RTTI;
-Remove the using namespace in the header file
-Migrate the Swish and Tanh visitor test to use template code


Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Revert "Unary Visitor test template fix"

This reverts commit b686c933d3.

* Update the doc format.

* Update the document format and description.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add Erf OP into the layer test summary list

* Migrate the Erf backend test into template_plugin infrastructure

* Update the Erf supported input type.

* Remove the boolean type support in erf reference implement.

validate_and_infer_elementwise_arithmetic() will fail with boolean type.

* Update the erf test  with all supported types.

* Update with separate namespace of CommonReferenceTest
2021-07-26 07:15:40 +03:00
Andrey Somsikov
d921e7a9c4
Enable mistakenly wiped sanitizer instrumentation (#6780) 2021-07-23 17:51:17 +03:00
Mikhail Nosov
25fc647b2f
Azure CI: run MO unit tests after OpenVINO build (#6772) 2021-07-23 17:42:49 +03:00
Ivan Tikhonov
6e8b0e0ea6
pdpd Place: remaining methods, refactoring, unit tests (#6637)
* pdpd Place: remaining methods, refactoring, unit tests

* resolve merge issues

* use references instead of shared_ptr for Var and Op descs

* Add import pdpd fuzz test; To enable collection of pdpd models, cmake NGRAPH_PDPD_FRONTEND_ENABLE key should be set, the models will be generated to pdpd_test_models folder.

* fix ngraph codestyle

* fix review comments

* Add new methods for Place class

* fix implementation, add tests

* Place: Return nullptr instead of throwing an exception

* ngraph codestyle

* revert return nullptr

* fix build

* fix tests

* fix fuzzing tests

* fix fuzzing tests

* fix readme file

* Revert "fix readme file"

This reverts commit d061e69a0d.

* Resolve review comments

* ngraph codestyle

Co-authored-by: Somsikov, Andrey <andrey.somsikov@intel.com>
2021-07-23 15:22:05 +03:00
Anastasia Popova
c776ea90d8
Added specification for RandomUniform operation. (#6196)
* Added RandomUniform specification.

* Extended description of obtaining float numbers.

* Added description of obtainin float16 and double values.

* Added description of xor symbol.

* Small correction.

* Small corrections.

* Added initial type attribute.

* Corrected IR example, removed unnecessary default values.

* Small correction.

* Added information about type cast between initial and output types.

* Removed initial type attribute.

* Corrected output_type description.

* Corrected minval, maxval description. Corrected IR example.

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Removed unnecessary paper link.

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-07-23 14:22:53 +03:00
Roman Kazantsev
12fb83dc1e
Correct layout for Einsum inputs and output (#6696)
* 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>

* Correct layout adjustment for Einsum inputs and output

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

* Correct a comment in the unit-test

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

* Setup correct transformation dependencies for LayoutChangeForEinsum

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-07-23 11:01:06 +03:00
Ilya Sharikov
252483bb83
Common tests library for shared functionality (#6578) 2021-07-23 10:37:35 +03:00
Ivan Kochin
753fdaee98
Intoduce -latency_percentile flag for the benchmark_app tool (#6479)
* Introduce new -latency_percentile flag for benchmark_app

* Fix syntax
2021-07-23 10:29:55 +03:00
Mikhail Nosov
ac0f3c5271
Install 'paddlepaddle' for Azure-Linux CI (#6764) 2021-07-23 09:14:08 +03:00
Szymon Durawa
fa057627ec
Ref implementation mvn revise (#6600)
* Add visitor and backend tests.

* Add reduction_axes to SLTs, serialization and backend tests.

* Update backend tests.

* Move backend tests to template plugin, remove old ones.

* Apply correct format.

* Add BF16 to SLT, add comment regarding deprecated class.

* Remove BF16 precision as it is not supported in windows, no default values for attributes.

* Reuse Tensor from base_reference_test.hpp
2021-07-23 07:47:08 +03:00
Eugeny Volosenkov
f328eeced6
MultiSubgraph in nGraph (#6621)
* Add multisubgraph

* Fix format

* Fix clang format

* Fix TensorIterator RTT

* Fix subgraph

* Fix codestyle

* Fix comments

* Fix comments

* Fix coments

* Fix comments

* delete get function

* fix methods

* fix ci

* Fix ci

* fix bugs

* Fix cmake

* Fix ci

* delete virtual function

* delete virtual function

* fix ci

* Fix ci
2021-07-23 07:03:25 +03:00
Andrey Somsikov
22b9431a14
Add install target to fuzz tests (#6761) 2021-07-22 23:52:50 +03:00
Alexey Suhov
8b196fd78a
[cpack] Install compiled vpu custom kernels (#6766) 2021-07-22 23:40:00 +03:00
Edward Shogulin
fefe7f4176
[LPT] FakeQuantize folding extending (#6708)
* [LPT] ConvolutionBackpropData fix FQ weights folding

* [LPT] Fixed test to reproduce the bug

* [LPT] fold FakeQuantize

* [LPT] Function tests refactoring

* refactoring

* [LPT] functional test quick fix

* [LPT] dynamic shapes support

Co-authored-by: Zinoviev, Vladimir <vladimir.zinoviev@intel.com>
2021-07-22 23:17:23 +03:00
iliya mironov
e1bffcc36c
Add json validate (#6449)
* Add json validate

* Fix json schema

* Fix schema loader

* Add unit test

* Update bom file

* Update all requarments

* Update dev requarments

* Update requrments

* Update path to schema

* Update schema

* Add some unit tests

* Move schema to root dir

* Update schema path in bom file

* Fix unit test

* Fix bom

* Change path to schema

* update setup

* Fix setup

* Fix mo args test

* Refactoring some code

* Refactoring according to review

* Update sort imports

* Remove id attribute from schema

* Refactoring validator

* Fix according to review

* Move schema from json to dict. Update unit tests.

* Fix BOM file

* Update bom file
2021-07-22 21:12:44 +03:00
Daria Mityagina
8ba64b14c5
[VPU] Added support for 2 axis for MVN layer - duplicate (#6748)
* [VPU]Added support for 2 axis for MVN layer

Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2021-07-22 19:56:55 +03:00
Maxim Vafin
1ebdcb1d71
Fix reading constants in paddlepaddle frontend (#6755) 2021-07-22 19:21:32 +03:00
Ilya Lavrenov
df264e682a
Protobuf lite (#6758)
* Compilation with protobuf-lite for PDPD FE
2021-07-22 19:13:43 +03:00
Mikhail Nosov
4e4442d99e
PDPD frontend - support of protobuf_lite (#6747) 2021-07-22 19:11:02 +03:00
Mateusz Tabaka
22273f8069
[ONNX] Add ONNX specific FrontEnd classes (#6615)
This change implements a subset of FrontEnd API for ONNX:

Changes:
- move onnx_common, onnx_editor and onnx_import to ngraph/frontend/onnx
- introduce new target 'onnx_frontend_ngraph' located in ngraph/frontend/onnx/frontend
- new target implements subset of FrontEnd, InputModel and Place interfaces
2021-07-22 16:26:05 +02:00
Paul Youngsoo Ahn
fd3e4a3d45
[GPU] Enable loop5 (#6427) 2021-07-22 16:48:45 +03:00
Vladimir Gavrilov
abc6a336b1
Fixed processing tags in summarize_graph.py (#6726) 2021-07-22 14:39:54 +03:00
Vladimir Paramuzov
6dc771c2e7
[GPU] Allowed more complex syntax for debug config options. Some alignment with CPU (#6682) 2021-07-22 13:29:09 +03:00
Patryk Elszkowski
35fb3f3d7d
Acosh ref impl (#6664)
* minor changes in Op class and add ref impl for acosh

* acosh in new test framework

* add Acosh type test

* add SLT for Acosh

* run more test

* new acosh plugin test

* add visitor test

* fix test utils

* add template test for all supported types in Acosh

* add builder to template tests

* update grn template_plugin test

* update maste to feature branch
2021-07-22 12:59:59 +03:00