Commit Graph

398 Commits

Author SHA1 Message Date
Katarzyna Mitrus
96df1a14ce Slice-8 Reference implementation (#7749)
* Init template reference tests

* Move output shape calculation to separate function

* Add to evaluate_map (reuse old ref)

* Add negative step test

* Make slice evaluate template type independent

* Enable typed tests for reference

* Add more reference tests

* Revert old slice ref changes

* New Slice reference implementation POC

* N-dim generalization

* Code refactor

* Style alignment

* Add more checks

* Add more tests

* Add zero dims/empty output tests

* Simplify typed tests generation

* Slice op leftovers

* Add unsigned types reference tests
2021-10-15 12:41:39 +03:00
Gleb Kazantaev
c1d2810321 Unify RT Info And Add Methods To Output class (#7871)
* Add methods to Output class

* Add get_any_name() method for tensor
2021-10-14 20:31:48 +03:00
Mikhail Nosov
d21572d7cb Squashed commit of the following: (#7930)
commit e692037384525e24f4f88d2b10fd5f5c09881d8a
Merge: a0ad24b16 82f8f19d1
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Wed Oct 13 15:06:20 2021 +0300

    Merge remote-tracking branch 'upstream/master' into ov20/remove_tensor_names

    # Conflicts:
    #	inference-engine/tests/functional/inference_engine/ir_serialization/rt_info_deserialization.cpp

commit a0ad24b16ab6ef7cf37dedb04084813178f0d627
Merge: 3c1f7067f db527fff4
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Wed Oct 13 13:45:39 2021 +0300

    Merge remote-tracking branch 'upstream/master' into ov20/remove_tensor_names

commit 3c1f7067f01634378cf66eee996d8793b635a6f2
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Wed Oct 13 13:45:13 2021 +0300

    Remove ignoring friendly names while comparing functions

commit f31e018d9a4694e83a3f12e685d8e90a9aca9045
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 23:50:20 2021 +0300

    Fix macos test

commit 2e3d0ceced3bde893e1e8237f7769c94bd193531
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 20:06:06 2021 +0300

    Fixes after merge

commit 5f047070af7c71a75f5ec019a146e17b3f95c062
Merge: 1568c9723 c323775f2
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 18:59:21 2021 +0300

    Merge remote-tracking branch 'upstream/master' into ov20/remove_tensor_names

    # Conflicts:
    #	inference-engine/tests/functional/inference_engine/ir_serialization/rt_info_deserialization.cpp
    #	inference-engine/tests/functional/plugin/cpu/shared_tests_instances/skip_tests_config.cpp
    #	ngraph/core/src/preprocess/pre_post_process.cpp
    #	ngraph/core/src/preprocess/preprocess_steps_impl.cpp
    #	ngraph/core/src/preprocess/preprocess_steps_impl.hpp
    #	ngraph/test/util/graph_comparator.cpp

commit 1568c97238c206a43cd8b14b6aba49fcee828386
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 13:56:48 2021 +0300

    Throw an error if 'InputInfo' is specified for same parameter twice.

commit d1830ba61b750b12484322c97261c7062551f798
Merge: 4f01b396b d79020457
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 13:34:32 2021 +0300

    Merge remote-tracking branch 'upstream/master' into ov20/remove_tensor_names

commit 4f01b396ba4b68d88d583092a38836754e78531c
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 13:34:19 2021 +0300

    Insert multi-plane parameters into new parameters vector (don't append them)

commit 70f85e5f351a37f2b79cff118399778c55136845
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Tue Oct 12 00:26:43 2021 +0300

    Fixed failed CPU/GPU test, created skipped test to clearly reproduce the problem
    Don't generate friendly and tensor names for sub-planes. Test is updated
    Keep the order of created parameters and results after pre and post processing
    Added tests for params/results order

commit 8b2cbf6db6646f6b2a01fc9e75726b682aa87fc2
Merge: 6050afbce 6d322722c
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Mon Oct 11 17:55:25 2021 +0300

    Merge remote-tracking branch 'upstream/master' into ov20/remove_tensor_names

commit 6050afbce256f21430322ec7b0a38105e3f06066
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Sun Oct 10 23:54:40 2021 +0300

    IE reader: remove unnecessary convert_layout()

commit 0f43133f6dfddf41233835678872c9a80b631565
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Sun Oct 10 23:33:29 2021 +0300

    Update IE tests

commit 75afe69ccf36b9764dc9285d77fe1a65ae4146b4
Merge: c86366577 67cfc9beb
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Fri Oct 8 22:52:17 2021 +0300

    Merge commit '67cfc9beb5bb0c66916c91ab5820dc25ad164a70' of https://github.com/openvinotoolkit/openvino into ov20/remove_tensor_names

commit c86366577ede8491ed722f9d048b7556d3266c68
Author: Michael Nosov <mikhail.nosov@intel.com>
Date:   Fri Oct 8 22:26:17 2021 +0300

    First commit (IE func tests are failed)

commit 67cfc9beb5bb0c66916c91ab5820dc25ad164a70
Author: y <ilya.lavrenov@intel.com>
Date:   Fri Oct 8 16:09:11 2021 +0300

    Removed explicit preprocessing steps
2021-10-14 17:54:41 +03:00
Ilya Churaev
eb838d5699 Cleanup Core API added common header (#7994) 2021-10-14 12:58:43 +03:00
Anton Pankratv
5b176f28cc Added remote objects type check (#7606) 2021-10-14 11:32:19 +03:00
Ilya Churaev
594da7e99d Fixed export of AttributeAdapter for broadcast spec (#7990) 2021-10-14 07:46:47 +03:00
Nikolay Shchegolev
0ed1c24cd2 [CPU] If-8 operation implementation. (#7253) 2021-10-13 20:45:24 +03:00
Ivan Tikhonov
7b1a418bf4 MakeStateful transformation (#7417)
* ReplaceInOutWithMemory transformation in ngraph

* add unit tests

* add ReplaceInputsOutputsWithMemory transformation in python

* update codestyle

* rename the transformation

* fix codestyle

* add Dynamic shapes check in the transformation and unit test

* fix codestyle

* rename files

* fix python API

* fix codestyle

* fix codestyle

* update python API

* fix codestyle

* fix build

* codestyle

* fix unit test

* fix RTTI declaration

* Apply suggestions from code review

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* review comments

* openvino codestyle

* change the name of Variable in the transformation

* fix build

* delete MakeStateful transformation from ie_transformations

* Resolve review comments

* codestyle

* fix missprint, codestyle

* delete unused variable

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-10-13 19:02:42 +03:00
Ilya Churaev
50b0dc1182 Deprecated old evaluate methods (#7937)
* Deprecated old evaluate methods

* Suppress node

* Fixed some warnings

* Fixed documentation and warnings

* Fixed some warnings

* Disable some warnings
2021-10-13 12:47:14 +03:00
Ilya Churaev
82f8f19d11 Moved serialization pass to public (#7862)
* Moved serialization pass to public

* Fixed unit tests

* Fixed code style

* Fixed tests

* Fix link

* Fix kmb

* Fixed build

* Removed InferenceEngine::Core from ngraph tests

* Add missed models

* Restore IR weights

* Fixed code style
2021-10-13 11:17:53 +03:00
Ilya Churaev
972524f1cc Use runtime::Tensor instead of Blob in read_model (#7951)
* Use runtime::Tensor instead of Blob in read_model

* Fixed the memory ownership
2021-10-13 09:13:11 +03:00
Mikhail Nosov
2592856200 [OV2.0] Leftovers for Preprocessing/input/output (#7893)
* Pre-process:
- Implicit conversions for element type and layout
- 'convert_element_type' with default argument to network
- Convert_element_type - don't add ops if dst and src types are same
- Convert_layout - don't add ops if dst and src layouts are same
- Custom step - use Output<Node> instead of shared_ptr<Node>
- Support of addressing input by tensor name

Post-process:
- Avoid duplication of tensor names after post-processing

* Fixed IE tests
2021-10-08 12:58:29 +03:00
Ilya Churaev
ff31ac553a Introduce new evaluate API (#7848)
* Introduce new evaluate API

* Removed redundant pointers from new API

* Fixed eval tests

* Fixed comments

* Enable evaluate_lover/upper methods
2021-10-08 07:29:25 +03:00
Mikhail Nosov
e20cefb620 PrePostProcessor.output() - first implementation of post-processing (#7866)
* PrePostProcessor.output() - first implementation of post-processing
Supported convert_layout, convert_element_type and custom operations

* Fix review comments

* Added test for pre and post processing together
Fix clang-format

* Move 'validate_and_infer_types' before post-processing
2021-10-06 21:17:10 +03:00
Mikhail Nosov
f57dc05c66 [OV20] Convert NV12 to RGB operation + preprocessing (#7508)
* # Conflicts:
#	docs/template_plugin/tests/functional/op_reference/convert_color_nv12.cpp
#	inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/convert_color_nv12.cpp
#	inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/convert_color_nv12.hpp
#	inference-engine/tests/functional/shared_test_classes/src/single_layer/convert_color_nv12.cpp
#	ngraph/core/include/openvino/core/preprocess/input_tensor_info.hpp
#	ngraph/core/include/openvino/core/preprocess/preprocess_steps.hpp
#	ngraph/core/include/openvino/op/nv12_to_bgr.hpp
#	ngraph/core/include/openvino/op/nv12_to_rgb.hpp
#	ngraph/core/src/op/nv12_to_bgr.cpp
#	ngraph/core/src/op/nv12_to_rgb.cpp
#	ngraph/core/src/preprocess/pre_post_process.cpp
#	ngraph/core/src/preprocess/preprocess_steps_impl.hpp
#	ngraph/test/CMakeLists.txt

* Added more test to cover 100% of code
Allow convert element type for 'multi-plane' color format

* Inherit tensor names for 'convert_color'

* Clang

* Fix tests

* Disable 'int8' preprocessing resize test

* Fix review comments

* Add more restrictions and tests for planes sub-names

* 1) Added check for uniqueness of tensor names generated for nodes
Raise error if user's plane sub-name conflicts with some node in a function
2) Added exception safety to preprocess build. Before, when input #2 fail, only one preprocess will be applied to function and it will be corrupted
Exception guard will restore function to original state if exception occurs

* Fix clang-format
2021-10-06 15:22:05 +03:00
Ilya Churaev
80e0bed855 Remove ngraph from new API (#7838) 2021-10-06 14:17:27 +03:00
Gleb Kazantaev
5ef3472bee Fix FrameworkNodeAttr Deserialization (#7854) 2021-10-06 12:40:26 +03:00
Ilya Churaev
3859990b1b Introduce IR v11 (#7787)
* Enabled support of IR v11 in IR frontend

* Enabled serialization to v11

* Added indexes for Inputs/Outputs

* Fixed typo

* Fixed code style

* Fixed deserialization tests

* FIxed typo

* Avoid changes in the original serialized function

* Fixed TI tests

* Removed version from the function and indexes from parameters/results

* Restore function version

* Clone function rt info

* Removed v11 version
2021-10-05 13:09:59 +03:00
Ilya Lavrenov
0bebd53b4a Inference chaining: static and dynamic cases (#7776)
* Fixed precisions conversion in new API

* Added tests

* Fixed old IR cases

* Disable FP16

* Fixed regex for CentoOS

* Refactored tests to use new API

* Temp

* Fixed tests

* Moved smart reshape related sources to ngraph

* Added tests for invalid names

* Moved reshape to tensor_names

* clang-format

* Fixed CC build

* Removed IEConv, IEDeconv from primitives pririty

* Added tests for Inference chaining

* Fixed dynamic chaining for template plugin

* Added test for 2 conflicting names for the single parameter

* Removed invalid test

* Added more tests for dynamism

* Fixed clang-format

* Fixed macosx compilation

* Some simplifications
2021-10-04 14:51:14 +03:00
Tomasz Jankowski
96519b1723 [nGraph] Remove obsolete attribute from Result op (#7682)
* Remove obsolete attribute from Result op

m_needs_default_layout field had no effect to the Result operator state,
even if set to true* by build_graph test.
Its setter and getter were unused.

* rather accidentaly considering implicit cast from const char*

* Restore redundant ctor as deprecated

It's user API so better keep it backward compatible

* Restore useless accessors as deprecated
2021-10-04 07:24:02 +03:00
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
Ilya Churaev
faeaf045a9 Graph comparator to ngraph util (#7729)
* Moved FrameworkNode to nGraph

* Moved graph comparator to ngraph test util

* Fixed build

* Try to fix centos

* Fix export target

* Moved engine utils to separate library

* Removed ONNX util from common library

* Fixed build

* Fixed code style
2021-10-01 07:24:28 +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
Ilya Lavrenov
757db35528 Dynamism in new API (#7742)
* Fixed precisions conversion in new API

* Added tests

* Fixed old IR cases

* Disable FP16

* Fixed regex for CentoOS

* Refactored tests to use new API

* Temp

* Fixed tests

* Moved smart reshape related sources to ngraph

* Added tests for invalid names

* Moved reshape to tensor_names

* clang-format

* Fixed CC build

* Removed IEConv, IEDeconv from primitives pririty
2021-09-30 15:04:24 +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
Gleb Kazantaev
62ed238f54 RT Info Attributes Serialization/Deserialization (#7603)
* Init rt info deserialization

* Add RT Info attributes deserialization

* Add RT Info attributes serialization

* Add Serialization and Deserialization tests

* Code style

* Fix AttributeAdapter place

* Extended rt_info section; added support for multi-field attrs; use version for attr serialization/deserialization

* Align attributes and their usage

* Fix LPT

* Add missing #pragma one

* Fix build

* Change version delimiter to have valid xml

* Fix PromitivesPriority

* Fix tests

* Fix test

* Fix IR Reader; remove empty rt_info

* More explicit attribute name and version representation
2021-09-29 19:17:03 +03:00
Ilya Lavrenov
068d31511b Improved ov::Tensor behavior (#7683)
* Improved ov::Tensor behavior

* Fixed python test for setShape on preallocated

* Fixed clang-format
2021-09-28 12:50:51 +03:00
Ilya Lavrenov
476fbee00f Reference template plugin tests to OpenVINO 2.0 (#7685) 2021-09-28 10:46:03 +03:00
Ilya Lavrenov
e87cc3fa9e Tensor API in ngraph (#7632)
* Added OpenVINO Tensor API

* Tensor API improvements

* Moved Tensor to ngraph

* Moved Tensor tests

* Fixed docs and code style

* Trying to fix Windows

* Fixed clang-format

* Moved Tensor to runtime namespace

* Fixed compilation

* Fixed clang-format

* Fixed tests in debug

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2021-09-27 09:57:26 +03:00
Evgenya Stepyreva
ef028a567e Convolution: fast shape inference (#7523)
* Convolution: fast shape inference

* StaticShape and StaticDimension + static shape infer time test in comparison to Convolution

* Review comments
2021-09-27 00:14:50 +03:00
Vladislav Volkov
002e68b535 Fix of deprecated function usage in ngraph::OpSet (#7637) 2021-09-24 10:56:05 +03:00
Ilya Churaev
6159a5b0bc New ov::Function API (#7436)
* Generates tensor names

* Implement function helpers for Inputs/Outputs

* Fixed code style

* Share result tensor and add more tests

* Avoid not unique tensor names

* Print tensor name

* Fixed comment

* Fixed matmul transformation

* Fixed function evaluate

* Fixed typo

* Fixed interpreter backend

* Fixed comments

* Removed tensor names check

* Disabled negative tests

* Fixed NetworkContext_CNNNetwork tests

* Fixed GNA tests

* Remove reset names

* Fixed code style

* Temporary disable names generation

* Revert "Temporary disable names generation"

This reverts commit 133315a611.

* Fixed mapping generation and e2e tests

* Fixe Myriad tests

* Introduce AtomicGuard to fix possible thread issues

* Fixed comments
2021-09-24 07:11:02 +03:00
Ilya Churaev
846c9c91f2 Fixed leftovers from PR #7288 (#7623) 2021-09-24 04:19:49 +03:00
Ilya Lavrenov
84a07889f0 Added version information to OpenVINO Core (#7600)
* Added version information to OpenVINO Core

* Fixed code style

* Fixed Windows

* Fixed code style

* Fixed clang
2021-09-23 17:03:45 +03:00
Ilya Churaev
634759210f Introduced OpenVINO RTTI and add version string to operations (#7288)
* Introduced OpenVINO RTTI and add version string to operations

* Fixed build

* Try to fix build

* Removed get_type_info_static

* Fixed tests

* Moved ov operations to new macros

* Fixed type_info_static

* Introduce new header only declaration

* Deprecate type_info static member

* Introduced OPENVINO_OPERATION macro

* Fixed ngraph lib with new RTTI

* Fixed unit tests

* Fixed code style

* Fixed VPU common

* Fixed all target for macOS

* Changed macto to OPENVINO_OP

* Changed cldnn

* Fixed typo

* Fixed some unit tests with old operations

* Fixed DiscreteTypeInfo

* Fixed type relaxed operations

* Fixed legacy tests

* Fixed naming style

* Fixed cpuTests

* Disabled deprecation to pass CI

* Added compatibility to internal operations

* Added BWDCMP for internal ops

* Deprecate type_info

* Fixed Slice RTTI

* Fixed Myriad

* Applied patch from PR 7573
2021-09-23 13:29:39 +03:00
Ilya Lavrenov
ab34701590 Added OpenVINO runtime macro (#7586)
* Fixed typo

* Moved ie::Parameter to new API

* New OpenVINO API macro

* Used OpenVINO Plugin API for some plugins

* Used OPENVINO_RUNTIME_API

* Revert "Moved ie::Parameter to new API"

This reverts commit fef5e3b487.

* Fixed code style and docs

* Fixed compilation
2021-09-23 10:39:20 +03:00
Ilya Churaev
ef01e9836f Addeed get_friend_name() threading tests (#6052)
* Addeed get_friend_name() threading tests

* Added mutex for get_node method

* Fixed code style
2021-09-22 10:58:03 +03:00
Ilya Lavrenov
377f46898c Moved ie::Parameter to new API (#7584)
* Fixed typo

* Moved ie::Parameter to new API

* Fixed compilation for Android
2021-09-22 10:38:09 +03:00
Mikhail Nosov
be8600af38 [OV20] ov::Layout improvements (#7551)
* Fix leftovers for ov::Layout
Added runtime info to Tensor
Add get_layout/set_layout/has_layout methods for parameter
Moved preprocess steps code to separate CPP file for readability purposes
Test code coverage = 100%

* Fixed review comments

* Try fix windows build

* Fix 1:
Correction: Dynamic channels dimension is ok on preprocessing
[?,?,?,?], Layout "NCHW" => scale({2.0, 3.0, 4.0}) is ok.
If HostTensor's channels dimension mismatches - it will fail on 'evaluate' stage (as usual)

Fix 2:
Verify that TensorInfo().set_layout(...) reuses element type from original parameter

* Removed 'using RTMap'
2021-09-21 16:02:55 +03:00
Gleb Kazantaev
07d9b51121 Replace IR Reader With IR Frontend (#7249)
* Replace IR Reader With IR Frontend
2021-09-20 23:17:22 +03:00
Ilya Churaev
55fb542bc6 Added OpenVINO util library (#7481)
* Added OpenVINO util library

* Fixed code style

* Fixed build

* Fixed build

* Added methods from IE utils

* Fixed style

* Fixed Windows build

* Fixed linux build

* Fixed windows build

* Try to fix dladdr

* Try to fix windows

* Fixed typo

* Fixed detection dynamic libs from static library

* Revert some changes

* Revert changes in windows loader

* Revert network reader

* Removed some methods from plugin API

* Fixed fluid tests

* Fixed typo

* Fixed include

* Try to fix CI

* Try to fix centos

* fix typo
2021-09-20 18:37:32 +03:00
Ilya Churaev
88b874ec8b Introduced new RTTI macros for nGraph (#7515)
* Introduced new RTTI macros for nGraph

* Added new tests

* Fixed comment

* Fixed Windows ieFuncTests

* Fixed code style
2021-09-20 11:03:14 +03:00
Ilya Churaev
850c526e3b Moved graph validation utils to ov (#7529) 2021-09-20 10:40:14 +03:00
Katarzyna Mitrus
f5cd75a084 New Slice-8 ngraph op shell (#7304)
* init Slice ng op

* Init Slice op tests

* Add visitors test

* Output shape inference

* Add default axes calculation

* Add static output shape tests

* Remove default axes input injection

* Update default axes calculation

* Dynamic data rank case

* Update unordered axes case

* Add support for out dim bounds for unknown input values

* Add more tests

* Update headers and namespace

* Add step value check

* Full dynamic shapes support

* Fix type in attribute tests

* More typeprop tests

* Move Slice-8 to openvino api

* More validation cases

* Update opset8 operations count test
2021-09-15 07:25:42 +03:00
Vladislav Volkov
c06a51f2bf [CPU] Models cache for CPU plugin (#6403) 2021-09-14 16:02:47 +03:00
Ilya Churaev
7ea1960b99 Revert shape renaming (#7490)
* Rename ov::Shape to ov::PartiaShape

* Rename StaticShape to Shape

* Fixed code style

* Fixed merge conflict
2021-09-14 15:10:05 +03:00
Mikhail Nosov
2236c6105b [OV20] Layout class implementation - basic API (#7452)
* Draft

* More tests

* to_string + advanced_syntax + more tests

* Coding style

* Add mean/scale - vector version with layout support

Vector version requires layout to be set

* Added comments to LayoutRank

* Removed unnecessary public API
- Removed setters
- Removed LayoutRank from public classes

* Review comments:
- Rename 'layouts' namespace to 'layout'
- 'get_index_by_name' - specify throw exception type
2021-09-13 19:02:22 +03:00
serhii-pavlovskyi-altran
b11b1d44cb Use one set of parentheses around gcc attribute deprecated arg (#7413)
Double parentheses break some other compilers which pretend to be gcc.
Single set doesn't seem to break anything.
2021-09-13 13:56:43 +03:00
Ilya Churaev
d1b0f06f4f Aligned macro name OV_CHECK->OPENVINO_ASSERT (#7400)
* Aligned macro name OV_CHECK->OPENVINO_CHECK

* Renamed OPENVINO_CHECK to OPENVINO_ASSERT
2021-09-08 17:42:26 +03:00
Mikhail Nosov
b99e1d0a62 [OV20 Preprocessing] Preprocessing API - basic preprocessing functionality (#7391)
* Preprocessing API - base classes

Includes API definition for trivial mean/scale operations (which don't require layout)

Mean/scale with 'layout' support will be done under separate task together
 with Layout

Current test code coverage: 100%

* Rename 'pre_post_process' folder to 'preprocess', aligned with namespace
Fix 32-bit tests

* More cleanup

* Review comments
2021-09-08 15:10:18 +03:00