Commit Graph

755 Commits

Author SHA1 Message Date
Wilson Seok
a8f0109584 Migrate ngraph backend test/activations (#7973)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* create new PR from PR7849

* remove backend tests of activation operations
2021-10-14 09:38:30 +03:00
Ilya Churaev
02f3a175d0 Fixed build of RTInfoSerialization tests (#7978) 2021-10-13 13:50:30 +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
Mateusz Tabaka
db527fff41 Fix performance on resnet50 quantized models (#7670)
* Fix performance on resnet50 quantized models

LP transformations won't work on the model unless the last 4 inputs to FakeQuantize
are constants. In order to meet that requirement, we need to perform constant folding
for those inputs in QuantizeLinear ONNX operator.

Ticket: 65375

* fix "Cannot find blob with name: y" exception during onnx_model_quant_conv_linear

* remove linking with onnx_ngraph_frontend

* fix exclude path
2021-10-13 10:18:37 +03:00
Ilya Churaev
0d020974f9 Removed commonTestUtils from ngraph tests (#7956)
* Removed commonTestUtils from ngraph tests

* Fixed build
2021-10-13 09:56:12 +03:00
Ilya Churaev
c323775f2c Add input/output to ov ExecNetwork (#7650)
* Added template for new tests

* Fixed simple test

* Added output tests

* Removed get_result/get_parameter methods

* Fixed documentation

* Fixed functional tests

* Fixed caching tests

* Added new test for import

* Added new tests

* Fixed code style

* Fixed comments

* Fixed tests

* Fixed code style

* Save version in the function
Fixed pre-post processing

* Change IR version

* Fixed documentation

* Fixed MockICore

* HETERO almost works

* Fixed tests and core logic

* Disabled some CPU tests

* Tmp disable fp16 for template

* Fixed tests and clang-format

* Small fixes

* Fix

* Simplified code in templatePlugin

* Added IE precisions checks

* Simplified hetero plugin

* Added ieImportExportedFunction test

* Added MYRIAD test

* Skip tests directly in tests

* More correct filter for CPU

* Fixed CPU tests

* Template plugin tests

* Some comments

* FIxed clanf-format

* Removed myriad tests

* Fixed comment

* small changes

* Fixed condition

* Fixed unit tests

* clang-format

* Comment

* Hetero plugin update

* Fixed tests

* Moved re-create under ig

* Fixed clang-format

* Fixed some caching_tests

* Disable some caching_tests

* Fixed setLayout with dynamic case

* Fixed clang-format

* Disable execution graph

* Disabled one more CPU test

* Simplified regex

* Disabled GNA tests

Co-authored-by: y <ilya.lavrenov@intel.com>
2021-10-12 13:11:25 +03:00
Wilson Seok
d50ba1129b Migration convolution ngraph backend test (#7846)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add convolution reference test and ngraph backend test

* fix location of ngraph visitor convolution.cpp
2021-10-08 16:52:00 +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
Ilya Lavrenov
ec126c6252 old / new API precisions conversions, old_api_map applying (#7853)
* 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

* Split IRv7 and IRv10 code

* Added preprocessing steps to read network

* Added preprocessing for new API for IR v10

* clang-format

* Updates for compiler flags

* Reverted some changes

* Fixed TI tests

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

* Restore function version

* Clone function rt info

* Removed v11 version

* Added serialization of old API map in ngraph.

* Changed order type to int64_t.

* Fixed uint64_t error, added comments.

* Apply suggestions from code review

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

* Read old_api_map

* Added tests with undefined type and empty order.

* Fixed reprocessing

* Updated gitignore

* Updated serialize / deserialize tests

* Added set, get and has methods.

* Fix in tests.

* Applied old_api_map tests

* Fixed empty convert_layout

* Allow Layout from empty string

* Fixed clang-format

* Export FEM::load_by_model

* Apply suggestions from code review

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

* Made inline methods, changed to shared_ptr.

* Small fix.

* Moved methods to header file.

* Small fix.

* Applied post-processing

* Fixed review comments

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2021-10-07 18:59:24 +03:00
Eugeny Volosenkov
05cd830de5 Move eval tests to template tests (#7132)
* Add If implementation with reference

* fix test

* fix comments

* Fix validate_and_INFER_TYPES

* rewrite tests for dynamic cases

* Fix ci failed

* add comentaries for validate_and_infer_types

* fix api

* Added ngraph checks and delete copied op from opset8

* code style fix

* fix code style

* add checkers to reference

* add has_evaluate

* fix eval

* Fix code style

* fix code style

* Add template plugin tests

* fix code style

* delete boolean

* fix IfParams

* Fix comments

* intermediate commit

* delete eval test

* add common header

* Fix codestyle

* fix set_invariant_input/set_body_output

* fix code_style

* fix codestyle

* delete validate_and_infer_types from type prop tests

* delete comments
2021-10-07 18:40:57 +03:00
Mateusz Tabaka
126943800e Add support for ONNX op "com.microsoft.EmbedLayerNormalization" (#7837) 2021-10-07 11:28:27 +02: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
Dawid Kożykowski
cddfeda4dd disable matmul integer ie tests (#7870) 2021-10-06 17:53:20 +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
Dawid Kożykowski
659daf610f [ONNX] MatMulInteger (#7825) 2021-10-06 13:53:47 +02:00
Liu Bo
cd675a56a4 Paddle Op conversion for SSD-MobileNetV3: exp, stack (#7547)
* Paddle Op conversion for SSD-MobileNetV3: exp, stack

* apply review comments

* remove fp64 type check of exp

* use default_opset

* add axis check

* apply review comments
2021-10-06 12:46:00 +03:00
Liu Bo
f83cf4b765 [FrontEnd]Paddle_Op_Conversion_prior_box (#7639)
* Paddle_Op_Conversion_prior_box

* use default_opset

* apply review comments

* const type variables modification
2021-10-06 12:43:24 +03:00
Gleb Kazantaev
5ef3472bee Fix FrameworkNodeAttr Deserialization (#7854) 2021-10-06 12:40:26 +03:00
Egor Duplensky
3455dd973f [CPU] Replace sgemm with MatMul primitive (#6785) 2021-10-06 09:57:57 +03:00
Ivan Tikhonov
dffe4a4251 If-8 operation: Serializer and Reader parts (#7545)
* added ir reader

* add serializer

* fix code style

* fix code style

* fix code style

* fix codestyle

* update IR reader for IF op

* move Function comparator to ngraph tests utils, update unit tests

* update tests

* cleanup

* update unit tests

* fix build issue

* ngraph codestyle

* Apply suggestions from code review

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

Co-authored-by: Eugeny Volosenkov <eugeny.volosenkov@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-10-05 18:45:17 +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
Mateusz Tabaka
c687929c19 Add support for ONNX op "com.microsoft.SkipLayerNormalization" (#7789) 2021-10-04 13:02:16 +02:00
Szymon Durawa
111c502997 Remove ConvolutionBackprop as dynamic op. (#7800) 2021-10-04 13:09:58 +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
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
Michał Karzyński
bd5b1bf99f Change the way Model Optimizer loads frontends (#7330)
* Adds two switches `use_new_frontend` and `use_legacy_frontend` to override defaults.
* Rename ONNX frontend from `onnx_experimental` to `onnx`
2021-09-30 12:17:36 +02:00
cecilia peng
eee22b6253 Temporarily disable some paddle test case which sporadically fail during CI. (#7757)
Further investigation required. JIRA tracking.
2021-09-30 12:56:10 +03:00
Katarzyna Mitrus
0eeaf6b2e4 ROIAlign fix - Unify sample_value calculation between max/avg mode (#7710)
* Unify sample_value between max/avg mode

* Fix mkldnn roi_align impl

* Update test

* Revert missing assert
2021-09-30 11:50:06 +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 Churaev
d2878e4012 Code style for test util (#7723)
* Enabled code style for ngraph test util

* remove some methods

* Fixed backends code style
2021-09-29 06:31:37 +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
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
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
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
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
Bartek Szmelczynski
f038fcf2bb ScatterUpdate ng op shell revision (#7375)
* add visitors, type_prop tests, update ngrap op class

* update NGRPH_RTTI for scatter_update

* add proper formatting for error message

* update opset
2021-09-24 10:31:45 +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
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
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
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
1390440256 Use jobs pool for PDPD model conversion as well (#7602)
* Revert "Combine all PDPD model generation scripts into one python command (#7349)"

This reverts commit 1eca8a6e49.

* Added jobs pool for PDPD model conversion

* Use jobs pool for PDPD model conversion as well
2021-09-23 10:40:55 +03:00
Mateusz Bencer
fb11560b82 Implemented missing methods of ONNX Place API (#7518)
* Implemented get_consuming_ports, get_producing_operation and is_equal for PlaceOpONNX

* fixed unambiguous_node_check

* removed PlaceTensorONNX::get_input_port

* added PlaceOpONNX::is_input, PlaceOpONNX::is_output

* fixed python styles

* added get_consuming_operations implementation

* added missing get_consuming_operations for PlaceOpONNX

* added missing get_target_tensor for PlaceOpONNX

* changed place spec

* add support of get_source_tensor

* add support of get_producing_operation for PlaceOpONNX

* add support of get_producing_port for PlaceInputEdgeONNX

* fixed python styles

* missing ref in std::transform
2021-09-23 09:47:33 +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