Commit Graph

785 Commits

Author SHA1 Message Date
Ilya Churaev be86ec51ab
Renamed frontends from *ov_frontend to ov_*_frontend (#9275)
* Renamed frontends from *ov_frontend to ov_*_frontend

* Fixed MO

* Fixed include
2021-12-18 13:25:42 +03:00
Pavel Esir ba4802554e
[MO] Azure CI, unit-test dirs and howto doc fixes (#9146)
* Azure CI fixes for MO

* leftover: update imports in docs

* moved unit-tests from extensions/ into mo/
2021-12-17 15:56:40 +03:00
Steve Yoo bd2e3de295
Create LSTMCell-1 (#9073) 2021-12-16 17:48:10 +03:00
Vitaliy Urusovskij 2db19e6bf7
Fix c4146 warning: unary minus operator on unsigned type (#9153) 2021-12-16 13:13:05 +03:00
Mateusz Tabaka 40f668140e
Fix compilation error in template_plugin tests (#9248) 2021-12-16 01:52:26 +03:00
Steve Yoo d9ecb108f1 Create Einsum-7 (#8982) 2021-12-15 21:46:10 +03:00
Steve Yoo 93698483b5
Migrate ExtractImagePatches-3 (#8981) 2021-12-15 21:45:18 +03:00
Steve Yoo 2619269496
Create TopK-3 (#9106) 2021-12-15 21:42:24 +03:00
Ilya Lavrenov e6d08aef5b
Don't use EXCLUDE_FROM_ALL with samples targets (#9237) 2021-12-15 21:21:46 +03:00
Ilya Churaev e8d5cf43d0
Move ie tests (#9161)
* Moved inference engine tests

* Fixed cmake

* Fixed paths

* Try to fix build

* Try to fix fluid tests

* Try to fix CI

* One more fix

* New issue

* Additional fix

* Disable Wall for tests

* Fixed old unit tests

* Revert "Disable Wall for tests"

This reverts commit 8b6e058f59.

* Fixed some tests

* Fixed master build

* Fix build

* Fixed some warning

* Fixed merge conflicts

* Try to fix LTO
2021-12-15 08:50:56 +03:00
Mateusz Tabaka 0e4c50e24d
[MO] Move reverse input channels before mean/scale (#9182) 2021-12-15 00:41:21 +03:00
Vitaliy Urusovskij 60e71e531b
Extend Tile test with different ops types (#8804) 2021-12-13 12:53:08 +03:00
Ilya Churaev 4f62a48077
Remove ngraph backends (#9162) 2021-12-13 00:04:56 +03:00
Steve Yoo 29715672fd
Remove unused header files in GatherTree-1 (#9141) 2021-12-12 00:18:33 +03:00
Ilya Churaev 37b0b6f7c8
Renamed ExecutableNetwork to CompiledModel (#9144)
* Renamed ExecutableNetwork to CompiledModel

* Fixed python

* Fixed comments

* Fixed build

* Fixed code style
2021-12-11 16:11:15 +03:00
Ilya Churaev ec6f57872f
Renamed ov::Function to ov::Model (#9051)
* Renamed ov::Function to ov::Model

* Fixed all for macos

* Fixed build

* Fixed build

* Revert changes in GPU plugin

* Fixed ngraphFunctions

* Fixed all for mac

* Fixed new test

* Fixed if for Windows

* Fixed unit tests and renamed Function in python API

* Fixed code style

* Fixed import

* Fixed conflict

* Fixed merge issues
2021-12-10 13:08:38 +03:00
Steve Yoo a2f93f069d
Create Gather-8 (#8953) 2021-12-10 11:59:52 +03:00
Anton Pankratov 576471cc27
Any used to store standard types (#8946) 2021-12-09 17:19:18 +03:00
Ilya Lavrenov 02e7706776
Merged ngraph & core components (#9101) 2021-12-09 15:38:44 +03:00
Steve Yoo d3cf7b92d0
Create GatherTree-1 (#8995) 2021-12-09 09:26:43 +03:00
Wilson Seok 9faf661250
Add slt in template plugin/experimental detectron grid generator (#8923)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of ExperimentalDetectronPriorGridGenerator

* implement actual_comparision_size for compare

* update slt for actual comparison size and add visitor api test

* fixed clang error
2021-12-08 19:07:40 +03:00
Svetlana Dolinina 672565a8ed
deprecate mean_file option in Caffe (#8707)
* deprecate mean_file option

* add deprecation warning even if error happens

* removed Suppress for now deprecated options

* review fixes

* added dot
2021-12-08 17:38:46 +03:00
Sergey Lyubimtsev 01236619b5
Update TPP files for wheels (#8935)
* Update TPP files for wheels

* Remove myriad plugin and update `openvino` package description

* Update for product names
2021-12-08 12:50:30 +03:00
Pavel Esir 980904c9ec
[MO] Align MO namespaces (#7708)
* Moved and merged mo/ and extensions/ into openvino/tools/mo

* edited imports

* edited docs to use mo script from entry_point

* edited MO transformations list loading and setup.py

* changed full path -> 'mo' entry point in docs (leftovers)

* corrected package_BOM

* updated resolving --transformation_config in cli_parser.py

* pkgutil-style __init__.py, added summarize_graph into entry points

* updated DOCs for the new --transformations_config

* fix select

* updated install instructions, fixed setup.py for windows and python_version < 3.8

* fixed typo in requirements.txt

* resolved conflicts

* removed creating custom __init__.py from setup.py

* corrected folder with caffe proto

* corrected loading user defined extensions

* fix openvino.tools.mo import in serialize.py

* corrected layer tests for new namespace

* fix in get_testdata.py

* moved model-optimizer into tools/

* renamed import in POT

* corrected mo.yml

* correct CMakeLists.txt for the newest tools/mo

* corrected find_ie_version.py

* docs and openvino-dev setup.py update for the newest tools/mo

* miscellaneous leftovers and fixes

* corrected CI files, pybind11_add_module in CMakeLists.txt and use of tools/mo path instead of tools/model_optimizer

* add_subdirectory pybind11 for tools/mo

* POT path fix

* updated setupvars.sh setupvars.bat

* Revert "updated setupvars.sh setupvars.bat"

This reverts commit c011142340.

* removed model-optimizer env variables from setupvars

* updated CMakeLists.txt to pack MO properly with tests component

* corrected left imports, corrected loading requirements for layer tests

* mo doc typo correction

* minor corrections in docs; removed summarize_graph from entry_points

* get_started_windows.md, MonoDepth_how_to.md corrections, mo path corrections
2021-12-08 08:53:53 +03:00
Ilya Churaev d502208f6e
Remove ngraph options (#9016)
* Renamed options

* Fixed configs

* Renamed unit tests

* Fixed cmake generation

* Fixed comments

* Fixed comments
2021-12-08 08:17:31 +03:00
Mikhail Nosov 20bf5fcc4a
Rename "network" to "model" in preprocessing API (#9054) 2021-12-07 19:26:27 +03:00
Mikhail Nosov 70b5e28979
[OV20] InputTensorInfo::set_shape (#9059)
* InputTensorInfo::set_shape

* Fix clang-format
2021-12-07 19:13:38 +03:00
Mikhail Nosov 92bdddbfc9
Fix for reverse-input-channels - semi-dynamic case (#8936)
In case of partially-dynamic shape, e.g. {?,3,?,?} shape inference
for gathering channels and reverse operations can't infer final shape to {?,3,?,?} and it becomes {?,?,?,?}

Added 'static' version of reverse-channels to preserve output shape for such cases
It can be changed in future if operations will be able to calculate shape on 'validate' phase
2021-12-07 16:39:24 +03:00
Anton Pankratov 9a5b911856
Variant replaced with Runtime Attribute (#8520) 2021-12-07 13:02:31 +03:00
Roman Kazantsev 42892767f5
[MO, nGraph, transforms., ref., python] Support DetectionOutput-8 (#8853)
* Implement MO part for DetectionOutput-8

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

* Implement nGraph part for DetectionOutput-8

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

* Implement deduction of a number of classes method

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

* Fix build

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

* Implement nGraph tests to check shape inference for DetectionOutput-8 with deduction of num_classes

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

* Implement attributes tests for DetectionOutput-8

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

* Remove DetectionOutput-1 from opset8

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

* Add python bindings for DetectionOutput-8 and tests

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

* Implement downgrading and upgrading transformations for DetectionOutput

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

* Implement tests for downgrading and upgrading transformations for DetectionOutput

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

* Adopt existing reference for DetectionOutput-8

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

* Fix DetectionOutput-8 reference

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

* Add tests for DetectionOutput-8 reference

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

* Finish resolving merge conflict

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

* Fix python bindings after re-structuring

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

* Fix BOM package list

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

* Fix multibox_detection_test

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

* Fix python bindings for DetectionOutput-8

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

* Insert blank line between summary and description for python binding

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

* Apply review comments: identation, for loop

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

* Fix formatting in python bindings

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

* Fix supported_attrs for DetectionOutput from opset1

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

* Add missed imports for python if_op

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

* Apply feedback and fix Win build

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

* Use the same test suite name for test mixture

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

* Fix transformation tests

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

* Recover BWDCMP_RTTI for legacy use and remove unused variables in tests

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

* Remove unused variables in type_prop tests

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

* Recover legacy referenceDetectionOutput constructor

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

* Fix python binding for DetectionOutput

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-07 01:17:49 +03:00
Mikhail Ryzhov 40691e9cc5
[GNA] Renamed plugin and moved it to new place (#8944)
* Renamed plugin

* Changed plugin source dir

* Fixed tests

* Renamed ENABLE_GNA to ENABLE_INTEL_GNA

* Fixed centos compile error

* One more renaming place

* HF for centos 7

* renamed the name in version api

* Fixed CI configurations

* Disabled GNA plugin for old gcc (<=5.4)

* Fixed Azure Win job
2021-12-06 13:00:35 +03:00
Roman Kazantsev dcf5be9838
Specify DetectionOutput-8 operation (#8704)
* Specify DetectionOutput-8 operation

The delta is small where we just remove num_classes attribute to support OD models out of the box

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

* Remove a link to DetectionOutput-1 from opset-8

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

* Update a list in ie_docs.xml

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-06 11:08:50 +03:00
Vladimir Dudnik 355fdeec55
rm C/C++ object_detection_sample_ssd (#9020)
* rm C/C++ object_detection_sample_ssd

* fix link
2021-12-06 10:38:40 +03:00
Wang, Yang 83a7d9bda3
[AUTO Plugin] Rename Multi plugin to ov_multi_plugin and move the src files to new (#8885)
place.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2021-12-06 05:58:05 +03:00
Vladimir Dudnik 642bd07ffa
rm python style_transfer_sample (#8881) 2021-12-05 18:00:11 +03:00
Vladimir Dudnik 89282e3f36
remove C++ style_transfer_sample, brings nothing new to educate OV2.0 API (#8906) 2021-12-04 15:51:54 +03:00
Vladimir Paramuzov 0f667b90ff
[GPU] Renamed GPU plugin to ov_intel_gpu_plugin (#8957) 2021-12-02 11:06:00 +03:00
Vladimir Dudnik bc8fbf530b
rm python object_detection_sample_ssd (#8880)
* remove python object_detection_sample_ssd

* rm refs to deleted python sample
2021-12-02 09:51:36 +03:00
Irina Efode 1cd8156d3d
[IE TEMPLATE] Fix operation set in QueryNetwork (#8824)
* [IE TEMPLATE] Fix opeartion set in QueryNetwork

* Apply review comments

* Prepare for review

* Return extra removed

* code style

* Update template_plugin.cpp

* Code style
2021-11-30 23:28:59 +03:00
Ilya Lavrenov 1b0ff2979c
Small fixes in extensions docs (#8934) 2021-11-30 22:13:49 +03:00
Vladimir Paramuzov 9b97619687
[GPU] Move plugin to new source dir (#8890) 2021-11-30 17:26:09 +03:00
Mikhail Nosov e2172cd38a
[OV2.0] Preprocessing api cleanup (#8898)
* Removed 'inline' Preprocessing API

Even though this API provided a way to specify all pre/post-processing in one line - it was considered inconvinient
With 'getters' API preprocessing code looks more clear for user, so old' inline' API is removed

* Fix pyopenvino build issues

* Update after merged PR#8717
2021-11-30 12:30:13 +03:00
Maxim Vafin e4b5c54006
Automatically detect --disable_nhwc_to_nchw option in MO (#8450)
Clean code

Fix Result runtime info

Fix documentation

Fix documentation

Apply suggestions from code review

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

Update docs/MO_DG/prepare_model/customize_model_optimizer/Customize_Model_Optimizer.md

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

Apply review feedback

Apply review feedback

Apply review feedback
2021-11-29 19:58:43 +03:00
Ilya Churaev 7678ab2b18
Move hetero plugin (#8872) 2021-11-29 14:05:08 +03:00
Bo Liu 25b2131d21
priorbox_8 ngraph and inference-engine parts (#8114)
* ngraph and inference-engine parts

* add priorbox_8 python api

* remove 'PriorBoxAttrs' and 'PriorBox' from outside of opset namespace

* add common nGraph transformation 'ConvertPriorBox8To0'

* remove redundant alias of PriorBox::Attributes

* use new Tensor api for evaluate method

* change v0operation back to the former api, pass Attribute structure to the reference implement

* use new Tensor api for constant_fold

* add support for dynamic shapes of constant_fold new Tensor api

* fix Node 'create temp tensors' issue when shape==0'

* revert to 'HostTensor' api for PriorBox8

* Apply suggestions from code review and 'template_plugin reference' testcase replaced 'backend INTERPRETER' testcase

* transformation part Apply suggestions from code review

* python init file updated for opset8

* keep backward compatibility to fix CI issue

* rebase to new structure of OpenVINO repo

* revert 'thirdparty/onednn_gpu' mistake changes
2021-11-29 07:28:49 +03:00
Ilya Churaev 07651aa5c0
Fixed some inference-engine paths (#8878) 2021-11-29 07:17:36 +03:00
Ilya Churaev 77f6a0076b
Move core components (#8869)
* Moved openvino to src

* Moved ngraph and frontends to src

* Fixed cmake generation

* Moved inference_engine libs to src

* Moved C API to src

* Fixed CMake generation

* Moved readers to tests, snippets and preprocessing to common

* Fixed CMake

* Moved transformations and lp_transformations

* Fixed transformations cmake

* Fixed build

* Fixed unit-tests and ci paths

* Fixed docs

* Fixed C API build

* Try to fix static build

* More clear order

* Renamed inference_engine_legacy_api to legacy

* Fixed some cmake scripts

* Fixed path to legacy

* Fixed Myriad plugin

* Fixed v7 reader

* Fixed plugin.hpp

* Fixed developer config

* Fixed ie_parallel
2021-11-27 18:53:12 +03:00
Ilya Churaev b1fba3a675
Rename runtime to src (#8842)
* Renamed runtime to src

* Removed old paths

* Fixed cmake

* Fixed doc
2021-11-27 11:28:25 +03:00
Steve Yoo 42f5034892
Migrate Sort (MatrixNms-8, MulticlassNms-8, NonMaxSuppression-5) (#8394)
* Migrate Sort (MatrixNms-8, MulticlassNms-8, NonMaxSuppression-5)

* Add right multiclass_nms.cpp

* Add struct Attributes to matrix_nms

* Add constructors to opset8::MatrixNms::Attributes

* Fix code format of opset8::MatrixNms::Attributes::Attributes
2021-11-26 22:35:43 +03:00
Anton Pankratov bd3e4fbe78
Added openvino any (#8288) 2021-11-26 12:23:25 +03:00