* 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
* Reference tests via OpenVINO 2.0
* Migrated to new API acos test
* Fixed other tests compilation
* Fixed tests
* Reference tests use ov::
* Fixed compilation
* 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.
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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>
* 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
* 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
* 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
* 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
* 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{}
* 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
* 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>
* 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
* 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
* 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
* 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>
* 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
* 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
* 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
* 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
* 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
* 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