Commit Graph

92 Commits

Author SHA1 Message Date
Mikhail Nosov
5b39e407d9 [OV2.0] Preprocessing - add 'convert_layout' (#7772)
* Preprocessing - add 'convert_layout'

* Fix comments, removed 'set_data_shape' for time being
2021-10-01 19:45:40 +03:00
Mikhail Nosov
a883b5c097 Temporary disable sporadically failed test (PR #7601) (#7782)
* Temporary disable sporadically failed test

* Looks like skip test config didn't skip the test
2021-10-01 10:25:08 +03:00
Ilya Lavrenov
302eb08dc5 Replaced gtest deprecated macro (#7779) 2021-10-01 03:46:32 +03:00
Mikhail Nosov
6e05cead11 [OV20] Reference implementation for NV12toRGB and NV12toBGR operations (#7601)
* Reference implementation for NV12toRGB and NV12toBGR operations
Tests:
- ngraph: visitor + type_prop
- template plugin: reference implementation
- inference-engine: shared tests for plugins
- cpu plugin: compare with ref implementation tests

* Fix clang

* Serialization tests

* Fix clang-format

* Changed 'f32' to 'any supported floating-point type'
Added appropriate shape inference tests
Added error test for >2 inputs
Fixed failed CI tests

* Updates after rebase
+ Try to fix Ninja build

* Fix CI

* Support endianness + potential fix of win32 test fails

* Fix review comment

* Fix review comments

* Fix unit test build

* Fix unit test build #2

* Possible build fix 3

* Simplified reference tests
Observed issue with shuffling Y pixels on little-endian systems, added tests
2021-09-30 16:34:46 +03:00
Mikhail Nosov
414c3dc133 [OV2.0] Preprocessing - resize (#7583)
* Initial version

* Added 'network' layout to preprocessing info
Moved existing resize tests to template plugin

* Fix clang

* More tests for 'resize' reference implementation + CPU tests + error cases
Coverage is 100%

* Align with new base_reference_test implementation

* Fixed comments

* Add assert to check that desired size is not out of bounds

* CPU: skip failed test
2021-09-30 11:41:25 +03:00
Mikhail Nosov
4fd59f72ea Use 'u8' element type in tests (#7704)
Use 'float32' output for 'compare with reference' tests to avoid IE precisions undesired conversions
Added GPU preprocessing tests skeleton
2021-09-29 09:46:37 +03:00
Ilya Lavrenov
bd09f70876 Fixed precisions conversion in new API with compile_model(filename) (#7711)
* Fixed precisions conversion in new API

* Added tests

* Fixed old IR cases

* Disable FP16
2021-09-29 07:00:13 +03:00
Ilya Lavrenov
d074eea063 Fixed regex for template tests skip (#7725) 2021-09-29 01:58:02 +03:00
Ilya Lavrenov
65dcffe913 Reference tests use OpenVINO 2.0 headers and namespaces (#7700)
* Reference tests via OpenVINO 2.0

* Migrated to new API acos test

* Fixed other tests compilation

* Fixed tests

* Reference tests use ov::

* Fixed compilation
2021-09-28 19:19:08 +03:00
Ilya Lavrenov
476fbee00f Reference template plugin tests to OpenVINO 2.0 (#7685) 2021-09-28 10:46:03 +03:00
Vladimir Gavrilov
1d3df63d64 Implement reference nGraph implementation for operation ExperimentalDetectronROIFeatureExtractor (#6484)
* Written reference implementation of the operation ExperimentalDetectronROIFeatureExtractor.

* Small fixes.

* Started to write tests for evaluation of the operation ExperimentalDetectronROIfeatureExtractor.

* Written test for evaluation of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Some changes.

* Added debug prints to evaluates.map.

* Added more debug prints.

* Added another debug prints.

* Added more debug prints.

* Added more debug prints.

* Added more debug prints.

* Inserted additional static_casts.

* Added more static_casts.

* Commented some debug prints.

* Some reversion.

* Deleted some debug prints.

* Deleted some debug prints.

* Deleted more debug prints.

* Added some casts and debug prints.

* Some changes.

* Small changes.

* Some changes.

* Added png files.

* Small changes.

* Code style fixes.

* Code style fixes.

* Rewritten some auxiliary functions.

* Corrected the body of the function experimental_detectron_roi_feature_extractor().

* Some code style fixes.

* Code style fixes.

* Small code style fixes.

* Commented one debug print.

* Small changes.

* Added some debug print.

* Small changes.

* Added more debug prints.

* Small fixes.

* Added more debug prints.

* Commented some code.

* Indexing operation [] was replaced by .at() method in the function pre_calc_for_bilinear_interpolate().

* Deleted unneeded variables w1, w2, w3, w4.

* Deleted variable xx.

* Added GCC pragma before the function pre_calc_for_bilinear_interpolate().

* Fixes in macros.

* Fixed pragma before the function pre_calc_for_bilinear_interpolate().

* Deleted some debug prints.

* Deleted more debug prints and fixed some code style issues.

* Deleted redundant assert.

* Deleted redundant assert in the function split_points().

* Started to move tests for nGraph reference implementation of ExperimentalDetectronROIFeatureExtractor to template plugin.

* Enabled test INTERPRETER.onnx_model_experimental_detectron_roi_feature_extractor.

* Deleted backend tests for the reference nGraph implementation of the operation ExperimentalDetectronROIFeatureExtractor.

* Deleted commented code.

* Fixed typo.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Renamed the function that calculates ROIAlign.

* Deleted redundant usings.

* Now input shapes are parameters of test.

* Small fix.

* Now element type is also test parameter.

* Deleted some commented code.

* Added test for float16 case.

* Small fix.

* Added test for bfloat16 case.

* Deleted redundant parameters of tests.

* Deleted commented code.

* Deleted redundant structure.

* Small fix.

* Some reverting.
2021-09-27 12:49:18 +03:00
Wilson Seok
8262aed30c Migrate ngraph backend test of arithmetic2 operations (#7500)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add sin asin template plugin reference test

* add cos template plugin reference test and remove asin/sin/cos ngraph backend test

* update CMakeList.txt

* add template plugin reference test for asinh, cosh, sinh, tanh

* remove ngraph backend test for asinh, cosh, sinh, tanh

* update CMakeList.txt

* add ngraph type prop test for tanh

* add ngraph visitor api test for asin, sin

* add atanh type in activation SLT

* remove boolean from sin/cos/tan/asin/sinh/cosh evaluate
2021-09-27 05:23:52 +03:00
Maxim Shevtsov
920e58caba disabling tests for template plugin that fails due to missing impl (CVS-66280) (#7651) 2021-09-24 16:23:13 +03:00
Wilson Seok
b3050c268a Migrate acos operation from ngraph backend test to template plugin reference test (#7461)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add acos in template plugin reference test

* Create visitor API test for target operation Acos-1

* remove acos backend test

* remove acos backend test

* add test casses of int ata type

* remove boolean from acos evaluate
2021-09-24 07:19:45 +03:00
Mikhail Nosov
531118c4b0 OV2.0 Preprocessing shared tests - initial version (#7568)
* Shared preprocessing tests for plugins.
Comparing inference with reference implementation

* Moved evaluate tests to template plugin

* Fixed clang-style

* CPU tests: Set IE precision manually in SetUp. Also allow rounding to integer mismatch

* Added acceptable threshold depending on particular test
2021-09-23 23:17:59 +03:00
David Nam
790ecd54c8 Add atan to template plugin test (#7509)
* Add atan to template plugin reference test

* Remove atan.in.cpp from backend test

* Remove boolean type from atan evaluation
2021-09-16 09:33:27 +03:00
Egor Shulman
bdaa44d0be Fixed Minimum op if u8/16/32/64 data type is used (#6665) 2021-09-15 07:52:46 +03:00
Irina Efode
b3d6d11a99 [IE TESTS] Move SKIP macro from test bodies to SetUp() in InferRequestCancelation & Move Infer_Request_dynamic tests to the correct folder (#7299)
* try to fix behavior

* Try

* Revert changes

* Update behavior_test_utils.hpp

* Move Deynamic_tests

* fix build

* fix

* Init
2021-09-13 10:09:36 +03:00
Gabriele Galiero Casay
deeb96440f Revise GatherTree reference implementation (#7275)
* Add visitor api test

* Review ngraph op shell with type_prop tests

* Add op to list of trusted operations

* Change name of struct with information of inputs

* Add include of array data structure to fix windowds compilation error

* Add template plugin test class

* Remove usage of CoordinateTransform index function call from reference implementation

* Rename SLT test suite

* Add template plugin unit test

* Add serialization SLTs

* Add indentation on GatherTreeParams class data members
2021-09-10 14:02:49 +03:00
Nikita Semaev
3c22b2af95 Revise NotEqual (#7198)
* Hiding the problem, Validate() changes 'function'

* Template plugin tests

* Undo the changes that are not necessary

* Align code style

* Added \n at end of file

* Removing an unused implementation

* New version with Code Style checking

* Cleaning backend tests

* Reworked the tests the right way

* Removed visit_attributes()

* Removed visit_attributes() in source file

* Added NGRAPH_CHECK macros to evaluate()

* Removed zero_sized_not_equal mention from unit_test.manifest

* Added function name to the constants.py

* Revert "Added function name to the constants.py"

This reverts commit 5b7478056f.

* Return visit_attributes() for op::v1::NotEqual due to NotEqual being moved to another location
2021-09-08 11:30:40 +03:00
Maksim Kutakov
5096fe19f1 [CPU] Dynamic shapes support using fallback on reference (#6882) 2021-09-08 10:33:20 +03:00
Anastasia Popova
d82fed9527 RandomUniform reference implementation. (#7012)
* Added RandomUniform reference implementation.

* Corrected comments.

* Small correction.

* Code style correction.

* Added has_evaluate() method.

* Added comments, added names to consts.

* Small fix.

* Replaced arrays with vectors.

* Apply suggestions from code review

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

* Code refactoring.

* Corrected tests, code style.

* Added comment.

* Added comments.

* Temporarily added debug output.

* Temporarily added debug output.

* Removed debug output.

* Added comment.

* Added comment.

* Enabled state saving for RandomUniform.

* Code style.

* Used to template to convert types.

* Added comments.

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2021-09-06 11:49:27 +03:00
Tomasz Dołbniak
28075fb7fc MaxPool 8 reference implementation (#7115) 2021-09-01 19:14:45 +03:00
Dawid Kożykowski
3081fac758 Unify SLTs classes of Convert and ConvertLike operations (#7129)
* update comparisiofiles to use const ref param

* introduce conversion layer test definitions

* adapt old tests to the new format

* remove old duplicated conversion tests

* fix "convertion" typo to "conversion"

* fix style issues and abandon unnecessary changes

* fix include order

* update remaining conversion tests to use introduced class

* fix gpu class test naming

* bring back convert.hpp and convert_like.hpp files

* bring back convert.hppcppd convert_like.cpp files

* bring back single_layer_tests/convert.hpp file

* add missing copyright info

* fix issue with braces initiator for conversion types

* add missing convert_like tests

* add deprecated code macros

* update deprecated code macro message

* add missing space in deprecated code macro message

* update skip ConvertLike tests ticket

* update deprecated code to  use IE macros

* update remaining ngraph_deprecated macros to use IE macros
2021-09-01 14:19:38 +03:00
Gabriele Galiero Casay
70e6565619 Refactor backend test suite of Reduction ops into template plugin tests (#6930)
* Refactor visitor test of reduce operations to include operation name

* Add template plugin tests for reduction operations

* Remove backent unit tests of reduction operations

* Use Tensor utility to instantiate tests

* Use std::for_each instead of raw for loop to produce test case instances

* Cover remaining backend tests in manifest by SLTs cases

* Fix regex to skip cpu test failing in centos build with precision u64
2021-09-01 11:22:46 +03:00
Sergey Lyalin
bfae017cf2 Dynamic plugin reshape blob (#6969)
* Added nGraph as a public dependency

* Fixed Windows warning

* Fixed CMake

* Fixed constant op

* Fixed typo

* Added reshape to PartialShape to CNNNetwork

* Added SetShape to InferRequest

* Enable support of DynamicShape in IE Data

* Add support of dynamic shapes to template plugin

* Fixed build

* Enable support dynamic rank

* Fixed test for dynamic rank

* Fixed some tests

* Fix preprocess tests

* Fixed SetBlob

* Fixed code style

* Add more tests

* Fixed accuracy tests

* Fixed documentation

* Added tests for custom operation

* Added new tests

* WIP: move setShape from infer request to Blob

* Returned isApplicable check back

* Removed obsolete tests for InferRequest::SetShape and add new test for Blob::setShape (a trivial one)

* Fixed artifacts

* Break code style

* Revert "Break code style"

This reverts commit 71ee638cd0.

* Added -j8 for fix_all

* Applied code style fixes

* Adde doxygen items

* Fixed style

* Applied codestyle patch

* Reverted unrelevant commit with template extension

* Fixed cmake file for shared func tests (pick from master)

* Revert all changes in template_extension

* Deleted some old stuff that commented and won't be used

* Fixed wrong exception throwing

* Code style fix

* Fixed preprocessing part

* Fixed incorrect blob reshape in GetBlob

* Deleted incorrect assert in GAPI that prevents passing some tests in Debug

* Fixed issues identified during review

* Removed SetShape, replace getLayoutByDims by getLayoutByRank and removed problematic modification from IE preprocessing

* Fixed comments

* Removed obsolete setShape

* [VPU] Fixed allocating dynamic blobs in myriad_infer_request

* Fixed comments

* Fixed CNNNgraphImpl and comments

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2021-09-01 10:59:42 +03:00
Bartosz Lesniewski
4a9ac22787 Revise ScatterElementsUpdate Op (#7162)
* Use ngraph rtti macros

* Add visitor test

* Add SSLT

* Add hardcoded refs tests for ScatterElementsUpdate

* Add ScatterElementsUpdate to trusted ops list

* Add i16 case to backend tests

* Add typed testcase generation, check for all supported types

* Remove redundant parameters from generateScatterParams
2021-08-30 13:47:30 +03:00
Piotr Szmelczynski
81c8cd711b Revise logical not (#6942)
* update spec

* remove backend tests and create op_reference test

* add logicalNot to constants

* add NGRAPH CHECK for number of inputs and outputs

* create type_prop tests

* create visitor test

* add type_op and visitor tests to CMakeLists

* remove backend test from CMakeList

* update T to T_BOOL

* update outputs part in spec

* fix type in the spec

* fixed conflicts in CMakeList

* update ReferenceLogicalLayerTest to also work with unary logical operator

* update logical_not op_reference test to use ReferenceLogicalLayerTest

* fix style

* fix style

* resolve conflict

* resolve conflict

* remove typo

* fix style

* Update ReferenceLogicalLayerTest class tto take input as a vector

* Create makeLogical function that takes ParameterVector as parameter

* update op_reference logical tests to take input as a vector

* Replace elem_type with input.type

* update getTestCaseName method
2021-08-27 06:55:19 +03:00
Irina Efode
841c3531fb [IE TESTS] Behavior2.0 -> InferRequest() (#6559)
* Need to remove

* Preprocessing + InferRequest

* infer_request_callback

* tmp commit

* InferRequest

* tst

* tetet

* Fix template

* SetBlobType

* InferRequest Conformance

* Add prc

* Remove prc

* Fix paths

* commit

* Fixes for review

* Dynamic Batch

* fix

* fiz

* Try

* fkf

* Fix azure

* Centos

* skip

* conformance fix

* fix template

* Small fix

* small fix in print

* Fixes
2021-08-25 14:43:19 +03:00
Piotr Szmelczynski
ac53316f49 Revise greater equal (#7111)
* update spec

* create op_reference test

* add greateEqual to constants.py

* add ngraph_check for number of inputs and outputs

* add include

* fix style

* add information about broadcast in examples in spec

* Remove redundant reegistration of a new test class

* Remove visit_attributes method

* update outputs part in Greater and GreaterEqual spec

* fix typos in spec
2021-08-25 11:35:58 +03:00
Gabriele Galiero Casay
4d56803ce7 Revise ReverseSequence reference implementation (#7117)
* ReverseSequence ngraph op shell revision with type_prop tests

* Add attribute count check in visitor test

* Refactor backend tests to template plugin test with reference values

* Rename cpu SLT instances

* Add op to list of trusted operations

* Rewrite validation check for input type due to backward compatibility

* Reference implementation speed up by replacing index function call of CoordinateTransform by precalculated strides
2021-08-25 07:09:41 +03:00
Katarzyna Mitrus
551b17db81 CumSum reference implementation revision (#6915)
* New CumSum implementation init

* Unified ndim approach

* Move transpose to separate function

* Move transpose to original to separate function

* Move slice_count calculation to function

* Negative axes support

* Refactor redundant copy

* Changed copy to move

* Temp more backend tests

* Add const to shape arg

* Use span for slices calculation

* Remove unused headers

* CumSum new ref tests

* Add more ref tests

* Add all cumsum modes ref tests

* new optimized cum_sum reference

* Add reverse mode

* Optimized cumsum ref

* Remove deprecated cumsum backend tests

* Add more CumSum reference tests

* Simplify CumSum shared layer tests SetUp

* Replace auto to size_t in loop

* Change static_cast to T{}
2021-08-20 09:50:09 +03:00
Bartosz Lesniewski
9c5e7654d9 Revise CTCLoss OP (#6953)
* Add visitor test to CTCLoss

* Add CTC Loss SSLT

* Add CTC Loss template tests

* Use ngraph rtti macros

* Code style fix
2021-08-20 06:53:37 +03:00
Bartek Szmelczynski
563fd8fa9b Revise greater (#6955)
* add template test, remove backend tests, update spec

* minor spec update

* fix spelling errors in spec

* add not converted types
2021-08-17 07:16:56 +03:00
Dawid Kożykowski
8543daf95d Revise LogicalXor operation reference implementation (#6929)
* add tests for logical xor op

* update tests to use introduced libraries

* add empty line at the end of file

* adapt files to new clang-format rules

* fix braces typo
2021-08-16 07:29:31 +03:00
Xiping Yan
559ad4733f Xp/revise ngraph atanh (#6596)
* revise ../docs/ops/arithmetic/Atanh_3.md

* revise atanh

* recall atanh input data type description

* Revert "recall atanh input data type description"

This reverts commit 08e38f8c76.

* Migrate atanh to template plugin reference tests

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix build fail.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove atanh.in.cpp

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Atanh only accept [-1,1].
If input value outside of this range, it will return nan.
But nan is not value, can't compare.
So I update the reference implement.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* clang format

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Revert submodule mkl-dnn

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* op::Atanh->op::v3::Atanh

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Keep algin with "Tensorflow", revert range input to [-1.0, 1.0];

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix template test issue: if expect and actual both are nan, return true.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* 1: revert add new code to process condition: res and ref both are nan.
2: change || to ^, it looks like better.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2021-08-12 05:25:35 +03:00
Bartek Szmelczynski
289df8db27 Revise equal (#6605)
* update spec, init backend file for equal op

* add backend, visitors, serialize SLT tests

* add backend test to manifest cause of mismatch of output type with cpu plugin

* add equal to list of trusted ops and to cmakelist file

* refactor backend tests to the new template

* refactor spec

* remove external link in numpy broadcast and update example

* remove comparison.in.cpp file and related tests from manifest

* fix example

* remove redundant arguments

* refactor backend tests

* add pdpd broadcast to the spec, and different precison to SLT test

* add precisions to SLT cpu

* remove unsupported type from SLT

* revert the deletion of comparison.in.cpp file

* remove visitors test, since it will be added in the other PR

* remove equal from CMakeLists.txt

* refactor links in the spec

* revert unwanted changes

* remove equal from unit test manifest

* revert links modification in spec

* add namespace

* split SSLTs for comaprison ops into seperate files

* fix SSLTs names

* add missing new lines

* udpate output type in spec

* rafactor numeric backend test to template

* merge numeric template tests into equal
2021-08-11 13:04:30 +03:00
Dawid Kożykowski
2a5584791c Revise LogicalOr operation reference implementation (#6867)
* add tests for logical or op

* remove redundant overrides

* add inputs/outputs tensor check

* create type_prop typed test for logical ops

* add new line in logical_or.cpp file

* refactor logical_and type_prop test

* update test labels

* beautify or.hpp file

* fix formatting to match clang-format

* beautifyfunctional test files

* move validate_and_infer_elementwise_logical() implementation to validate_and_infer_types()

* refactor logial or functional test to

* refactor logial aA functional test t

* update constants file

* add file to instantiate TEST_P and avoid test execution duplication

* add missing  empty lies at the end of files

* remove unused variable
2021-08-10 08:38:11 +03:00
Gabriele Galiero Casay
aa3645cb53 Avoid template test from executing multiple times (#6948) 2021-08-09 11:42:05 +03:00
Gabriele Galiero Casay
371fc7aee4 Enable low precision types in ConvertLike operation reference implementation (#6890)
* Enable low precision types for ConvertLike operation

* Migrate backend unit test suite to template plugin reference tests

* Fix typo in naming convention

* Avoid duplication of template plugin tests execution

* Add file to instantiate TEST_P and avoid test execution duplication
2021-08-06 11:19:16 +03:00
Yuan Hu
a913950039 revise tan op (#6567)
* revise tan op

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* update doc

add examples in desciption
add the unit of measure
clear input type

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* add template plugin test case for int type

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* add template plugin test case for uint and float

remove the float test in backend

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* modify document

change type to any supported numeric type

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* fix compile error in openvino-lin

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-08-05 07:48:58 +03:00
Bartek Szmelczynski
c963136453 Revise less equal (#6720)
* update spec, add visitors, backend test

* remove visitors test as it is implemented in another PR

* remove visitors test from CMakeLists

* remove old backend tests, refactor minor parts of the code

* add namespace

* refaactor template test for less_equal op
2021-08-04 03:18:25 +03:00
Piotr Szmelczynski
a30bd0c9bb Revise logical and (#6731)
* update docs

* add host tensors validation

* create type_prop tests

* create serialization single layer test

* create visitor test

* create op_reference test

* add logicalAnd to constants.py

* create additional op_reference tests

* add check for number of visited attributes in visitor test

* update auto_broadcast description

* remoove backend test

* update LogicalNot params name

* remove backend test from CMakeList

* create util function for type_prop tests

* update op_reference tests

* remove typo in docs

* remove unsupported types from evaluate

* fix bug in op_reference test

* refactor visitor test

* update math formula in the spec

* update has_evaluate types
2021-08-03 19:37:16 +03:00
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 Churaev
71d826e9fa Fixed CI after #6199 (#6814) 2021-07-27 12:13:10 +03:00
Yury Gaydaychuk
e5a990e356 [CPU] RoiPooling handles border proposals correctly (#6199) 2021-07-26 23:35:27 +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
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
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
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