Commit Graph
261 Commits
Author SHA1 Message Date
Ilya Churaev fa50e35bb8 Extended error messages (#13647) 2022-10-28 15:14:23 +04:00
Bartek Szmelczynski 464e0aae72 Support Unsqueeze-13, Squeeze-13 in MO (#13391) 2022-10-28 13:01:21 +02:00
4ec5499c5d [FrontEnd] add control flow, basic tensor array support for paddle faster_rcnn model (#10684)
* support control flow, tensor array

* fix clang error

* support ppdet2.3 model

* 1. code clean; 2. more comments inlined.

* fix after clone ov::Model no more in need.

* support dynamic shape; more comments

* only process same rank

* remove unused function

* simplify the loop logic

* fix review comments

* support shape{1} {}

* disable FoldSubgraphEmptyInputs because loop in loop

* fix review comments

* remove scalar{}->shape{1} testcase

* allow re-infer shape when backedge changes input shape

* fix condition shape to {1}

* support output rank is not same or dynamic

* fix refactor error

* apply review comments

* fix win warnings

* remove TransformEliminateConvert

Co-authored-by: jialipen <cecilia.peng@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-10-27 18:36:24 +03:00
Oleg Pipikin ad1c824e50 Eliminate reader tests (#13409)
* remove reader tests #1

* remove reader tests #2

* remove reader tests #3

* remove reader tests #4

* Add clone_with_new_inputs to visitor tests

* fixes
2022-10-27 14:42:23 +03:00
Mateusz Tabaka 154850e8ca Eliminate dequantization shift when zero point == 0 (#13353)
Ticket: 91111
2022-10-27 01:37:13 +02:00
Bartek Szmelczynski bdc037adcf Add IsFinite operator (#13441) 2022-10-26 13:24:01 +02:00
Roman Kazantsev 9cd5c8b362 [TF FE] Add translators for IsInf and IsNan and test it (#13606)
* [TF FE] Add translators for IsInf and IsNan and test it

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Add changes in tf_utils

* Apply code-review: add xfail and use of unary op

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-26 09:03:17 +03:00
Mateusz Bencer 6791338710 [ONNX FE] Handle Pad value if non-scalar value provided (#13611) 2022-10-25 21:56:30 +03:00
Ilya Churaev 2a344b66cb Update to the latest cmake for Windows (#13604)
* Update to the latest cmake for Windows

* Skip new warnings

* Added compiler flags for old cmake

* Disabled some warnings

* Suppress new warnings

* Fixed some errors

* Disable some warning for lpt

* Fix some warnings

* Disable new warnings

* Fix some warnings

* Disabled Was error for arm

* Fixed some errors

* Fixed some new warnings

* Fixed auto plugin

* Fixed Windows warning

* Fixed Windows

* Disable some warnings

* Some changes

* Small test fixes

* Fixed python build

* Added skip warnings for legacy python API
2022-10-25 18:11:46 +04:00
Tomasz Dołbniak f8a80b6146 Disabled test re-enabled (#13624) 2022-10-25 06:14:22 +00:00
Georgy Krivoruchko 94c40d6a82 [TF][FE] Fixed wrong output naming in AvgPool (#13575) 2022-10-24 16:50:51 +04:00
Ilya ChuraevandJan Iwaszkiewicz 5e25341904 Added reading of meta information from IR (#12925)
* Added reading of meta information from IR

* Fixed code style

* Added tests to cover multi-threading and removed file

* Fixed asserts

* Changed parsing of meta information

* Added meta information serialization

* Fixed unit tests

* Support unset_cli_parameters

* Changed get meta API

* Fixed threading tests

* Fixed mutex

* Removed serialization

* Fixed tests

* Fixed build

* Add quantization_parameters

* Use rt_info instead of meta section

* Disable old rt_info serialization

* Try to fix MO Reader for new rt info

* Fixed property name

* Added test to new meta format

* Added tests for new PoT config

* Added tests for new rt_info attributes

* Remove redundant code

* Revert old rt_info style for nodes

* Add get API for python

* Added python tests

* Fixed python code style

* Fixed tests code style

* Fix flake8

* Fixed python tests

* Add has_rt_info to test

* Added more comments

* Extended tests and API

* Changed error message

* Use new API to get model version

* Fixed comments on python API

* Fixed comments

* Fixed comments

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Fixed comments

* Fixed python check

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-10-21 12:21:41 +04:00
Mateusz Mikolajczyk ffc74c8fe2 IsInf operator (#13383) 2022-10-20 20:59:01 +03:00
Roman Kazantsev 22f3bee0f9 [TF FE] Refactor translation for Concat and ConcatV2 operations and add tests (#13542)
* [TF FE] Refactor translation for Concat and ConcatV2 operations and add tests

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* [TF FE] Correct the layer tests for passing

* Apply code-review feedback: remove redundant function

* Fix a name of function to create Concat model in the layer test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-20 16:01:31 +02:00
Mateusz Bencer 88ffc23e3a Added README for ONNX Frontend (#13325) 2022-10-20 15:54:25 +02:00
Mateusz Bencer d3d8fd8c20 [ONNX FE] Added support of FusedConv op (#13553) 2022-10-20 09:18:24 +02:00
taixiurong 2d8cf904c8 support paddle elementwise_floordiv (#13059) 2022-10-20 05:59:01 +00:00
Roman Kazantsev 5a3df29854 [TF FE] Refactor DepthToSpace and test it (#13544)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-20 01:35:25 +03:00
Leonard Sikorski e2b0313785 IsNaN operator (#13369) 2022-10-19 12:20:26 +02:00
71779765fb [TF FE] Add developer documentation for TensorFlow frontend (#13505)
* [TF FE] Remove export API for helper transformation

Also, it skips layer tests for SegmentSum and DynamicPartition in case legacy frontend

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Split test suites for DynamicPartition

* [TF FE] Add developer documentation for TensorFlow Frontend

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Revert "[TF FE] Remove export API for helper transformation"

This reverts commit 249a7d62ab.

* Fix UTF encoding issue

* Update src/frontends/tensorflow/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/contribute.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Fix broken links

* Put links to code snippets

* Correct names of frontends

* Add diagram using mermaid into the main page

* Add diagrams in mermaid for the architecture

* Remove png files

* Update src/frontends/tensorflow/README.md

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

* Apply code-review feedback: links in the diagram, redundancy in the test

* Replace code snippets with links to ov master repo

* Apply feedback: correct TF FE purpose and diagram

* Mention MatcherPass documentation and OV Core operations

* Update src/frontends/tensorflow/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/support_new_op.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/support_new_op.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/support_new_op.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/support_new_op.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/support_new_op.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/tensorflow/README.md

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

* Update src/frontends/tensorflow/README.md

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

* Correct unit test spelling

* Remove code-style reference

* Move architecture content to README.md

* Move all sub-docs into README.md

* Fix a link to the test coverage

* Fix a link to the legacy TF FE

* Correct the main diagram

* Clarify who should use the frontend directly

* Move the added sentence to the beginning

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
2022-10-19 12:36:24 +03:00
7f3c95c161 Meiyang/paddle 2.3 (#13272)
* Migrate to PDPD 2.3

* update supported paddle version to 2.3.2

* update paddle test with paddle new static API on 2.3.2

* fix issue of different output shape with paddle's

* fix clang format issue

* fix compiling issue

* integrate paddle static save model api to original save model api

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
2022-10-18 11:14:03 +04:00
Ilya Churaev 0f3621ec9b Removed global opset mutex (#13501)
* Removed global opset mutex

* Fixed compilation

* Fixed IR frontend
2022-10-18 07:28:43 +04:00
Roman Kazantsev 3b642e2465 [TF FE] Remove export of API for helper transformations (#13484)
* [TF FE] Remove export API for helper transformation

Also, it skips layer tests for SegmentSum and DynamicPartition in case legacy frontend

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Split test suites for DynamicPartition

* Update CMake to link additional sources for the tests

* Update Cmake to fix unresolved symbol get_message_prefix_tf

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-14 12:17:16 +03:00
Oleg Pipikin c8050d017b Disable IRFrontendTests.elementary_model_reading_v9 (#13471) 2022-10-14 09:24:11 +03:00
Roman Kazantsev b08fa945bc [TF FE] Support Unique operation via transformation (#13463)
* [TF FE] Support Unique operation via transformation

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Fix other part: place header for UniqueReplacer and test name

* Remove redundant included headers in the transformation test

* Add one more case in the transformation test

* Implement the right way for mapping tensor names

* Apply code-review: rename out_idx, add check for 1D

* Fix unique_replacer test

* Fix typo in the test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Add FunctionsComparator CmpValues ACCURACY to the test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-13 21:34:29 +03:00
Ilya ChuraevandTatiana Savina b0fadcebd6 Update information about tests for IR frontend (#13465)
* Update information about tests for IR frontend

* Fixed typos

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/tests.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2022-10-13 15:31:57 +04:00
Oleg PipikinandIlya Churaev 11579530b7 Add IR frontend tests (#13178)
* Add IR frontend tests

* Fix comments

* Add tests

* Fix comments 1

* Fix comments 2

* fix comments 3

* fix code style

* Fix comments 4

* Fix comments 5

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-10-12 13:31:58 +04:00
Ilya Lavrenov c2911adf94 Conda-forge fixes (#13392) 2022-10-12 12:16:13 +04:00
Ivan Tikhonov 8a9890dbf1 [TF FE] Support DynamicStitch operation (#13408)
* Delete unneccessary changes

* codestyle

* skip dynamic stitch layer tests for legacy frontend

* apply review comments

* fix unit tests, apply review comments
2022-10-12 08:04:19 +04:00
Ilya Churaev b2e35592f7 Fixed comments after PR 13366 (#13389) 2022-10-11 13:07:18 +04:00
Roman Kazantsev 589c95ec19 [TF FE] Support DynamicPartition operation (#13363)
* [TF FE] Support DynamicPartition operation

Add support for DynamicPartition operation and validate it with the layer tests

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Add implementation

* Rescale partition indices to provide stable sorting

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-10 17:52:55 +04:00
Asthestarsfalllandcecilia peng 94ef65f0bd add paddle elementwise mod op (#12370)
Co-authored-by: cecilia peng <cecilia.peng@intel.com>
2022-10-10 11:03:09 +03:00
Ilya ChuraevandIlya Lavrenov a8abfa221b Fixed small comments after enabling warning as error (#13364)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-10-07 19:40:26 +04:00
Ilya ChuraevandTatiana Savina 767944cc46 Changed structure of core components and fixed links (#13366)
* Changed structure and fixed links

* Exclude README.md from CI check

* Update README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Fixed links

* Update src/frontends/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/plugins/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2022-10-07 19:04:55 +04:00
Roman Kazantsev f5febef8a6 [TF FE] Support SegmentSum operation (#13354)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-07 17:01:14 +03:00
Ilya ChuraevandTatiana Savina 6e9689db93 Add ir frontend doc (#13351)
* Added IR frontend doc

* Update README.md

* Create support_new_opset.md

* Create architecture.md

* Update README.md

* Update support_new_opset.md

* Update architecture.md

* Update README.md

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/README.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/support_new_opset.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/support_new_opset.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/support_new_opset.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update README.md

* Update architecture.md

* Update src/frontends/ir/docs/support_new_opset.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/support_new_opset.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update src/frontends/ir/docs/architecture.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2022-10-06 16:31:25 +04:00
Ilya Churaev 8a9c19e3eb Warning as error for Windows (#13291)
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400

Fixed warnings on local machine

* Added CMAKE_COMPILE_WARNING_AS_ERROR usage

* Fixed style

* Fixed merge conflicts

* Fixed typo

* Fixed myriad build for macOS

* Fixed warning

* Fixed tests

* Disabled incorrect test

* Try to fix linux tests

* Revert "Try to fix linux tests"

This reverts commit 29224c93ff.

* Fixed tests

* Revert logic with incorrect cast

* Fixed log softmax

* Disable warning as error for cuda

* Try to fix inference_engine_s

* Fixed cmake

* Revert "Fixed cmake"

This reverts commit 87e9e4e674.

* Revert "Try to fix inference_engine_s"

This reverts commit a1adca8b05.

* WA for static symbols in inference_engine_s test library

* Fixed code style

* Fixed static definition for master

* Revert "Fixed static definition for master"

This reverts commit 20d00d215a.

* Revert "Fixed code style"

This reverts commit 0eb2362543.

* Revert "WA for static symbols in inference_engine_s test library"

This reverts commit 75ef86a79d.

* Fixed linker issue for Windows

* Disable WaE by default

* Disable warning as error in the developer package

* Try to fix dev package

* Try to fix Windows Jenkins

* Revert old behavior for tread_warn_as_err variable
2022-10-06 13:44:21 +04:00
Roman Kazantsev fa3c745263 [TF FE] Support DeepSpeech model by TF FE (#13316)
* [TF FE] Support DeepSpeech model by TF FE

Add the final part to support BlockLSTM operation with sliced state cell
from the last time step.

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Apply code-review feedback: use get_pattern_map, no nullptr

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-05 06:00:33 +03:00
sheng.gui@intel.com 6e7016ccda [ONNX FE] Fix issues of com.microsoft.EmbedLayerNormalization (#13034)
1. Add implement of EmbedLayerNormalization which seq_len != pos_embed_len
2. Align EmbedLayerNormalization implement in OpenVINO with ONNX-Runtime
2022-09-30 04:21:34 +02:00
Netpunkandcecilia peng fbd53ec857 add paddle op ceil (#12368)
Co-authored-by: cecilia peng <cecilia.peng@intel.com>
2022-09-29 10:46:21 +03:00
Mateusz Tabaka da0cb0b589 [ONNX] use stoull to fetch length and offset to external data (#13186)
Ticket: 92373
2022-09-27 04:45:00 +02:00
Roman Kazantsev 8406983849 [TF FE] Support GRUBlockCell (#13202)
* [TF FE] Support GRUBlockCell

Currently, we support only hidden state output from GRUBlockCell due to
OpenVINO GRUCell capability

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Fix code-style issue

* Return Softsign translator

* Add tests for GRUBlockCellReplacer

* Fix issue for bias in GRUBlockCellReplacer

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-27 01:30:55 +03:00
Ilya Lavrenov 12f1e95c3d Improvements for OSX build (#13201)
* Hide some helper variables as internal ones

* Added an ability to test private API for TF FE

* OSX improvements

* Fixed project generation for xcode
2022-09-26 07:48:41 +04:00
Roman Kazantsev 8daae561da [TF FE] Add a translator for Softsign (#13195)
* [TF FE] Add a translator for Softsign

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Apply code-style

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-25 22:56:00 +04:00
Roman Kazantsev d192c1341e [TF FE] Support BlockLSTM operation (#13170)
* [TF FE] Support BlockLSTM operation

Due to restrictions of LSTMSequence, currently we support
only concatenated hidden states from all time steps

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Apply feedback: opset9 use, remove redundant code, preserve tensor name

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Apply feedback: check for dynamic dimension, non-nullptr for decoder use

* Copy run-time info using NodeRegistry

* Prepare test placeholder for internal transformations and operations

Clean-up includes

* Implement unit-tests for BlockLSTMToLSTMSequenceOneOutput transformation

* Apply code-style changes

* Fix computation of hidden_size

* Fix output tensor name

* Revert incorrect changes

* Fix a type of hidden_size in tests

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-25 22:53:54 +04:00
Ilya Lavrenov 5c4564c214 Tensorflow func tests (#13198)
* Added auto-detect for SHUTDOWN_PROTOBUF option

* Hide some helper variables as internal ones

* Update frontends cmake files not to include tests folders

* Added an ability to test private API for TF FE

* Added an ability to test private API for TF FE

* Improved mock frontends in python tests

* Fixed compilation error

* Fixed link on WIndows
2022-09-25 16:54:26 +04:00
Mateusz Tabaka a850c8baee [ONNX] propagate model directory path to Graph, Attribute and Tensor … (#13010)
Required by external data mechanism in ONNX standard, where Tensor object has
to be able to find external data file based on the location field and model
directory path. Previously, it was done by a transformation, but it handled
initializers only, but in order to handle Constant nodes we need one more
loop, but over all of the model's nodes. Propagating model directory path to
Tensor allows us to reduce that overhead.

Ticket: 91271
2022-09-16 06:48:33 +02:00
5e977fc470 【PaddlePaddle Hackathon 3】Add Paddle where_index operator (#12437)
* add paddle where_index op

* add more test cases

* add more test cases

* add more test cases and support boolen

* fix clang format

* use paddle.nonzero instead of LayerHelper

* remove opset6

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

Co-authored-by: cecilia peng <cecilia.peng@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-09-16 03:57:02 +03:00
Roman Kazantsev 2d6528c75f [Frontend, TF FE] Fix RTTI for ConversionExtension on MacOS (#13038)
* [Frontend, TF FE] Fix RTTI for ConversionExtension on MacOS

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Put only destructor into cpp

* Remove extra white-space

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-15 20:43:06 +03:00
Roman Kazantsev ecc729973c [TF FE] Add translators for CTCGreedyDecoder and CTCLoss operations (#13029)
* [TF FE] Add translators for CTCGreedyDecoder and CTCLoss operations

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Remove unused variables

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-15 16:45:16 +03:00