Commit Graph

416 Commits

Author SHA1 Message Date
Edward Shogulin 43f18da413
[LPT] Legacy compliance restrictions removal all: Reshape (#6870)
* [LPT] Reshape: legacy compliance restrictions removal

* [LPT] comment fixes
2021-08-06 10:27:34 +03:00
Luo Cheng 86bb056dbf
MulticlassNms/MatrixNms: transformations and CPU implementation (#6653)
* init version, need revise: opset7

* add convert testcase

* multiclass_nms support spec

* init version

* matrixnms support spec

* init support for matrix_nms

* impl matirx_nms

* implemented multiclass_nms reference.

TODO: more test cases.

* support dynamic shape in test

* update to spec 0611

* update to spec 0611

* fixes.

* fix: now sort by class_id and score work.

* fix clang check error

* more test cases verified.

* fixes in ref impl.

* attribute nms_eta works

* test cross_batch and output_type i32.

* enable multiclass-nms cpu plugin fallback ngraph

* keep topk typo

* enable matrix-nms cpu plugin fallback ngraph

* support sort_result_across_batch

* Add matrix_nms unit test

* Add cross batch test cases

* fix typo

* move multiclass to opset8

* move matrixnms to opset8

* Reference implementations for MulticlassNms and MatrixNms ops

* fix name conflict

* remove unused var
sort_result_across_batch default set to false

* avoid float overflow

* fix clang check error

* info for mac fail

* change testcase due to unstable sort

* nms add 'normalized' attribute

* multiclass cpu test support 'normalized'

* nms add 'normalized' attribute

* fixes: 1. normalized support. 2. sort by score before keep_top_k inside a batch.

* fixes: 1. normalized support. 2. sort by score before keep_top_k inside a batch.

* fix sort order in matrix_nms

* fix review comments

* add matrix_nms MKLDNN extension layer

* parallel in matirx nms

* separate filtered_box

* separate class_nms result

* parallel in class

* parallel in batch

* partial new nms

* partial remove useless function

* debug & fix

* debug in indexing

* fix test cases

* remove logging

* fix code-style

* fix typo

* add matrix_nms extension

* nms python api

* remove unused testcases

* refactor transformation

* transform dynamic shape to static shape

* Update inference-engine/src/transformations/include/ngraph_ops/nms_static_shape_ie.hpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* remove register_pass call

* [MKLDNN]migrate matrix_nms to MKLDNNNode

* bug fix in matrix_nms

* padding on matrix_nms

* remove logging

* test case refine

* merged transform_matrix_nms branch

* refine matrixnms testcase

* multiclass nms cpu plugin implement for static shape, rebased on Reference implementations PR

* rebase to new multi-classs transform provided by lc

* Name style algin with matrix-nms

* static shape padding style to batch inside,new unit test method, real classnum shape

* fix format

* fix ci error

* multi-class NMS modification based on PR reviewer opinion: code format, copyright, delete unused include and funciton way

* explicit template instantiation due to mac ci fail

* Yi3/fix review (#16)

* fix coding style

* use parallel_for2d

* fix ci fail

* unify 'copyright 2021'

* mkldnn_multiclass_nms node update based on PR review (#17)

* [MKLDNN] apply suggestion for matrix_nms (#18)

* fix bug

* apply review comments

* apply review comments

* apply review comments

* apply review comments

* skip only Nms test, not MatrixNms MulticlassNms test

Co-authored-by: Zhang Yi3 <yi3.zhang@intel.com>
Co-authored-by: jialipen <cecilia.peng@intel.com>
Co-authored-by: mangguo <mang.guo@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: liubo-intel <bo4.liu@intel.com>
2021-07-30 15:45:44 +03:00
Yury Gaydaychuk 7ab92b5845
[CPU] Adaptive pooling implementation (#6594) 2021-07-29 20:41:24 +03:00
Patryk Elszkowski 0f6e4afa71
update FakeQuantizeLayerTest - add broadcast (#6813) 2021-07-29 07:46:19 +03:00
Yunji Kim f5666fb3e1
[GPU] Add new operation GatherElements to IE clDNN plugin (#6676) 2021-07-26 17:52:27 +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
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
Dmitrii Khurtin e8fa1aaccb
fixed crash related to loading model with fq and sigmoid (#6644)
* fixed crash related with loading model with fq and sigmoid

* renamed multiple_input.* to multiple_input_fq.*; removed two unnecessary FQ layers from smoke_fq_fusion_with_sigmoid test; moved FQ params to test params
2021-07-20 15:38:39 +03:00
Edward Shogulin c3c26b4807
[LPT] Refactoring: PoC (#5226)
* LPT fix for Windows

* LPT fix for Windows

* Remove inference_engine_transformations_EXPORTS

* [nGraph] Register new node in GraphRewrite

* [LPT] nGraph alignment

* [LPT] nGraph alignment: tests

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-07-19 16:48:20 +03:00
Patryk Elszkowski 0d9212683f
FakeQuantize - reference implementation refactor (#6478)
* new implementation of FakeQuantize

* move FakeQuantize backend test to fake_quantize.in.cpp

* enable some test for FakeQuantize

* Add support for PDPD broadcasting and some backend tests

* arm plugin expect less attributes in function call

* try to fix arm plugin build

* try to build arm plugin

* start changing backend test

* add check for attributes number in visitor test

* fix backend test after refactoring

* add default parameter value to runtime::reference::fake_quantize

* Revert "add default parameter value to runtime::reference::fake_quantize"

This reverts commit 9d2c00d967.

* add SLT for FakeQuantize

* remove fesetround

* change `v1` namesapce to `v0` in ref impl

* add FakeQuantize-1 to VERIFIED_OP_REFERENCES

* pass immutable reference to test functions
2021-07-19 12:20:54 +03:00
Ilya Lavrenov bc36425381
Added suggest-override flag (#6631) 2021-07-16 18:55:05 +03:00
Ilya Churaev 811f4c5ae9
Template reference tests (#6456)
* Added convert tests

* Moved convert tests to template plugin

* Fixed build

* Fixed comments

* Fixed templateFuncTests

* Fixed review comments

* Added dynamic registration of template plugin

* Fixed functional tests

* Fixed behavior tests

* Added ticket

* Try to avoid fails
2021-07-12 14:24:36 +03:00
Vladislav Golubev 2ff5d1fab1
[LPT] Plugin tests: added the ability to add test-cases with dynamic shapes (#6436) 2021-07-09 14:55:20 +03:00
Andrei Gorbachev 3fcc54a272
[IE CLDNN] Gather8 (#6430) 2021-07-06 08:12:34 +03:00
Bartosz Lesniewski b231b2b576
Revise PriorBox op (#6363)
* Use ngraph rtti macros

* Check attribute count in visitor test case

* Add priorBox class for SLT

* Add priorBox SSLT

* Add CPU SLT

* moved type_prop tests to type_prop directory

* Add backend tests

* Add PriorBox to trusted ops list

* infer first dimension of size 2
2021-07-05 13:34:09 +03:00
Ilya Lavrenov 8cc1737b5d
Removed EXPORT_DEPENDENCIES from addIeTarget (#6502)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly

* Removed EXPORT_DEPENDENCIES
2021-07-02 17:17:44 +03:00
Ilya Lavrenov fc7f80a34e
CVS-34900: updated pugixml to v1.11.4 (#6301)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly
2021-07-02 11:36:31 +03:00
Irina Efode d1aed21441
[IE TESTS] Fix Shared::Summary::SetOutputFolder() for CentOS (#6441) 2021-06-29 16:40:14 +03:00
Xie Zhengtian c0f227bddd
[AUTO][IE TESTS] Fix IE test issue for auto-device plugin (#6113)
* Auto will throw with incorrect config

* Update func tests for auto-device plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>
2021-06-29 16:14:28 +03:00
Maxim Shevtsov 9422a7b240
fixed multi/hetero setConfig to throw on unsupported config keys (#6373)
* fixed multi setConfig to throw on unsupported config keys

* fixed hetero setConfig to throw on unsupported config keys. simplified the test on the incorrect keys

* aligning MULTI tests to the new (fixed) behaviour - also aligned with AUTO and HETERO

* fixed multi setConfig to throw on unsupported config keys- updating the MYX tests
2021-06-29 15:52:12 +03:00
Szymon Durawa 055a70bdf9
Add output_padding and output_shape into GroupConvolutionBackprop SLTs. (#6302)
* Add output_padding and output_shape into GroupConvolutionBackprop SLTs.

* Add legacy API for arm-plugin dependency.

* Replaced templated input, output and filter with one template.

* Apply correct format.

* Change to use INSTANTIATE_TEST_SUITE_P macro.
2021-06-29 15:34:29 +03:00
Vladislav Golubev 5ba1e8aa1c
[LPT] Dynamic shapes support (#6129)
* [LPT][TESTS] Base LPT classes: dynamic shapes support

* [LPT][TESTS] Convolution & GroupConvolutionTransformation: dynamic shapes support

* [LPT][TESTS] FakeQuantizeTransformation: dynamic shapes support

* [LPT][TESTS] Relu & PReluTransformation: dynamic shapes support

* [LPT][TESTS] AvgPool & MaxPoolTransformation: dynamic shapes support

* [LPT][TESTS] MVNTransformation: dynamic shapes support

* [LPT][TESTS] NormalizeL2Transformation: dynamic shapes support

* [LPT][TESTS] TransposeTransformation: dynamic shapes support

* [LPT][TESTS] Reduce*Transformation: dynamic shapes support

* [LPT][TESTS] FuseFakeQuantizeTransformation: dynamic shapes support

* [LPT][TESTS] MultiplyToGroupConvolutionTransformation: dynamic shapes support

* [LPT][TESTS] StridedSliceTransformation: dynamic shapes support

* [LPT][TESTS] Squeeze & UnsqueezeTransformation: dynamic shapes support

* [TESTS] AddTransformation: added test-cases with dynamic shapes

* [TESTS] ClampTransformation: added test-cases with dynamic shapes

* [TESTS] DepthToSpaceTransformation: added test-cases with dynamic shapes

* [TESTS] MultiplyTransformation: added test-cases with dynamic shapes

* [TESTS] FoldConvertTransformation: added test-cases with dynamic shapes

* [LPT][TESTS] FuseConvertTransformation: dynamic shapes support

* [TESTS] FuseSubractToFakeQuantizeTransformation: added test-cases with dynamic shapes

* [TESTS] FuseMultiplyToFakeQuantizeTransformation: added test-cases with dynamic shapes

* [TESTS] SubtractMultiplyToMultiplyAddTransformation: added test-cases with dynamic shapes

* [TESTS] Split & VariadicSplitTransformation: added test-cases with dynamic shapes

* [LPT][TESTS] ReshapeTransformation: dynamic shapes support

* [LPT][TESTS] MatMulTransformation: dynamic shapes support

* [TESTS] InterpolateTransformation: added test-cases with dynamic shapes

* [TESTS] ConvolutionBackpropData: added test-cases with dynamic shapes

* [LPT][TESTS] ConcatTransformation: dynamic shapes support

* [TESTS] ShuffleChannelsTransformation: added test-cases with dynamic shapes

* [LPT] fixes after review

* [LPT] LPT behaviour alligned with master

* [TESTS] ClampTransformation: functional tests quick fix

* [TESTS] windows compilation error fix
2021-06-29 12:59:40 +03:00
Irina Efode 7580bd3b5d
Output folder (#6383)
* [IE TESTS] Fix output folder for funcTests

* remove extra
2021-06-28 18:48:29 +03:00
Ilya Lavrenov fa2f9c5201
Migrated to official GoogleTest repo (#6286)
* Move gtest to <root>/wqthirdparty

* Fixed inference engine tests

* Fixed unit-tests

* Fixed GPU

* Fixed clDNN_unit_tests compilation

* Reverted ngraph changes

* Fixed VPU tests

* Fixed deprecated tests compilation

* Removed OpenVINO clone

* Added public submodule

* Removed

* Fixed Windows

* More updates for INSTANTIATE_TEST_SUITE_P

* Use release-1.10.0

* Removed ngraph copy of gtest

* Revert "Removed ngraph copy of gtest"

This reverts commit ec9fe08d79.

* Fixes for TYPED_TEST_CASE

* Fixed GNA tests

* Updated submodule

* Updaed index

* TMP disabled tests

* Revert changes and fix compilation errors

* Fixed caching tests

* Revert back

* Revert back all

Co-authored-by: Michael Nosov <mikhail.nosov@intel.com>
2021-06-22 17:39:39 +03:00
Egor Duplensky c5b940ecdb
Correct output nodes naming in scope of NMS transformation (#6119)
* Correct output nodes naming in scope of NMS transformation

Details:
NMS transformation changes name of NMS node output (adds '/convert' suffix)
In case NMS transformation is the last node before Output, it leads to
the situation when InferRequest's network Outputs do not match any
graph's Output nodes.

Tickets:
- 57695

* Add test
2021-06-21 16:13:19 +03:00
Gladilov, Gleb e61a594199
[IE][VPU]: Configuration options in VPU plugins refactoring (#3211)
* [IE]: Enables Abstract class -> Parameter conversion support

Parameter has templated constructor allowing to write code

```
Parameter p = i; // i of type int for example
```

This constructor uses SFINAE to resolve ambiguity with
move-constructor, so checks that argument is not of the same type.
In case it's not the same type it calls std::tuple constructors that
constructs an instance of argument type. In the following case:

```
Parameter p = static_cast<Parameter>(abstractRef);
// abstractRef is a reference to abstract class
```

We have a reference to some abstract class that defines explicit
cast operator to Parameter. In contrast with expectations,
instead of cast operator, Parameter constructor is instantiated,
since template type deduction for Parameter constructor didn't fail
(abstract class has not the same type as Parameter). Instantiation
of tuple constructor used inside failed: it's impossible to create an
instance of abstract class what lead to compile-time error. To resolve
the issue additional condition introduced to check if argument type is
abstract.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE]: Enables PrintTo method for Parameter and tests on it

Inference Engine API for configuration options uses Parameter
type as a return type of GetConfig method. Parameter is intended
to store object associated with configuration option.
To support objects of different types its constructor is templated.
Parameter overloads cast operators which are templated
as well. Both constructor and cast operators are implicit, which
makes it possible to implicitly convert any type to Parameter
and vice versa.

Since Parameter is a part of Inference Engine configuration API it's
essential google tests on API contain Parameter as tests parameter.
For each test parameter Google Test framework tries to print it to
an output stream. For that purpose, Google Test checks if test
parameter has output stream operator or PrintTo method. If not, it
checks if it could be implicitly converted to integral type and,
in this case, prints it as a long integer.

InferenceEngine::Parameter does not define output stream operator,
but could be implicitly converted to an integer, according cast
operators mentioned above, so Google Test tries to convert to
integer. Since Parameter not necessarily contains integer, this
conversion throws an exception of type mismatch, which makes it
impossible to use Parameter in Google Test framework as is.

In order to resolve that issue Parameter should define either
output stream operator or PrintTo method. If Parameter will
define output stream operator it will make it possible to compile
streaming almost any object to an output stream. The reason for it
is C++ checks if object could be implicitly converted to other type
which defines output stream operator, if objects itself doesn't do it
(e.g. `stream << "text";` calls std::string::operator<<, since
char const* is implicitly convertible to std::string).

Taking this into consideration the only way to support Parameter in
Google Test without breaking backward compatibility is define PrintTo
method.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE]: Fixes ill-formed extending std names

According to the standard:

The behavior of a C++ program is undefined if
it adds declarations or definitions to namespace
std or to a namespace within namespace std unless
otherwise specified. A program may add a template
specialization for any standard library template
to namespace std only if the declaration depends
on a user-defined type and the specialization meets
the standard library requirements for the original
template and is not explicitly prohibited.

As as an unexpected result, InferenceEngine::Parameter
that contains std::vector<std::string> can be printed
via PrintTo. In that case operator<< version from
Inference Engine is picked up.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Moves CompilationConfig out of GT header

Keeping config in a separate header simplifies migration
to new interface.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Removes Platform enum

Since there is enum from MVNC for the same purpose
there is no need in Platform anyway

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Introduces containers utility header

Contains some helpers to work with C++ maps

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Introduces new configuration API

The main ideas are separate option-specific logic
from common container, automate logic processing
public vs private, deprecated, compile-time vs
runtime-time options and remove code duplication.

Since IE defines configuration API using std::string
and Parameter, options have to provide ways to be
represented as Parameter (ex.: GetConfig is called)
and be defined using std::string (ex.: SetConfig is
called). Keeping information about actual key value
is useful for error reporting.

New API fallbacks to previous version in case of
unsupported options are requested. This way migration
becomes iterative and looks simpler.

Options containers are related to corresponding components:
CompilationConfig (name to be changed) - GraphTransformer,
PluginConfiguration - base class for plugins configurations,
MyriadConfiguration - Myriad plugin configuration,
HDDLConfiguration - HDDL plugin configuration (to be
introduced in a separate request)

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Replaces CompilationConfig with PluginConfiguration

Some of options to be refactored are stored inside CompilationConfig.
CompilationConfig is passed to graph transformer as a compiler to be
processed. Since it's separate data structure and migration process
is iterative we need a mechanism to provide some of compilation
options from new interface and some from old. It cannot be done via
plugin specific class (MyriadConfiguration), since there are others
plugins as graph transformer users. Plugin specific class
(MyriadConfiguration) already inherits from old version (MyriadConfig),
which in turn inherits from ParsedConfig containing CompilationConfig.

To resolve the issue MyriadConfig inheritance from ParsedConfig is made
virtual to make it possible for PluginConfiguration to virtually inherit
from ParsedConfig as well an so make PluginConfiguration data structure
for configuration options for graph transformer. Since
PluginConfiguration is base class of MyriadConfiguration as well as
MyriadConfig and inheritance is virtual plugin just casts its specific
configuration to base one passing to graph transformer.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Enables new tests on configuration API

* Enables following new shared tests on configuration API
  * Can load network with empty configuration
  * Check default value for configuration option
  * Can load network with correct configuration
  * Check custom value for configuration option (set and compare)
  * Check public configuration options are visible through API
  * Check private configuration options are invisible through API
  * Check GetConfig throws an exception on incorrect key
* Refactors myriad plugin instantiations for shared tests

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Extracts LogLevel enum to a separate header

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Refactors LOG_LEVEL configuration option

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Refactors COPY_OPTIMIZATION configuration option

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Fixes behavior tests build

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Updates tests on new exception class

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Removes unused variable from mvnc test

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Removes SizeVector streaming call

New assertion macro IE_ASSERT implementation uses
output streaming operator with r-value reference
argument as a stream. This prevents the compiler
from picking up overload from InferenceEngine::details,
since our version takes stream by non-const l-value
reference.

Since there is no simple solution to provide output
streaming operator overload for r-value references as
well and this call is just a message for assert in
test utilities, it was decided just to remove call
for now.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2021-06-17 18:54:39 +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
Marina Kolpakova ad852f78b4
[§] cleans snippets interface and adds subgraph tests (#6123) 2021-06-16 01:00:19 +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
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
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
Ilya Lavrenov 6e2d13937a
ImportNetwork with explicit device name only (#5689)
* Import with explicit name

* Fixed LoadHetero_MultiArchs tests

* Fixed MYRIAD tests on Windows

* Fixed compilation in tests

* Updated tesets

* Fixed test

* Removed useless lines

* Removed custom VPU tests, replaced with common ones

* Fixed Windows

* Reverted SKIP_IF_NOT_IMPLEMENTED macro
2021-06-09 10:09:25 +03:00
Ilya Lavrenov a36d6a0f06
Used setMeanImageForChannel (#6076) 2021-06-08 19:33:51 +03:00
Shoujiang Ma dcf36565b0
[AUTO plugin] AUTO plugin will ignore other plugins' configuration (#5979)
* AUTO plugin will ignore other plugins' configuration

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Update tests

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Support PER_COUNT config which is needed in benchmark_app

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Address reviewer comments: check config and throw exception for unsupported, but that begin with "AUTO_" will be ignored

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix CI tests issue

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>
2021-06-08 12:11:58 +03:00
Andrei Gorbachev 64d7a40ae4
[IE CLDNN] 54304 fix reduce ops (#5986) 2021-06-07 18:36:38 +03:00
Ivan Tikhonov c1608628d4
LowLatency v2 ngraph transformation (#5160)
* LowLatency 2.0: transformation and unit tests

* low latency 2.0: unit tests

* documentation and ngraph codestyle

* update CNN Interface of LowLatency transformation

* fix build on Windows

* fix build on Windows

* investigation of a failed build on Win OS

* ngraph codestyle

* fix build (werrors)

* New unit tests, refactoring

* update functional tests for Memory

* update LowLatency functional tests

* extend Memory tests to cover LowLatency v2 transformation

* clean up, code style

* fix unit tests

* update and fix unit tests, add feature to apply LLTv2 after LLTv1

* update docs, refactoring

* add several gna tests to skip config

* fix python api tests

* update python api, rename LowLatency_v2 to LowLatency2

* deprecate LowLatency v1

* Deprecate LowLatency v1 in IE

* fix wrong merge, codestyle

* resolve review comments

* fix python test

* update skip config

* apply online review notes, fix unit tests

* clean up, code style

* fix docs

* Use debug_messages instead of exceptions in llt v2

* fix unit tests

* Resolve review remarks
2021-06-07 15:13:41 +03:00
Nikita Semaev c77b4dc4ed
[IE TESTS] Incorrect calculation for 'Convert' number of test crashes (#5922)
* Hiding the problem, but not solving it, Validate() changes the value of a variable function

* [IE TESTS] Convert issue

* [IE TESTS] Solving the problem of adding an extra layer
2021-06-02 16:50:40 +03:00
Nadezhda Ageeva 487faf3f29
Fix 56171: Insert AffineFilter after split when padding is needed. Fix Basic_LSTM LLT test. (#5882) 2021-06-02 16:09:56 +03:00
Elizaveta Lobanova 4b486e6223
[GNA] Fix fq weights fusion and relu scale factors calculation (#5886)
* Fix FakeQuantize weights fusion when multiple operations were using the same const

* [GNA] Fix scale factor calculation for Relu if it has source and doesn't have destination statistics

Co-authored-by: Dmitrii Khurtin <dmitrii.khurtin@intel.com>
2021-06-02 10:11:11 +03:00
Yury Gaydaychuk 1264376173
[CPU] Extended preprocessing for CPU (#5750) 2021-06-01 17:03:24 +03:00
Ilya Lavrenov eff9f00320
Refactored ie_plugin_config.hpp (#5899) 2021-06-01 16:31:29 +03:00
Ilya Lavrenov d65778b6d9
Fixed templatePlugin tests on IA32 (#5901)
* Fixed templatePlugin tests on IA32

* Disabled tests on MYRIAD
2021-06-01 10:21:14 +03:00
Vladimir Zinoviev 8ff0ab0488
Tests improvement (#5704)
* [LPT] Test: concat with convolution neighbor and convolution after

* [LPT] elementwise fuse to FakeQuantize

* [LPT] plugin test build fix

Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
2021-05-28 14:27:45 +03:00
Elizaveta Lobanova f450f61bc3
[GNA] Avoid integers overflow during pwl calculation for FakeQuantize (#5841)
* [GNA] Avoid integers overflow during pwl calculation for FakeQuantize

* The similar fix for Relu
2021-05-27 16:49:40 +03:00
Ilya Lavrenov 26bfa6f0ac
Tests for dynamic preprocessing in SetBlob (#5798)
* Corrected tests to match CVS-53713

* Fixed tests configs

* Skip tests on GPU

* Commented condition inside main SetBlob because of MYRIAD

* Adopted tests
2021-05-26 18:07:08 +03:00
Roman Donchenko 68cadf1ff9
Fix spelling errors in file names (#5776)
And similar errors in file contents.
2021-05-25 12:52:58 +03:00
Ilya Lavrenov 87806320ab
Added preprocessing test which check whether specified and actual format can be different (#5771) 2021-05-25 07:12:39 +03:00
Ilya Lavrenov b7c5edc944
Deprecated all ICNNNetwork methods (#5488)
* Deprecated ICNNNetwork

* ICNNNetwork deprecation

* Fixed comments

* More suppressions for ICNNNetwork

* Fixed C API compilation

* Deprecated ICNNNetwork methods only

* [IE CLDNN] Fixed cpplint for clDNN with Ninja generator

* Fixed compilation for ApiVersion with clang

Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
2021-05-25 07:11:55 +03:00
Bartosz Lesniewski 2d0707dd1a
Revise Result Op (#5637)
* Add type prop tests for shape and type propagation

* Add visitor test

* Add SLT test class for result op

* Add SSLT for result op

* Add CPU SLT

* Add backend test

* Applying review comments - fix typo in slt, replace type info with NGRAPH_RTTI_DEFINITION

* Applying changes after review comments

* Add result to trusted ops list

* fix adding redundant nodes in slt
2021-05-25 07:06:04 +03:00
Ivan Tikhonov 0c30ccc120
Single layer tests for Assign/ReadValue ops (#5735)
* add single layer tests for Assign/ReadValue ops

* fix windows build, revert debug changes
2021-05-24 18:58:48 +03:00