* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* initial code commit
* add runtime reference
* apply ov::Model
* initial lstmcell-1 definition
* initial change
* apply Peepholes
* apply input_forget option
* apply initial test case of lstmsequence-1
* fix clang-format error
* fix clang-format error 2
* add lstms_sequence test cases by runtime reference and onnx test cases
* fix clang-format error
* fix clang-format error
* fix onnx test failure of LSTM IE_CPU
* fix clang-format issue
* fix clang-format issue 2
* add type_prop and visitor api test of lstm_sequence_v1
* fix clang-format error
* replace input/refOut data to hard coded and remove unnecessary enum definition
* update namespace of Tensor()
* remove supported test cases in disabling list
* Implement interpolate-1 and interpolate-4 in template plugin test
* Fix clang error
* Fix clang error
* Fix clang error
* Fix linux build
* Fix cpplint error
* Fix clang error
* Fix linux build
* Change way to pass attribute into struct for linux build
* Correct supported type
* Fix clang error
* Add visitor api test for interpolate-1 and interpoate-4
* Fix typo and cpplint
* Update copyright
* Avoid using a class that will be deprecated
* Rollback to CoordinateTransform
* Remove interpolate.in.cpp
* Loop/If/TensorIterator - fix dynamic input cases
Reference evaluate for body uses Model::evaluate instead of custom evaluation
Loop/TensorIterator additional fix - set result shape according to body execution result
Only op_eval test verifies issues, template tests were added just in case (these passed even without fix)
* Fix clang-format
* rename ti.cpp
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add op reference test of region_tolo
* add type_prop test and remove backend test of region_yolo
* apply type conversion for loading file test and add bf16 test case in skip_test_config
* change location of compile definition under target and use path_join from file_util
* add dependency of test_model_zoo
* apply ov::Model
* remove unnecessary
* changed compile definition of TEST_FILES
* skip test cases of external test file
* remove test cases of importing data file
* Move 'NV12toRGB/BGR' reference evaluates to template plugin
CPU doesn't need this fallback, so implementation can be moved to reduce core binary size
* Moved evaluate_nv12 to 'runtime::reference'
* Fix arm build
* Calculate model layout based on 'tensor' layout and convert steps
Previously, 'model layout' is set to '...' by default,
thus no shape conversion happened when tensor layout is set to 'NHWC', then there was explicit convert_layout "NCHW"
Now "model layout" is calculated based on tensor layout and conversion steps:
Examples:
1) Tensor: NHWC, Convert: NCHW. Result: NCHW
2) Tensor: NHWC, Convert: 0312. Result: NCHW
* Fix for set_shape + resize case
* Remove some legacy targets
* Replace some targets
* Removed inference_engine_plugin_api dependency
* Minor comment for developer config
* Fixed include paths
* Small fixes for static build
* Try to fix build pyopenvino
* Fixed comments
* Try to fix build
* Include OpenVINODeveloperPackage inside InferenceEngineDeveloperPackageConfig
* Try to fix GAPI tests
* Fix incomprehensible error message during layout conversion when layout rank doesn't match with shape rank
* Stash
* stash
* Memcpy implementation
Added tests
* Revert "Fix incomprehensible error message during layout conversion when layout rank doesn't match with shape rank"
This reverts commit 37064741b2.
* Fix clang-format and remove redundant headers
* Covered "cached" case (+ tested on Myriad)
* Apply review comments
Introduced 'applyBatchedBlob' function which allows override 'memcpy' on inferefnce time
* clang-format fix
* Added dynamic shape case
* - Review comments
- Deep copy of parameters/results for caching from cnnNetwork. Deep copy logic is moved to Utils
- Caching Tests: return correct inputs/outputs map after ImportNetwork mock call
* Reworked according to discussion
Also introduced 'SetBlobsImpl' which throws 'Not implemented' exception by default.
Template plugin updates internal '_batched_inputs' map
* Updated according to moved tests
* don't support 'memcpy' for ROI tensors
* Fix caching tests
* Just to retrigger CI
* Correct offset padding (however there is no test update as current implementation will not hit here due to other checks)
* Fix clang-format
* Applied review comments
* Added check that 'get_tensor' throws if set_tensors/set_input_tensors is used
* Fix review comments - part 1
* Fix caching tests - mock implementation becomes more complicated
Cached mock model shall identify its inputs/outputs, otherwise core will assert on SetExeNetworkInfo stage
* More comments fix
* More comments fixes
* More cleanup
* And more style comment
* typo fix
* Try fix caching windows tests
* Blind attempt to fix Ubuntu20 CI
* Renamed ov::Function to ov::Model
* Fixed all for macos
* Fixed build
* Fixed build
* Revert changes in GPU plugin
* Fixed ngraphFunctions
* Fixed all for mac
* Fixed new test
* Fixed if for Windows
* Fixed unit tests and renamed Function in python API
* Fixed code style
* Fixed import
* Fixed conflict
* Fixed merge issues
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add op reference test of ExperimentalDetectronPriorGridGenerator
* implement actual_comparision_size for compare
* update slt for actual comparison size and add visitor api test
* fixed clang error
In case of partially-dynamic shape, e.g. {?,3,?,?} shape inference
for gathering channels and reverse operations can't infer final shape to {?,3,?,?} and it becomes {?,?,?,?}
Added 'static' version of reverse-channels to preserve output shape for such cases
It can be changed in future if operations will be able to calculate shape on 'validate' phase
* Implement MO part for DetectionOutput-8
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement nGraph part for DetectionOutput-8
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement deduction of a number of classes method
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement nGraph tests to check shape inference for DetectionOutput-8 with deduction of num_classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement attributes tests for DetectionOutput-8
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove DetectionOutput-1 from opset8
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add python bindings for DetectionOutput-8 and tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement downgrading and upgrading transformations for DetectionOutput
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement tests for downgrading and upgrading transformations for DetectionOutput
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Adopt existing reference for DetectionOutput-8
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix DetectionOutput-8 reference
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add tests for DetectionOutput-8 reference
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Finish resolving merge conflict
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix python bindings after re-structuring
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix BOM package list
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix multibox_detection_test
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix python bindings for DetectionOutput-8
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Insert blank line between summary and description for python binding
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply review comments: identation, for loop
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix formatting in python bindings
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix supported_attrs for DetectionOutput from opset1
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add missed imports for python if_op
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply feedback and fix Win build
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use the same test suite name for test mixture
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix transformation tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Recover BWDCMP_RTTI for legacy use and remove unused variables in tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove unused variables in type_prop tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Recover legacy referenceDetectionOutput constructor
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix python binding for DetectionOutput
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Removed 'inline' Preprocessing API
Even though this API provided a way to specify all pre/post-processing in one line - it was considered inconvinient
With 'getters' API preprocessing code looks more clear for user, so old' inline' API is removed
* Fix pyopenvino build issues
* Update after merged PR#8717
* ngraph and inference-engine parts
* add priorbox_8 python api
* remove 'PriorBoxAttrs' and 'PriorBox' from outside of opset namespace
* add common nGraph transformation 'ConvertPriorBox8To0'
* remove redundant alias of PriorBox::Attributes
* use new Tensor api for evaluate method
* change v0operation back to the former api, pass Attribute structure to the reference implement
* use new Tensor api for constant_fold
* add support for dynamic shapes of constant_fold new Tensor api
* fix Node 'create temp tensors' issue when shape==0'
* revert to 'HostTensor' api for PriorBox8
* Apply suggestions from code review and 'template_plugin reference' testcase replaced 'backend INTERPRETER' testcase
* transformation part Apply suggestions from code review
* python init file updated for opset8
* keep backward compatibility to fix CI issue
* rebase to new structure of OpenVINO repo
* revert 'thirdparty/onednn_gpu' mistake changes
* Increase image size to avoid test failures on some platforms
There is an assert 'length >= nlanes' and 'nlanes' value depends on machine architecture
Set 320x320 test image to guarantee that image size >= nlanes
Also increased image size for 'plugin shared tests' to ensure the same (even though tests do not work with legacy preprocessing)
* Descreased to 160x160
* Migrate Sort (TopK-1)
* Add topk_mode_sort_order
* Skip topk_min_sort_none in Windows
* Add types to tests
* Skip topk_max_sort_none and topk_min_sort_none
* Modify names from 1d to 1dMaxMin and SetUp1 to SetUpSecond
* Add outIdx to run tests one by one
* Set default value 0 to outIdx
* Remove copy_data
* Support pads_begin & pads_end as dynamic ops in Pad
* Extend Pad template test w/ NonConst PB & PE cases
* Remove xfails for 69443 after issue was fixed
- PrePostProcessor takes 'function' argument in constructor
- PrePostProcessor::build() doesn't take any function anymore
- PrePostProcessor::input() method to get reference to input
- PrePostProcessor::output() method to get reference to output
- InputInfo - add getters of tensor, preprocess, network
- OutputInfo - add getters of tensor, preprocess, network
Samples:
ClassificationSampleAsync - use new getters
Inference engine:
- Use new getters in ie_network_reader.cpp
TODO: Consider removal of builder-like API in PrePostProcessor, InputInfo, OutputInfo
* Add GatherND_8 operation
* Update shape infer function and tests
* Initial commit for nGraph GatherND_8 operation
* Add GatherNDBase class implementation
* Fix base class errors
* Add missrd header
* Update base class
* Update GatherND_8 implementation
* Fix codestyle
* Fix wrong rank
* Implement tests for gatherND_8 shape inference function
* fix codestyle
* Add limitation to doc
* Siplyfy check in shape inference
* Add more test cases
* Update shape inference function
* Add more test cases to cover all case with dynamic input shapes
* Update shape inference function
* Refactor tests
* Initial commit for gatherND_8 reference implementation
* Add visitor tests for gatherND_8 operation
* Add visitor tests for gatherND_8 operation
* Correct comment
* Add additional check is shape inference function
* Update shape inference implementation for gathernd operartion
* Fix codestyle
* Remove restriction for data is fully defined
* Update shape inference functon
* Add gatherND_8 reference to evaluate map
* Add tests for gathernd_8 reference in batch_dims > 1
* Fix codestyle
* Fix codestyle
* Fix missed check for nonetype
* Remove redundant checks for batch_dims
* Use get_shape method instead of get_input_shape in GatherND reference implementation call
* update reference implementation call
* Properly add GatherND_8 to test opset table
* Update GatherND reference implementation for support opset8 version
* Add unit tests for gatherND_8 reference implementation
* Update gatherND reference implementation call in evaluate map
* Mark failed tests for missed plugin gatherND_8 implementations
* Fix codestyle
* Fix codestyle
* Fix codestyle
* Update tests
* Move common methods to base class
* Fix codestyle
* Revert clone_with_new_input function moving
* Add more test for reference
* partially revert API changes
* Migrate Movement2 (BatchToSpace-2, DepthToSpace-1, Roll-7, ShuffleChannels-1, SpaceToBatch-2, SpaceToDepth-1)
* Fix typos while copying
* Update to opset namespace and add i4, u4, bf16 tests when available
* Remove i4, u4 tests from BatchToSpace and Roll
* Proper cmake install for static libraries case
* Added an ability to skip template plugin
* Added install rules for VPU / GPU
* Install more libraries
* Fixed absolute TBB include paths
* Disable GNA
* Fixed issue with linker
* Some fixes
* Fixed linkage issues in tests
* Disabled some tests
* Updated CI pipelines
* Fixed Windows linkage
* Fixed custom_opset test for static casr
* Fixed CVS-70313
* Continue on error
* Fixed clanf-format
* Try to fix Windows linker
* Fixed compilation
* Disable samples
* Fixed samples build with THREADING=SEQ
* Fixed link error on Windows
* Fixed ieFuncTests
* Added static Azure CI
* Revert "Fixed link error on Windows"
This reverts commit 78cca36fd2.
* Merge static and dynamic linux pipelines
* Fixed Azure
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add op reference test of prior_box/prior_box_clustered/reorg_yolo and remove ngraph backend test
* remove related backend test file
* Add test cases for PReLU in cpu plugin
* For case when slope is vector
* Add Constant template plugin reference tests
* Update CMakeLists.txt and delete constant.in.cpp
* Add tests of tensor_2constant and constant_multi_use
* Add test of constant_equality_bool
* Remove wrong comments
* Remove some of strange if
* Merge to one CreateFunction
* Remove test names and update test for types
* Add bf16 and f64 tests
* Add missing type tests
* Clear actualOutData to allow multiple use of Validate()
* Update SetUp and CreateFunction to support CentOS CI
* Remove inputData = {}
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add op reference test of experimental_detectron_detection_output and experimental_detecteion_generate_proposals and remove ngraph backend test
* modify visitor api test of experimental_detectron_detection for clang-format
* modify visitor api test of experimental_detectron_detection for clang-format again
* modify visitor api test of experimental_detectron_detection for clang-format again2
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add op reference test of detection_output
* update op reference test and remove ngraph backend test
* make up the reference test data
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add op reference test of psroi_pooling and deformable_psrio_pooling
* update op reference test
* remove ngraph backend test
* add op reference test of proposalV1 and proposalV4
* update skip_test_config.cpp to avoid failure of accuracy drop in fp16/bf16 test case of proposal
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators
* Fixed SEG in unit-test: order of initialization for global vars
* Added an ability to find plugins.xml from static IE
* Fixes in unit-test
* Migrated to new macro for import / export
* Minimized number of custom dllexport
* Don't use IR v7 for static libraries
* Revert for merge
* Don't enable tests with dlopen for static libraries
* Code style
* Added condition for export
* Revert format_reader
* Removed forward decalaration with external linkage
* Fixed IE linkage on Windows
* Reverted back 2 flags
* Minimal RRTI for cpuFuncTests
* Minimal RRTI for cpuFuncTests
* Still need IR v7 reader
* Fixed build
* Fixed compilation
* clang-format fix
* Removed BUILD_AS_IS and used USE_STATIC_IE
* Enable IR v7 reader as static library
* Fixed compilation for GPU plugin
* Trying to build plugins as static library
* Plugins are able provide their own name for CreatePluginEngine function
* Fixed CPU
* Fixed comments
* Fixed ENABLE_IR_V7_READER usage
* Fixed VPU
* clang-format
* Fixes
* Fix
* Load multiple plugins at once
* Fixed interpreter undefined symbols
* Trying to dynamically register static plugins
* Reverted some ngraph changes
* Fixed cpuUnitTests compilation
* Fixed compilation
* Fixed myriad
* Fixed custom_opset tests
* Reverted linker flags
* Support both static and dynamic plugins
* Fixed compilation of myriadFuncTests
* Removed duplication
* Fixes after self-review
* Fixed linkage for preprocessing
* Fixes for Windows
* Fixes
* Fixed cmake options
* Fix
* Fix
* Fix 2
* Interpolate reference implementation:
- Support u8 and other numeric types
- For integral types - round result to nearest integer (don't cast)
Preprocessing: enable OpenCV tests and add resize conformance tests with OpenCV
* Revert changes in interpolate.cpp, making them minimal needed (added u8 resize)
* Preprocessing: convert_layout<std::vector<uint64_t>> implementation
User is able to use this version without specifying layout explicitly
Same version of convert_layout is added for post-processing
Added usage of new convert_layout to ie_network_reader
* Fix review comment