Commit Graph

4 Commits

Author SHA1 Message Date
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
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
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
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