Commit Graph

43 Commits

Author SHA1 Message Date
Jozef Daniecki
226cb952ae Select operation revision (#6483)
* Add visitor test.

* Add Serialization SLT.

* Add Select-1 to summarize.py.

* Remove select from evaluates map.

* Remove few Select cases from manifest.

* Fix style.

* Refactor CoordinateTransform usage for NUMPY.

* Refactor CoordinateTransform usage for PDPD.

* Migrate backend tests to template_plugin.

* Revert "Fix style."

This reverts commit 8298c90104.

* Add more template plugin tests.

* Fixes for PDPD broadcasting.

* Align Select type prop tests with PDPP broadcasting to new
implementation.

* Remove ngraph:: from types in tests.
2021-07-21 08:13:40 +03:00
Piotr Szmelczynski
c2c6fe59da Revise sign (#6581)
* update docs

* add sign to intActivationTypes

* add RTTI macro

* update backend test

* add type prp test

* add visitor test

* add visitor and type_prop test to CMakeList

* add sign to constants.py

* delete backend tests and create new reference tests

* style fix

* remoove sign backend test from CMakeList

* create reference test for all supported types

* remove boolean type from evaluate method
2021-07-20 11:22:22 +03:00
Katarzyna Mitrus
fa8f45b7f2 GRN - reference revision and tests (#6629)
* Add GRN shared single layer test instance for CPU

* Remove GRN backend tests from fused_op.in

* Init GRN new template reference tests

* Add more bias values to GRN single layer tests

* Add more GRN template reference test cases

* Remove unused parameter from GrnParams

* Refactor GRN template referene tests and add more types

* Add anonymous namespace

* Add bf16 type to cpu single layer tests

* Add Serialization test

* Add GRN to revised ops
2021-07-16 14:47:13 +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
Patryk Elszkowski
4ed0cdb0dd update ReshapeLayerTest to have unsigned in output axis (#6276) 2021-06-24 10:32:45 +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
Gladilov, Gleb
63211d548f Fixes skip tests config after tests renaming (#6231)
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2021-06-18 13:34:30 +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
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
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
Ilya Churaev
cc810297f4 Align style doc with samples (#5709)
* Added clang-format config

* Fixed style

* Fixed code-style for snippets and fixed build

* Disable clang-format for snippets

* Fixed comments
2021-05-25 10:32:48 +03:00
Ilya Lavrenov
bc15656a32 Template set precision for output (#5693) 2021-05-19 22:58:03 +03:00
Ilya Lavrenov
8b1b900591 CVS-44774: Fixed preprocessing for template plugin (#4118)
* Fixed preprocessing for template plugin

* Added more tests instances

* Split common transformation to smaller ones which can be used by plugins

* Moved preprocessing transformation to Plugin API

* Added PreprocessConversionTest tests

* Disabled tests on GPU: CVS-51764

* Disabled some tests on VPU and TEMPLATE

* Support for input layout conversions in TEMPLATE plugin

* Improvements in Template Plugin

* Fixed compilation

* Fixes

* Disables some tests

* Fixed compilation on Windows

* Fixed docs
2021-04-30 10:47:29 +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
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
Maxim Andronov
cce3375d55 Revert "[CPU] Changed output blobs creation used output info (#3796)" (#4492)
This reverts commit a15246e1d0.
2021-02-25 23:06:19 +03:00
Maxim Andronov
a15246e1d0 [CPU] Changed output blobs creation used output info (#3796) 2021-02-24 10:31:52 +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
Ilya Lavrenov
8685c20baf Fixed HETERO + Template cases (#3580)
* Fixed tests compilation for Android ARM

* Small fixes

* Fixed issues CVS-44775, CVS-34206, CVS-34349

* Disabled KSO tests for Template

* Eliminated invalid subgraphs

* Enabled KSO QueryNetwork tests for Template

* Fixed other plugins as well

* Used NodeTypeInfo instead of std::string

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2020-12-16 12:17:29 +03:00
Irina Efode
602f8f2e08 [IE TESTS] Move SLT classes to SharedTestClasses lib & add serialization functionality to the common class (#3431)
* [IE TESTS] Changing functional test utils structure

* Example

* Remove extra

* Apply comments

* fixes

* [IE TESTS] Change the structure

* Continue

* step 3

* [IE TESTS] Complete transition single layer test classes

* [IE TESTS] Transition Subgraph

* Fix subgraph namespaces

* fix

* Apply comments

* latm fix
2020-12-15 22:32:00 +03:00
Anton Potapov
2495eaf56f [PP] Addded ability to preprocess inputs into plugin (#857)
desired format

changed InferRequestInternal:
 - added _deviceInputs member to store plugin desired perprocessing
   targets
 - added default argument to preProcessingRequired to describe plugin
   specific desired preprocessing target
 - SetBlob and GetBlob to deal with plugin desired preprocessing targets
   (_deviceInputs)
 - added addInputPreProcessingFor helper method to avoid code
   duplication

changed TEMPLATE plugin to use new functionality:
 - removed explicit presicion conversion (to use built-in one of
   InferRequestInternal)
 - _networkInputBlobs to use InferRequestInternal::_deviceInputs
2020-12-11 20:22:25 +03:00
Ilya Lavrenov
e4260cdc3f Template device testing (#3521)
* Added template plugin testing on public CI

* Updated tests config

* Added DEVICE_TEMPLATE constant to tests

* Updated tests

* Disable template plugin by default

* Fixes

* Fixed HETERO tests
2020-12-09 17:13:32 +03:00
Aleksandr Korolev
5ffa2cd5e3 [IE TESTS] Split Layer Test refactoring (#2915)
Co-authored-by: kora6 <kora6@github.com>
2020-11-02 16:29:59 +03:00
Bartosz Sochacki
9b4f499930 Extended test infrastructure to call per plugin configure function before running a test. The function allows to pass plugin specific configuration (#2731) 2020-10-28 14:57:46 +03:00
Anton Potapov
8715b60d88 [PP GAPI] Extended plug-ins shared precision conversion tests to use (#2677)
`GetBlob()` as well

- test were extended to cover case when input tensors are copied into
Blob return by `InferRequest::GetBlob`
- channel number of input tensor is made a test parameter
2020-10-19 12:35:59 +03:00
Ilya Lavrenov
82d0aaf1dd used native LTO support from cmake 3.9.6 (#2625)
* used native LTO support from cmake 3.9.6

* Removed compilation flags push / pop

* Fixes

* Fixes for VPU unit tests

* Temp WA for old gcc
2020-10-14 10:43:24 +03:00
Ilya Lavrenov
39e7905fe1 Fixed LTO for gcc-9 (ubuntu 20.04) (#2616)
* Fixed LTO for gcc-9 (ubuntu 20.04)

* Fixed ODR rules violation for MKLDNN deprecated functional tests

* Fixed tests build for templatePlugin
2020-10-12 06:57:59 +03:00
Alexander Perepelkin
a1b8a11000 Allow to specify both in/out precision, add in/out layout in tests (#2516)
* test definitions

* CPU plugin shared tests

* CPU plugin custom tests

* GNA plugin shared tests

* GPU plugin shared tests

* MYR plugin shared tests

* TML plugin shared tests
2020-10-11 11:05:55 +03:00
Alexander Perepelkin
c13ec24e1e Specify in and out precisions separately, add layouts for convolution (#2211)
* Specify in and out precisions separately, add layouts for convolution

* Align convolution layer tests instantiations with updated definition

* Align convolution layer tests instantiations with updated definition for template plugin

* net, in, out prcs

Co-authored-by: Mikhail Treskin <mikhail.treskin@intel.com>
2020-09-21 13:03:01 +03:00
Anton Potapov
d590144545 [PP GAPI] Addded tests to cover exisiting precision conversions done by (#1976)
some plugins

- added shared parameterized tests
- instantiated for template plugin
- instantiated for cpu plugin
- fixed CPU plugin to properly handle U16 input
- fixed CPU reverse_sequence primitive to alolw input/oputput tensors to
be in FP32 only
- updated ngraph test_simple_computation_on_ndarrays to not expect
failure on U16 input
2020-09-16 12:41:14 +03:00
Anton Pankratv
bfedee88b2 Added split test into template plugin (#1669)
* Added split test into template plugin

* Fixed split test

* Fixed test parameters style
2020-08-15 14:44:13 +03:00
Ilya Lavrenov
77345a7383 Template documentation update (#1519)
* Updated Inference Engine Plugin developer guide
after inference using ngraph reference backend is added

* Documentation fixes

* Fixed review comments
2020-07-29 19:56:24 +03:00
Anton Pankratv
18836f53cd Implemented inference in template plugin (#1308)
* Implemented inference in template plugin

* Fixed tests

* Removed thirdparty dependency

* Simplified executor configuration

* removed half

* Fixed cmake

* Fixed ngraph node check

* device blob allocation

* Fixed enum error
2020-07-28 17:25:31 +03:00
Ilya Churaev
5feeab37d4 Use ngraph.hpp in samples and documentation (#1240) 2020-07-09 06:09:28 +03:00
Irina Efode
027be06506 [IE TESTS] ie_class migration to the new test infrastructure (#1136) 2020-07-02 11:58:53 +03:00
Gleb Kazantaev
b8b8a21dc7 Added nGraph transformations developer guide (#947)
* Added nGraph transformations developer guide

* Added some more chapters

* Added Transformation writing essentials chapter

* Added working with ngraph::Function chapter

* Added two chapters

* Fix comments

* Moved code snippets to source files

* Moved ngraph test utils to common. Added transformations test examples to template plugin

* Added Common mistake section

* Added doxygen for CommoOptimization passes

* Fixed doxygen comments; added links in md files; fixed typos

* Fixed review comments
2020-06-30 18:02:26 +03:00
Anton Zaytsev
34de464027 [IE TESTS] move BehaviorTestPlugin to the new IE tests infra & small refactoring for Behavior tests (#784)
* [ci-skip][IE TESTS] move beh_test_plugin

* [ci-skip][IE TESTS] move BehaviorHolderTest

* [ci-skip][IE TESTS] fix GNA layout test

* [ci-skip][IE TESTS] fix cmake

* [ci-skip][IE TESTS] fix lib in IEBehaviorTest

* [ci-skip][IE TESTS] separate layout and cpp_wrapers test and fix namespace

* [ci-skip][IE TESTS] fix holders test

* [ci-skip][IE TESTS] fix namespace

* [ci-skip][IE TESTS] fix codestyle

* [ci-skip][IE TESTS] fix test_plugin

* [ci-skip][IE TESTS] fix test_plugin v2

* [ci-skip][IE TESTS] disabled gpu instance for test_plugin

* [ci-skip][IE TESTS] fix
2020-06-23 21:43:13 +03:00
Anton Zaytsev
b457553593 [IE TESTS] Move InferRequestTests (#618)
* [IE TESTS] move Infer_request tests

* fix v0

* [ci-skip][IE TESTS] test update basic class v0

* [ci-skip][IE TESTS] test update basic class v1

* [ci-skip][IE TESTS] test update basic class

* [ci-skip][IE TESTS] test update basic class v3

* [ci-skip][IE TESTS] test update basic class final versions

* [ci-skip][IE TESTS] fix

* [ci-skip][IE TESTS] fix codestaly and comment

Co-authored-by: Irina Efode <irina.efode@intel.com>
2020-06-03 12:16:00 +03:00
Anton Zaytsev
00b53d6c33 [IE TESTS] Move Config behavior tests (#615)
* [ci-skip][IE TESTS] move config test

* [ci-skip][IE TESTS] fix config
2020-05-28 13:55:37 +03:00
Anton Zaytsev
25d36568f8 [IE TESTS] Move ExecGraphInfoTests (#617)
* [ci-skip][IE TESTS] move ExecGraph test

* [ci-skip][IE TESTS] fix

* [ci-skip][IE TESTS] fix codestyle

Co-authored-by: Zaytsev, Anton <antonzay@intel.com>
2020-05-28 13:48:16 +03:00
Alexey Suhov
0064c299c3 add plugin template (#515) 2020-05-22 22:34:00 +03:00