Commit Graph

122 Commits

Author SHA1 Message Date
Mateusz Tabaka 8c4cee1b58
[GPU] Handle negative axis in concat op (#6839)
* [clDNN] Handle negative axis in concat op

That enables following models for onnx importer path:
yolact-resnet50-fpn-pytorch
yolact-resnet101-fpn-pytorch
yolact-darknet53-fpn-pytorch
swin-tiny-patch4-window7-224
action-recognition-mkinetics-res34-mhsa
driver-action-recognition-adas-0002-decoder
horizontal-text-detection-0001

* Add tests for negative axis in Concat op
2021-08-04 10:44:22 +03:00
Xie Zhengtian 513a7504a6
[AUTO] Update Auto-device plugin selection logic (#6335)
* Update selecting device logic to support Myriad and VPUX for auto-device plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Update selecting logic in auto-device plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>
2021-07-29 15:57:45 +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
Daria Mityagina b0ebea1cda
Abs layer support (#6475)
* [MyriadX] Abs op support
2021-07-20 21:13:52 +03:00
George Zlobin 3d13424e42
[IE][VPU]: Completion of Configuration options refactoring in VPU plugins (#6176)
* [IE][VPU]: Refactors PROTOCOL configuration option

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* [IE][VPU]: Remove HW_WHITE_LIST configuration option

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

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

* [IE][VPU]: Remove FORCE_DEPRECATED_CNN_CONVERSION configuration option

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

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

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

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

* [IE][VPU]: Remove ENABLE_REPLACE_WITH_REDUCE_MEAN configuration option

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

* [IE][VPU]: Refactors ENABLE_MEMORY_TYPES_ANNOTATION configuration options

* [IE][VPU]: Refactors DUMP_INTERNAL_GRAPH_FILE_NAME configuration options

* [IE][VPU]: Refactors DUMP_ALL_PASSES_DIRECTORY configuration options

* [IE][VPU]: Refactors DUMP_ALL_PASSES configuration options

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

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

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

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

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

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

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

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

* [IE][VPU]: Refactors PLATFORM configuration options

* [IE][VPU]: Remove PLUGIN_LOG_FILE_PATH configuration options

* [IE][VPU]: Remove COMPILER_LOG_FILE_PATH configuration options

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

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

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

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

* [IE][VPU]: Remove INPUT_SCALE and INPUT_BIAS configuration option

* [IE][VPU]: Refactors ENABLE_ASYNC_DMA configuration options

* [IE][VPU]: Delete old configuration API
2021-07-13 16:58:25 +03:00
Polina Brzezinskaya a65828c172
[IE][VPU] Support for constant networks (#6185)
Adds support for constant networks in the Myriad plugin
2021-07-05 10:26:34 +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
Maksim Doronin 4b7c58ac11
Disable IEClassNetworkTestP.LoadNetworkActualNoThrow test (#6348) 2021-06-25 22:02:48 +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
Alina Kladieva cd0ded7ee3
Exclude test failing on Ubuntu20 precommit scope (#6202) 2021-06-21 12:38:49 +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
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
Polina Brzezinskaya e2ffcae852
[VPU][TEST] Turns back on CTCGreedyDecoderSeqLen tests (#6023)
* Turns back on CTCGreedyDecoderSeqLen layer tests with (1, 1, 1) size, since they were fixed by #5867
2021-06-07 10:58:41 +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
Ilya Lavrenov 12f2bb72da
Updates on deprecated stuff (#5838)
* Removed cloneFunction from ngraph CNNNetwork impl

* Removed custom clone

* Localize deprecation suppressions

* Removed Jira tickets

* Fixed MYRIAD tests compilation on Windows
2021-05-27 16:14:07 +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
Daria Mityagina 0772f7b665
[VPU][TEST] Move some Interpolate tests to nightly, reduce number of tests (#5785)
* Move some tests to nightly, reduce number of tests

* small change - failures fix
2021-05-25 17:04:50 +03:00
Daria Mityagina 5ea8437c91
[VPU] Batch support for interpolate (#5520)
* batch support for interpolate

* hash update

* compilation errors solved

* changes in tests, so not to break other plugins

* changes in tests, so not to break other plugins

* Revert "changes in tests, so not to break other plugins"

This reverts commit 67e5c1e4ddba4f0cc858eb1293e50ce9d9ae0227.

* Revert "changes in tests, so not to break other plugins"

This reverts commit f6a537d2236f0b64f0ff028627af9e0e388a2d23.

* review corrections

* Firmware update
2021-05-21 12:54:58 +03:00
Mikhail Treskin c1a38109c7
[SubgraphsDumper] Extract statistics instead of constants with weights. (#5149)
* Store weights range in meta info instead of cloning whole constant

* Add command line option for constants size serialization threshold

* Update IR Runner to handle OP meta information

* Fix interpolate type_prop tests

* Skip new failures in SLT

* Fix models count

* Add dynamism elimination option.

* TopK shape propagation changed

* Fix type_prop tests for TopK
2021-05-17 12:13:02 +03:00
Ilya Lavrenov f88611e5a2
Removed FPGA constant from tests (#5626) 2021-05-13 21:53:08 +03:00
Alexandra Sidorova 03ca3d1ef7
[CPU] Fixed SoftPlus for large positive values (#4932) 2021-04-30 13:34:33 +03:00
Aleksandr Korolev 734aafb021
[IE][VPU]: Fix batch detection/removal logic in MYX plugin (#4751)
* [IE][VPU] Fix batch detection/removal logic in MYX plugin
* Some changes & test
* The condition for skipping the CachingSupportCase MyX test has been removed
2021-04-16 10:05:49 +03:00
Anton Pankratv b20d9b725c
Used internal exec network impl (#4922) 2021-04-08 12:29:41 +03:00
Ilya Lavrenov 8e261de0a8
Added PreprocessConversionTest tests (#4946)
* Added PreprocessConversionTest tests

* Disabled tests on GPU: CVS-51764

* Disabled some tests on VPU and TEMPLATE

* Support for input layout conversions in TEMPLATE plugin
2021-03-25 16:31:33 +03:00
Alexey Suhov a748c26fee
Align copyright notice in cpp and cmake source files (CVS-51320) (#4950) 2021-03-25 02:40:09 +03:00
Mikhail Nosov 5caa706334
Enable cache support for Myriad plugin (#4868)
* Enabling cache support for Myriad plugin

Remaining issues:
1) 49309 - support DEVICE_ARCHITECTURE
2) Fix 51472 for import/export issue with batch size > 1

* Added 'options' to DeviceArchitecture and more clarifications
2021-03-23 17:28:52 +03:00
Mikhail Nosov 59707b7937
[Plugins test] Add func tests for import/export support by plugins (#4847)
* [Plugins test] Add functional test for correct import/export support by plugins

Test suite creates number of models with various precisions.
For each model:
- If plugin doesn't support IMPORT_EXPORT_SUPPORT metric - skip the test
- Try LoadNetwork without cache enabled fails - skip the test
- Do one inference
If Load and Infer request is succeeded and plugin has import metric:
- Load network with cache enabled. Infer request and compare outputs with original infer
- Import network, perform inference. Compare outputs with previous ones

* Fix Centos build warnings
Myriad: reset executableNetwork before next load
Myriad: Reduced time consumption for Myriad tests

* Caching test suite - batch size parameter support
2021-03-18 13:03:18 +03:00
Mikhail Nosov 9df8502bc8
Fix issue with GNA Import/Export. (#4563)
* Fix issue with GNA Import/Export.

Application may create ostream and write some app-specific header to beginning of stream.
GNA plug-in shall not 'seekg' to beginning of stream where app-specific content is located.
Instead it shall seek to the original position of stream

Functional test is also updated to cover this case

* Updated according to review comments

- Check return code right after 'istream::tellg'
- Added 'applicationHeader' as parameter to base ImportExport tests

* Error check for startPos + unit test

* Suppress deprecated warnings like in other GNA tests
2021-03-16 12:57:13 +03:00
Andrew Bakalin 430adbc191
[IE][VPU]: Fixes for Yolo-V3 (#4517)
* Fix negative axis processing for StaticShapeTopK
* Preserve output names in MergeSubsequentDSROperations
* Do validate_and_infer_types every time it's called in StaticShape* operations. It's needed to infer the correct output type in case it was changed from the last call moment (e.g. the ConvertPrecision pass have been called)
2021-03-03 16:47:42 +03:00
Maxim Andronov b224e688fe
[IE TESTS] Update ConstantResultSubgraphTest (#4120) 2021-03-01 12:16:06 +03:00
Roman Vyunov (Intel) a576fb6f39
[IE][VPU] Pad layer: enabling of 3D support (#4351)
* Enabling of 3D support for Pad layer
* Added tests to new test infrastructure
2021-02-24 12:14:39 +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
Maxim Kurin f29da36b1b
[IE][VPU][TESTS]: CTCGreedyDecoderSeqLen myriad test & fixes (#4177)
* Implements test for CTCGreedyDecoderSeqLen layer in Myriad plugin.
* Changes the way CTCSeqLen operation is generated. Moved random generation of SeqLen input from makeCTC function to the test. Made test to clamp test's parameters to be in valid range.
2021-02-12 11:50:26 +03:00
Roman Vyunov (Intel) b7212b9f34
[IE][VPU]: MVN-6 native partial support (#4238)
* Adding of partial support of MVN-6 operation to VPU Plugin (support restricted by MVN-1 interface)
* Disabling of MVN-6 decomposition for VPU Plugin
* Enabling of test cases for this operation
* Disabling of deprecated MVN tests while investigation is go on
2021-02-10 21:31:13 +03:00
Andrew Bakalin 9d0c02dbd7
[VPU][NGraph][Tests] Merge Gather & GatherElements (#4140)
* [VPU] Introduce ExpGatherElements operation

* [VPU] Enable DTS for ExpGatherElements

* [VPU] Introduce MergeGatherGatherElements transformation

* [IE TESTS] Generate inputs in parameters order

* [NGRAPH] Support dynamic output tensor case in Squeeze evaluate

* [VPU] Fix allocator for dynamic input

* [VPU] Add test on inference

* [VPU] Add test on function compare

* [VPU][NGraph][Tests] Review fixes

* [VPU][NGraph] Fix tests

* [VPU] Review fixes
2021-02-09 11:55:57 +03:00
Andrew Bakalin 2d560d465f
[IE][VPU]: Support negative strides for StridedSlice (#4178)
* Remove asserts on negative stride
* Update firmware
* Add test cases
2021-02-09 11:21:15 +03:00
Ilya Lavrenov 500df585d1
Fixed github issue #4172 (#4201)
* Fixed github issue #4172

* Simplified tests

* Added instances to HETERO plugin
2021-02-08 12:30:54 +03:00
Bartosz Lesniewski 210ad8194a
Proposal reference implementation (#3924)
* Reference implementation for Proposal, enable CPU SLT

* code style fix

* add type prop test for invalid anchor count

* add unit test

* fix shapes in attribute test

* temp workaround- disable maring end of boxes list

* Disable CPU smoke test- spec misalignment

* code style fixes

* add some details to the specification

* disable myriadx proposal slt

* review changes, using usigned int and size_t

* improve proposal op shape inference to cover dynamic too, add unit test coverage

* remove unused variable in test body

* remove batch size in tests where its not used

* add post nms topn initialization in tests where it was missing

* review comments

* style fix

* style fix 2

* add tests, remove unused variables, change shape inference checks

* style fix

* add input tensors type checks and test coverage

* align input type in attribute and ngraphreader tests to match specification

* fix wrong dimension in error message

* proposalv4 ref impl

* enable single layer and unit tests for proposalv4 ref impl

* align output termination with cpu, enable cpu slt

* custom slt compares to detect less-than-predicted number of boxes

* custom slt compares to detect less-than-predicted number of boxes

* Clarify output termination in spec

* review comments

* smaller input data for unit tests

* add check for batch_dim being static

* disable gpu slt for proposal

* test data style fix

* test data style fix 2

* add type section to specification

* shape inference improvement

* multiply expected 1st dim in tests by post_nms_topn

* add checks and testcases for dynamic ranks

* indentation, review comments

* reduce code redundancy in ref implementation

* remove comment

* Fix typo in proposal1 spec

* Fix typo in proposal4 spec
2021-02-08 07:09:54 +03:00
Ilya Lavrenov be772c58bb
Fixed "Reverse input channels" case for common Plugin API (#4142)
* Added preprocessing for GetBlob

* Fixed preprocessing tests

* Added more test cases

* Skipped tests on GPU
2021-02-03 14:21:33 +03:00
Ilya Churaev 2ebae7cf30
Introduce the Broker API to map original framework names to OV (#3800)
* Added tests

* Fixed tests

* Added tests to check addOutput method

* Added support of port names in the IR

* Update copyrights

* Deprecate tensor name

* Fixed comments

* Enabled functional tests for GPU, GNA and Myriad

* Fixed get_tensor().get_names()

* Added unit test to check tensor names

* Fixed code style

* Skip add output test for GNA

* Added serialization support

* Added PythonAPI

* Fixed tests

* Fixed tests

* Fixed typo

* Try to disable GNA test

* Fixed tests

* Removed unused variables

* Fixed tests

* Update documentation

* Fixed comment
2021-01-29 06:28:31 +03:00
Ilya Lavrenov 1044ed4352
Added export / import for Template and Hetero plugins (#3940)
* Added export / import for Template and Hetero plugins

* Added WA for Apple RTTI
2021-01-22 14:17:44 +03:00
Andrey Sokolov db5cd6751d
[IE][VPU][Tests]: Fix ROIPooling test (#3705)
* fix initialization bug of spatial_scale in tests (affected input generating)
* fix input generating for bilinear ROI Pooling
* correct parameters for myriad tests:
    * myriad plugin does not support batch for this layer;
    * decrease threshold since myriad uses fp16 calculations
2021-01-20 14:17:19 +03:00
Andrew Bakalin 7c4f435335
[IE][VPU][Tests]: Support DTS for GatherElements (#3688)
* Support DTS for GatherElements
* Extract GatherBase to a common part
* Introduce tests on inference
* Introduce tests on function comparing
* Disable failing tests
2021-01-20 12:16:46 +03:00
Nikita Kudriavtsev 2ad3f1cdab
[IE][VPU]: Added addition parameters for StridedSlice (#3670)
* Added addition parameters for StridedSlice
* Firmware updated 1570 -> 1574
2021-01-12 20:20:15 +03:00
Andrew Bakalin 24237863b2
[IE][VPU][TESTS]: Gather: support outer padding for indices (#3665)
* Update firmware
* Add the test case from the network
* Disable fp32 case, because in this case the network has output Convert which receives non-inner stride in its input which is not supported now.
* Support FP16 comparator.
2021-01-12 13:56:52 +03:00
Andrey Sokolov bfd8f1372c
[IE][VPU][TESTS]: add implementation of layer Round to Myriad Plugin (#3667)
* [IE tests] add opset4, opset5 to the opset list
* [IE VPU] add layer Round; support DTS
2021-01-12 11:50:35 +03:00
Daria Mityagina 09a2d2a525
[IE][VPU]: Interpolate improvements (#3508)
* interpolate improvements - new modes in Interp and resample
* interpolate improvements - tests for linear_onnx
* firmware update
2021-01-11 17:39:31 +03:00
Krzysztof Bruniecki a497153dcd
Gna fix mt with iterations (#3297)
* Enable CoreThreadingTestsWithIterations tests for GNA

  Sync rest of GNA Lib API,
  Sync Config for MT tests
  Change models in CoreThreadingTestsWithIterations to be compat with GNA

* Use parameter for model set selection

* Fix style

* Disable HETERO CoreThreadingTestsWithIterations tests and create issue 45658
2020-12-21 16:10:05 +03:00