Commit Graph
85 Commits
Author SHA1 Message Date
Tomasz Jankowski a29843013d [Ref] Fix ScatterElementsUpdate lowest value bounding (#21669)
* Use lowest for value bounding

* Add test for lowest on float
2023-12-18 11:57:01 +01:00
Tomasz Jankowski 9f6c3e997f [core] Migrate Select operator to new API (#21249)
* Drop legacy stuff

* Repalce HostTensor with ov::Tensor

* Reduce binary size

* Revert "Reduce binary size"

This reverts commit 4f69f98357.

* Fix mistype in bounds evaluation

* Drop redundant check

* Fix shape in bounds evaluation

* Fix interval bound evaluate

* Add IF_TYPE_OF to enable CC

* Fix shape of scalar bound evaluation
2023-12-14 12:02:20 +01:00
Tomasz Jankowski 0649865372 [Core] Move validation util into dev API (#21501)
* Move infer_convolution_forward to dev API

* Move infer_auto_padding to dev API

* Move evaluate_as_partial_shape to dev API

* Move default_label_evaluator to dev API

* Move generate_transpose_default_order to dev API

* Move is_valid_axes_order to dev API

* Move has_no_labels to dev API

* Remove usage of legacy get_constant_from_source

from core and transformations

* Move normalize_axes to dev API

* Move normalize_axis to dev API

* Deprecate functions to be removed later
2023-12-14 10:10:46 +01:00
Tomasz Jankowski a9d2dd0b02 [core] Migrate ShuffleChannels operator to new API (#21340)
* Drop legacy stuff

* Repalce HostTensor with ov::Tensor

* Remove redundant call

* Revert safer axis normalilzation
2023-11-30 11:43:01 +01:00
Tomasz Jankowski eec370a88b [core] Migrate StridedSlice operator to new API (#21342)
* Drop legacy stuff

* Repalce HostTensor with ov::Tensor
2023-11-30 11:26:22 +04:00
Tomasz Jankowski 21201833ec [core] Migrate ScatterUpdate operator to new API (#21241)
* Drop legacy stuff

* Repalce HostTensor with ov::Tensor

* Use dedicated function to obtain Tensor data
2023-11-28 12:34:43 +04:00
Tomasz Jankowski cf58a83094 [core] Migrate ScatterElementsUpdate operator to new API (#21212)
* Remove redundant code

* Repalce HostTensor with ov::Tensor for v12

* Repalce HostTensor with ov::Tensor for v3

* Add Tensors count assertion

* Rename

* Revert axis normalization

* Don't duplicate the code
2023-11-28 12:32:30 +04:00
Tomasz Jankowski 8231d57c38 [core] Migrate ScatterNDUpdate operator to new API (#21231)
* Drop legacy stuff

* Repalce HostTensor with ov::Tensor
2023-11-25 11:33:28 +04:00
Tomasz Jankowski 0829e8262d [core] Migrate NonZero operator to new API (#21109)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor

* Refactor NonZero reference implementation

* Align code

* Refactor NonZero reference implementation

* Reduce binary size

* Reduce binary size

* Use proper type name
2023-11-24 07:00:41 +01:00
Tomasz Jankowski ffa6e8458d [core] Migrate ShapeOf operator to new API (#21143)
* Drop legacy stuff

* Drop HostTensor

* Remove unused element types support

* Revert "Remove unused element types support"

This reverts commit 2ca8280c56.

* Improve style
2023-11-20 15:06:30 +04:00
Tomasz Jankowski 3558f09c3d [core] Migrate OneHot operator to new API (#21038)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor

* Set output shape
2023-11-15 14:13:14 +01:00
Tomasz Jankowski 70a2736695 [core] Migrate Log operator to new API (#20917)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor

* Remove useless code
2023-11-13 11:00:09 +00:00
Tomasz Jankowski 6e073b1165 [core] Migrate SoftSign operator to new API (#20958)
* Align code style

* Use Evaluate in place of switch case

* Use std::transform in place of for loop
2023-11-09 11:10:37 +04:00
Tomasz Jankowski e8b6e17429 [core] Migrate Softplus operator to new API (#20900)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor
2023-11-07 12:19:34 +01:00
Tomasz Jankowski a304f03852 [core] Migrate Softmax operator to new API (#20894)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor
2023-11-07 08:26:58 +01:00
Tomasz Jankowski 5cd9659033 [core] Migrate HSwish operator to new API (#20854)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor
2023-11-06 20:56:52 +01:00
Tomasz Jankowski 09010657e2 [core] Migrate Gelu operator to new API (#20833)
* Drop HostTensor

* Remove useless overwrite method
2023-11-03 12:16:51 +00:00
Tomasz Jankowski 3386b85c08 [core] Migrate Divide operator to new API (#20766)
* Use ov:: namespace

* Drop HostTensor

* Use ov::util::make_tensor_of_max_value

instead of ngraph::get_constant_max_of_type

* Use ov::util::make_tensor_of_min_value instead of

ngraph::get_constant_min_of_type

* Refactor get_constant_min_of_type
2023-11-03 10:35:43 +01:00
Tomasz Jankowski 0effa37811 [core] Migrate HSigmoid operator to new API (#20836)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor
2023-11-03 09:10:32 +01:00
Tomasz JankowskiandMichal Lukaszewski 142a72d0f0 [core] Migrate SpaceToBatch operator to new API (#20510)
* Drop HostTensor and move to ov namespace

* Style

* Optimize vector assignment

* Optimize vector assignment

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-10-30 12:52:56 +00:00
Tomasz JankowskiandMichal Lukaszewski 301ea0beb0 [core] Migrate SpaceToDepth operator to new API (#20530)
* Drop HostTensor and move to ov namespace

* Drop HostTensor

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-10-26 08:35:38 +02:00
Tomasz JankowskiandMichal Lukaszewski 973b194776 [core] Migrate DepthToSpace operator to new API (#20515)
* Move into ov namespace

* Use ov::Tensor in place of HostTensor

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-10-25 07:10:54 +02:00
Tomasz Jankowski e1a29ae96e [core] Migrate MaxPool operator to new API (#20424)
* Use API 2.0 in MaxPool v1

* Use API 2.0 in MaxPool v8

* Fix type selection

* Fix type selection

* Avoid redundant local copies
2023-10-17 13:30:18 +04:00
Tomasz Jankowski aa7405fd0e [Template plugin] Unify headers inclusion (#20326)
* Use precise op version - Parameter

* Use precise op version - Constant

* Use precise op version - Result

* Use precise op version - Add, Concat, Subtract

* Use precise op version - NMS

* Use precise op version - TopK, Broadcast

* Use precise op version

* Include openvino headers in quotes

* Use precise op version - LSTMCell

* Fix code style
2023-10-11 23:44:41 +04:00
Tomasz Jankowski 86d0bdb2db [Ref] Drop legacy API - leftovers (#20271)
* Merge opt_kernel into reference

* Remove get_default_order

* Use ov:: in jit generators

* Remove unused template function

* Add reshape parameter for consistency with Op spec

* Add brief description and such

* Remove unused param from reshape ref

* Use C++ casting
2023-10-10 03:27:22 +02:00
Tomasz Jankowski 921e621404 [Ref] Drop legacy API (#20006)
* Drop legacy API - CoordinateTransform

* Refactor AvgPool ref

* Fix zero padding indices ceil rounding

* Transpose 3D reshaped kernels

* Reuse max_pool v8 ref in v1

* Change ref::slice params validation

* Fix wrong alloc in max_pool ref

* Drop legacy from TopK

* Fix mvn ref

* Deprecate unused

* Drop ngraph from TopK op

* Remove deprecated

* Use OPENVINO_ASSERT

* Replace headers paths

* Replace headers paths

* Add missing include

* Address review comments

* Clean up

* Remove unused and duplicated code
2023-10-05 07:26:49 +04:00
Tomasz JankowskiandEvgenya Nugmanova c4adf80ec6 [Core] Move SlicePlan to Dev API (#19971)
* Move SlicePlan to Dev API

* Recover legacy API

---------

Co-authored-by: Evgenya Nugmanova <evgeniia.nugmanova@intel.com>
2023-09-21 14:41:01 +02:00
Tomasz JankowskiandRaasz, Pawel 51df17912b [Ref_Impl] Change namespace from nG to OV (#19363)
* Use quotes for openvino includes

* Drop runtime from openvino::reference

* Drop runtime::reference

* Replace ngraph::reference with ov::reference - defs

* Replace ngraph::reference with ov::reference - uses

* Drop redundant nesting

* Fix non arch64 builds

* Move coordinate*pp files under openvino

* Move Coordinate... helpers under ov:: namespace

* Revert not needed changes

* Fix missing namespace scope

* Fix compilation

* Fix code style

* Use ov suppress deprecated macro instead of ngraph

---------

Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com>
2023-09-04 08:07:06 +04:00
Tomasz Jankowski bcad953f5f [Ref_Impl] Rename file paths to openvino relative (#19284)
* Move files to new directories

* Use quotes for openvino includes

* Provide proxy calls for transition

of dependant components.

* Correct includes style

* Redo proxies

* Fix deprecated

* Move aliases to proxy files

* Apply code style
2023-08-25 06:43:06 +04:00
Tomasz Jankowski 37fb5d2736 [CPU] Handle negative indices in ScatterElementsUpdate (#18770)
* Handle negative indices in ScatterElementsUpdate

* Enable test on negative indices

* Enable onnx test on negative indices
2023-07-27 16:53:58 +00:00
1ee5b6dd3f [Tests] Add subgraph body functions comparison (#18254)
* Add subgraph body comparison

* Avoid confusing function name

* Skip failing snippet test

* Skip some ov_snippets_func_tests

* Derive comparison flags

* Skip snippet test

* Drop on bodies mismatch

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-07-26 15:59:28 +02:00
Tomasz JankowskiandMichal Lukaszewski e81bcacf33 [Ref_Impl] Add GroupNormalization-12 reference implementation (#18343)
* Add GroupNorm reference implementation

* Clean up

* Handle GroupNorm in ov namespace only

* Simplify the flow

* Add various scale and bias tests

* Fix batches case

* Add more float tests

* Set output shape

* Set output shape

* Fix missing includes

* Move to ov namespace

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-07-07 20:04:44 +02:00
Tomasz JankowskiandIvan Tikhonov 129670ab1e [Transformations] Fix Parameter name override while removing Select node (#16934)
Details:
Applies valid node replacement method which avoids Parameter name override

Tickets: 101209

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-04-14 18:36:25 +02:00
Tomasz Jankowski cb436112b2 [Transformations] Assert valid output shape on ReduceReshape fusion (#16712)
* Assert valid output shape on ReduceReshape fusion

* Remove useless test step

* Reduce tests flow

* _dummy_

to retrigger failed nonrestartable check
2023-04-06 11:55:57 +00:00
Tomasz Jankowski f7e898893d Add PRelu fusion (#16617) 2023-03-29 11:32:57 +00:00
Tomasz Jankowski 0893efe073 [Core] Assure TensorVector comparison uniqueness (#16232)
* Assure TensorVector comparison uniqueness

* Add test

* Make the flow clear
2023-03-21 16:58:34 +04:00
Tomasz Jankowski 0f9583c3cf [Transformations] Nop-eliminate 1D Reshape node (#16083)
* Nop-eliminate 1D Reshape node

* Don't eliminate checking Reshape node
2023-03-15 14:43:46 +04:00
Tomasz Jankowski 0145e538f5 TopK v11 reference implementation (#16137)
* Stabilize ascending comparison of ref impl

* Use reference to gtest param

* Create ref impl tests

* Fix descending by index sorting

* Sort by index both ways

* Make sort by index always ascending (revert)
2023-03-14 12:13:53 +00:00
Tomasz Jankowski b8348cda2e Add AbsSubMul PReLu fusion (#16086) 2023-03-06 12:56:22 +00:00
Tomasz Jankowski e8d1be6e0f [Transformations] Enable missing runtime info check (#15796)
* Add rt info propagation to StridesOptimization

* Enable rt info check for pruning tests
2023-02-23 19:14:13 +04:00
Tomasz Jankowski ed49d51ee1 [Transformations] Add Broadcast v3 nop-elimination (#15765)
* Nop-eliminate Broadcast v3

* Combine multi ops wrapper
2023-02-17 14:12:04 +01:00
Tomasz Jankowski c62be51cc1 [Transformations] Enable dynamic decomposition BTS and STB ops (#15179)
* Add dynamism for BatchToSpace conversion

* Extend dynamism for BatchToSpace conversion

Only block input needs to be const 'cse axes_order_const is freaky

* Enhace dynamism for BatchToSpace conversion

Block input need not be const now.

* Add dynamism for STB by elements conversion

* Remove const need for crops for BTS by_elements

* temp for review

* Try to fix output tensor overwrite

* Make test to reproduce invalid shape inference

* Reproduce the error with template plugin

* Fix code style

* Fix 0D inputs issue

* Remove 0D shape parts before Concat

* Apply nested namespaces

* Enable non-constant STB Block input

* Fix BTS runtime info

* Fix STB by elems runtime info

* Add dynamism for STB conversion

* Add BTS dynamic data test

* Add STB dynamic data test

* Reduce STB concats

* Add tests naming

* Edit

* style

* Consider other block element types

* Enhance type test

* Use opset10 only

* Check block shape
2023-02-14 14:45:10 +04:00
Tomasz Jankowski 988847f559 Transformation component transition to OV namespace (phase 4) (#13558)
* Use openvino pass graph_rewrite

* Replace use of ngraph::pass to ov::pass

* Remove ngraph::pass aliases

* Update after rebase

* Fix post merge conflicts

* Apply code style

* Apply code style

* Remove bypassing inclusion

* Apply code style
2023-01-25 01:02:35 +03:00
Tomasz Jankowski fc8c1a1193 [Transformations] ConvertMVN1ToMVN6: Limit downgrading downcast (#14669)
* Add anti-downgrade downcast test

* Strengthen limits test

* Allow convert if normalization is off

* Suppress downgrading for F64 only

* Limit eps values to float

* Limit eps values to float

* Add test

* Consider actual double values
2023-01-04 06:58:13 +01:00
Tomasz JankowskiandMichal Lukaszewski b9749a984d [Core] Add evaluate to CumSum core op (#14566)
* Add evaluate to CumSum core op

* Use new API

* Remove unneeded types

* Revert evaluate in template plugin

* Correct evaluete availability

* Improve code

* Add test

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2022-12-22 10:48:47 +00:00
Tomasz Jankowski d980365680 [Offline Transformations] Avoid VC warnings (#14605) 2022-12-13 14:50:54 +01:00
64391cdb3f Transformation component transition to OV namespace (phase 3) (#13653)
* Use openvino pass graph_rewrite

* Use openvino pass pattern matcher

* Remove ngraph opsets

* Remove ngraph.hpp

* Remove ngraph includes

* Remove ngraph includes

* Use transformations API

* Remove ngraph includes

* Remove ngraph rt_info

* Remove unused ngraph includes

* Replace ngraph:: scope with ov:: here and there

* Remove serialize proxy header

* Remove proxy include

* Bring back a file for vpu-plugin

* Fix after upstream merge

* Remove nested namespace conflict

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
2022-12-01 12:34:58 +01:00
Tomasz Jankowski 8ad74c17a4 Avoid Windows warnings in Transformantions (#14304)
* Avoid Windows warnings

* Don't change public API

* Enhance input shape control
2022-12-01 13:10:05 +03:00
Tomasz Jankowski c5eb25d3ea Transformation component transition to OV namespace (phase 2) (#13557) 2022-11-15 04:40:48 +03:00
5eef0298d9 Transformation component transition to OV namespace (phase 1) (#13469)
* Move GeluFusion into ov namespace

It required to move utils as well.

* Move AddFakeQuantizeFusion into ov namespace

* Move AlignEltwiseInputRanks into ov namespace

* Move BatchToSpaceFusion into ov namespace

* Move BinarizeWeights into ov namespace

* Move BroadcastElementwiseFusion into ov namespace

* Move ClampFusion into ov namespace

* Move Concats and Eliminations into ov namespace

* Move many passes and such  into ov namespace

* Move many passes and such into ov namespace

ngraph_ops
op_conversions

* Move control_flow into ov namespace

* Apply style

* Move smart_reshape into ov namespace

* Move opset_conversions into ov namespace

* Move low_precision into ov namespace

* Apply style

* Move fused_names into ov namespace

* Add missing aliases

* Move few passes into ov namespace

ConvertPrecision
FixRtInfo
InitNodeInfo

* Move CommonOptimizations into ov namespace

* Fix convert_precision conflicting namespaces

* Apply code style

* ov-nize Type Relaxed definitions

* Remove useless aliases

bulkly added by script

* Revert opsets

* Address review comments

* Remove NGRAPH_RTTI

* Clean up remains of yet another implicit inclusion

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2022-11-11 02:52:19 +03:00
Tomasz Jankowski b424ee2568 [Core] Move op_eval tests into Template plugin (#13001)
* Remove redundant tests

* Remove MatMul op_eval tests

* Remove RoiAlign, RoiPooling op_eval tests

* Move VariadicSplit op_eval tests to TemplatePlugin

* Move Transpose op_eval tests to TemplatePlugin

* Move Interpolate op_eval tests to Template Plugin

* Redo Interpolate_v4 tests

* Adopt to new exception messages
2022-10-14 07:45:28 +03:00
Tomasz Jankowski e47b8858aa Add compilation control to python test mocks (#13212) 2022-09-27 01:38:01 +04:00
Tomasz JankowskiandIlya Churaev 5a42afb45b [Core] Reduce unit test dependencies (#12932)
* Remove manifest dependency

* Use generic TEST macro

* Remove test_control dependency

* Redo Sqrt layer test

* Remove unused files

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-09-08 09:04:04 +03:00
Tomasz Jankowski 9eac5d8281 Handle corner case 1x1 with tests (#12867) 2022-09-05 16:18:12 +02:00
Tomasz Jankowski d5bba1a12a [ONNX FE] Rename OV ONNX FE tests target (#12860)
* Rename ONNX FE Test

* Join source list

* Rename clang target
2022-09-05 15:44:49 +03:00
Tomasz Jankowski 5a8f5b630b [ONNX FE] Combine ONNX FrontEnd tests (#12680)
* Move onnx_tests target dir

* Move onnx_frontend_tests target dir

* Move standalone_build target dir

* Move onnxImporterUnitTests target dir

* Combine onnx edytor tests

* Remove excessive target

* Merge onnx tests into one binary

part 1 : onnxImporterUnitTests into onnx_tests

* Merge onnx tests into one binary

part 2 : onnx_frontend_tests into onnx_tests

* Fix code style

* Update CI files

* Move onnx model test files

* Rename onnx tests target

* Avoid plurarity in target name

Rationale: Letter s and the end tells about implementation and
structure, while the purpose is singular - to validate OpenVINO ONNX
Frontend.

* Avoid loosing manifest filter flag

Issue occurred when gtest_filter was provided from command line

* Remove conflicting dependency

Linking to gtest_main (from googletest) via commonTestUtils caused
conflict while choosing main() function. OV defined in gtest_main_manifest
is prefered here as consider manifest file along with CLI arguments.

* Use proper naming
2022-08-31 17:39:21 +04:00
Tomasz Jankowski e24a5b8ac3 [ONNX FE] Extend ONNX FE for operation GenerateProposals (#12510)
* Create ONNX FrontEnd GenerateProposals op

* Add onnx GP Op validation

* Add batch 2 test

* Improve code readability

.. per review comments

* Fix test model paths

* Use heterogeneous test values
2022-08-18 09:26:48 +00:00
Tomasz Jankowski bf2bd624b6 Limit ONNX version (#11949)
OV does not currently support opset 17 introduced in onnx 1.12 release.
2022-06-22 22:26:47 +02:00
Tomasz Jankowski c8ced8728e [Core] Fix GridSample assertion (#11924)
* Fix GridSample assertion

* Avoid ONNX opset 17 backend tests
2022-06-21 23:28:21 +02:00
Tomasz Jankowski f8c4e736b4 [Core] GridSample operator reference implementation (#11841) 2022-06-16 08:47:29 +02:00
Tomasz Jankowski 70e9cc0ce8 Enable ConvertNegative in MOC (#11720) 2022-05-27 13:37:35 +02:00
Tomasz Jankowski a61902fc7c Disable ONNX UT on Mac (#11685) 2022-05-17 16:15:26 +02:00
Tomasz Jankowski e0e916b557 [ONNX] Extract onnx frontend tests from ov core unit tests (#11535) 2022-05-06 11:21:55 +02:00
Tomasz Jankowski 0babf20bd2 Remove unsued map initialization (#11621)
Details:
- Unused variable removed.
- Added pytest markers declaration to avoid useless warnings.
Tickets:
70158
2022-05-05 00:50:34 +02:00
Tomasz Jankowski dcfaf424a0 [ONNX FE] Add support for partial shapes with boundaries (#9321) 2021-12-21 16:38:15 +01:00
Tomasz Jankowski cfdc4c1f3d Avoid redundant graph nodes scans (#8415) 2021-11-10 14:50:58 +01:00
Tomasz Jankowski de4ceba375 [ONNX FE] Add implementation of Frontend API methods for naming and annotation (#8026) 2021-11-02 09:35:04 +01: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
Tomasz Jankowski bd89f78661 [ONNX FE] Enable Place classes r-value optimization (#7485) 2021-09-15 12:42:14 +03:00
Tomasz Jankowski e1226cc814 [ONNX] Gather 8 (#7185) 2021-08-26 10:08:22 +02:00
Tomasz Jankowski d9b6c43201 [ONNX] Fix fp16 Tensor data loading (#6338) 2021-06-28 16:05:54 +02:00
Tomasz Jankowski b1db3448e7 [ONNX] Extend ONNX Importer for operation "Einsum" (#6074) 2021-06-16 14:57:29 +02:00
Tomasz Jankowski 636986be3f [ONNX] Add dynamism to Conv bias input (#4835) 2021-03-19 14:19:32 +01:00
Tomasz Jankowski 063a296842 [ONNX] Add support for Upsample opset1 (#4678) 2021-03-16 10:30:41 +01:00
Tomasz Jankowski be614035d1 [ONNX] Fix unidirectional broadcast Add, Div, Mul, Sub v6 (#4462)
* Fix uni broadcast add_v6 op

* Add exception for dynamic rank

* Correct axes mapping in Div, Sub, Mul

It commonizes the approach from Add operator.

* Add unit tests to Div, Sub, Mul v6 ops

* Apply constness

* Improve add_v6 unit test readability

* Correct style

* Remove useless or redundant includes
2021-03-01 19:40:44 +03:00
Tomasz Jankowski 5e17926604 [ONNX Editor] Add initializers for model inputs (#4025) 2021-02-16 14:12:27 +01:00
Tomasz Jankowski b800f08c0c [ONNX] Remove linking libonnx from unit-test (#4298)
* Remove linking libonnx from unit-test

* Consider all flavors of protobuf libraries

* Avoid passing on NOTFOUND properties

* Set system deps for mac

* Revert include dirs set up
2021-02-15 07:35:03 +03:00
Tomasz Jankowski cc000e57e0 Enable GatherElements tests on IE_CPU (#4044) 2021-02-02 12:59:44 +01:00
Tomasz Jankowski 35384a63a6 [nGraph][ONNX] Extend ONNX Importer for operation "GatherElements-6" (#3822) 2021-01-19 14:42:24 +01:00
Tomasz Jankowski c36aaf8621 nGraph: Fix TopK output sorting by index (#3092) 2020-11-18 14:14:33 +01:00
Tomasz Jankowski 2966910dac nGraph: fix TopK output shape inference (#2967)
* nGraph: Fix TopK output shape inference

* nGraph: Correct TopK output shape inference

TopK lower bound of output shape at the axis was mistakenly calculated
basing on max_lenght instead of min_lenght.

* nGraph: Correct TopK output shape inference

* nGraph: Correct TopK type prop test

The topk_negative_axis_support type properties test was comparing
incompatible variables carrying the same value. So it was passing ok.

* nGraph: Add TopK type prop test

* nGraph: Fix code style

* nGraph: Follow review guidelines

Improve variables meaning.
Enforce rigid test pass condition.

* nGraph: Remove magic numbers
2020-11-13 17:10:42 +03:00
Tomasz Jankowski 2d9a47127d refactor one-hot nGraph backend test (#2578) 2020-11-02 10:12:39 +01:00
Tomasz Jankowski 1b94682f86 Avoid verbose return-type warnings (#2420) 2020-11-02 10:11:35 +01:00
Tomasz Jankowski 1550e94156 nGraph backend tests refactor: gather, numeric (#2367) 2020-11-02 10:10:25 +01:00
Tomasz Jankowski 8dcff4a741 fix move assignment operator of Shape class (#2280) 2020-09-18 11:19:12 +03:00