Commit Graph

1474 Commits

Author SHA1 Message Date
Anton Chetverikov
8c48a6044d
Round-5 nGraph implementation (#2652)
* Implement nGraph Round-5 operation

* Remove reference implementation

* Add shape infer tests

* Fix codestyle
2020-10-14 08:10:05 +03:00
Maxim Vafin
cf09752a29
Add LogSoftmax-5 to ngraph (#2645) 2020-10-14 08:08:27 +03:00
Maksim Derbasov
93c2d6db41
General code fixes (#2609) 2020-10-14 06:46:12 +03:00
Irina Efode
e79a44c02e
[IE TESTS] Remove some deprecated single layer tests (#2646)
* [IE TESTS] Remove some deprecated single layer tests

* Gather Tree
2020-10-14 00:58:28 +03:00
Vladislav Vinogradov
8331c397cd
[IE][NGRAPH][BUILD] Enable UNITY build for more targets (#2592)
* Avoid symbols clash due to source merging.
* Tested on Ubuntu 20.04 with GCC 9.3.0.
2020-10-13 17:35:55 +03:00
Ilya Lavrenov
1e66624799
Plugin interface refactoring (#2591)
* Simplified plugin interface

* Allow not implemented

* Fixes

* Fixed CPU plugin tests

* Fixed tests dependencies

* Fixes

* Fixed GPU plugin compilation

* Renamed plugin

* Fixes

* Removed tests for plugin base

* Fix2

* Fix 2

* Define a macro to define plugin creation function

* Clean-up

* Fixed OSX build

* Fixed CentOS

* Removed statuscode from IExecutableNetworkInternal interface

* Interface

* Removed not used macro

* QueryNetwork returns result using return value

* LoadNetwork interface

* Fixed compilation with private plugins

* Fixed compilation when NGRAPH_INTERP is not enabled

* Return ExecutableNetwork from ImportNetwork with fileName

* Updated GetContext method

* Return exec graph information as return value

* Message about deprecation of Export with file name

* Message about deprecation of QueryState

* Updated ExecutableNetwork::GetConfig signature

* Updated ExecutableNetwork::GetMetric signature

* Updated docs

* WIP createIR

* Simplified IR creation

* CreateInferRequest returns value

* Removed GetExecutor from ExecutableNetworkThreadSafeDefault

* execDataPreprocessing is protected

* Fixed mock test
2020-10-13 17:22:51 +03:00
Jedrzej Hajduczenia
4d138307f4
[IE CLDNN] Revert fix for profiling of multiple kernel implementations (#2219) (#2595) 2020-10-13 16:40:30 +03:00
Alexander Zhogov
565b504c1c
GitHub CI: Add files_size.yml (#2570)
* GitHub CI: Add files_size.yml

* Update job name
2020-10-13 13:27:34 +03:00
Vladislav Vinogradov
ab0fb29853
[IE][BUILD] Fix C5208 warning under Windows (#2628)
* C++ feature in C `typedef struct` code.
* The warning can be promoted to error in dependent projects.

C5208: unnamed class used in typedef name cannot declare members other than
non-static data members, member enumerations, or member classes
2020-10-13 11:37:30 +03:00
helmutg
15a338e89b
add build option USE_SYSTEM_PUGIXML (#2502)
It allows skipping inference-engine/thirdparty/pugixml and using the
system copy instead.

Thanks to @Osse for helping understand cmake scoping rules.

Co-authored-by: Helmut Grohne <helmut.grohne@intenta.de>
2020-10-12 23:24:24 +03:00
Alexander Zhogov
7ac8cd8586 Azure CI: Fix nGraph ONNX 2020-10-12 19:23:00 +03:00
Alexander Zhogov
3a2e33962c Azure CI: Disable steps in nGraph ONNX 2020-10-12 19:20:28 +03:00
azhogov
5835974fad Azure CI: Add linux_ngraph_onnx.yml 2020-10-12 18:46:14 +03:00
Nikita Kudriavtsev
5ce622f4f4
[IE Myriad] Fix layer tests for logical_and (#2622) 2020-10-12 16:37:31 +03:00
Ilya Lavrenov
d617f1c230
Fixed ODR for LTO with gcc5 (#2615) 2020-10-12 14:16:30 +03:00
Pavel Esir
2110a29b7c
[MO] [Kaldi] Add TDNN Component (#1870)
* [MO] [Kaldi] Added TDNN Component

* TdnnComponent replacer graphical comment updated

* Added SpecAugmentTimeMaskComponent

* some refactor of memoryoffset shape_infer

* moved memoryoffset splitting to the middle stage

* some corrections
- set `need_shape_inferenc`=False in split_memoryoffset
- use cycle instead of pattern in tdnn_replacer

* separated splitting of MemoryOffsets in LSTM and TDNN blocks

* set transpose_weights=True in TdnnComponent

* Corrected Supported_Frameworks_Layers

* corrected comments

* separate naming for tdnn and lstm memoryoffset splits

* corrected BOM file

* corrected generaldropout_ext.py and removed 'has_default' for tdnn_component

* corrections after PR review

* renamed LSTM -> recurrent; added setting element_size for paired nodes of tdnn_memoffset and othe minor changes

* Update split_tdnn_memoryoffset.py

* corrected partial infer with new API in elemental.py and split_tdnn_memoryoffset.py
2020-10-12 14:10:27 +03:00
Anastasia Kuporosova
9f1b4e0854
[IE TOOLS] Support of models with output port in names (#2594) 2020-10-12 13:52:49 +03:00
Pavel Esir
9a9b231c98
[MO] Fix ONNX Clamp-11 shape infer with no min/max inputs (#2603) 2020-10-12 09:55:45 +03:00
Ilya Znamenskiy
ef2aa3ad67
[IE CLDNN] TopK registry spill avoiding for sort-by-value mode (#2590) 2020-10-12 08:36:57 +03:00
Mateusz Tabaka
24b2c41f3a
Tests and docs for registering custom ONNX operators (#2416)
* Add tests, examples and documentation changes for custom ONNX operators registration mechanism

* Change snippet paths

* fix CoreThreadingTests.ReadNetwork - data race in ops_bridge

* Make TemplateExtension::Operation externally visible

* changes after review

* apply code format

* use std::int64_t

* forward declare get_attribute_value specializations

* introduce unregister_operator in onnx_importer

* onnx_custom_op - lock mem first then take a buffer

* func tests - create template_extension via make_so_pointer

* fix build with NGRAPH_ONNX_IMPORT_ENABLE=OFF

* remove exports from Operation and Extension

* Move multithreaded AddExtension test to different directory to it can be excluded when NGRAPH_ONNX_IMPORT_ENABLE=OFF

* Dont include Extension tests if ENABLE_MKL_DNN=OFF

* fix excluding onnx_reader tests

* include extension tests only if mkl is enabled

* add comment on empty blob

* use register_operator conditionally in template_extension

* fix docs after review

* create static library from onnx_custom_op

* add additional test for unregister_operator

* move model example after register step

* revert changes to unit tests

* update ngraphConfig.cmake.in header

* add headers to onnx_custom_op

* changes to docs CMakeLists

* remove redundant onnx_importer dependency

* remove extension directory from func tests

* make onnx_importer a component of ngraph package

* docs fixes

* update header of ngraph/cmake/share/ngraphConfig.cmake.in with ngraph_onnx_importer_FOUND
2020-10-12 07:36:19 +03:00
Ilya Lavrenov
39e7905fe1
Fixed LTO for gcc-9 (ubuntu 20.04) (#2616)
* Fixed LTO for gcc-9 (ubuntu 20.04)

* Fixed ODR rules violation for MKLDNN deprecated functional tests

* Fixed tests build for templatePlugin
2020-10-12 06:57:59 +03:00
Alexander Perepelkin
a1b8a11000
Allow to specify both in/out precision, add in/out layout in tests (#2516)
* test definitions

* CPU plugin shared tests

* CPU plugin custom tests

* GNA plugin shared tests

* GPU plugin shared tests

* MYR plugin shared tests

* TML plugin shared tests
2020-10-11 11:05:55 +03:00
Ilya Lavrenov
daf8bc6164
DOCS: added code snippets compilation and fixes (#2606) 2020-10-10 11:19:16 +03:00
Katarzyna Mitrus
00faee86e0
Update ONNX importer LSTM to use v5 LSTMSequence (#2511) 2020-10-09 15:24:10 +02:00
Gleb Kazantaev
2e49b4e4d8
Fine-Grain Transformation pipeline tuning (#2547)
* Initial version of transformation callback refactoring

* Improved fine-grain tuning for transformation pipeline

* Check disabled matchers in GraphRewrite

* Avoid deprecated classes inside PassConfig

* Enabled DepthToSpace fusion by default

* Removed doulbe search in map

* Moved back pass_config.hpp; Added doxygen documentation for new class and methods

* Added doxygen comment for Manager and GraphRewrite new mthods
2020-10-09 15:33:19 +03:00
Ilya Lavrenov
da625b995e
Shellcheck update (#2557)
* Fixed SC2236 rules

* Fixed SC2086 rule

* Small fixes in other scripts
2020-10-09 13:25:53 +03:00
Rafal Blaczkowski
44c2477b78
Add strict timeout for test execution (#2598) 2020-10-09 13:08:50 +03:00
Mikhail Ryzhov
ba931c2d21
ngraph python sample (#2574)
This sample demonstrates how to execute an inference using ngraph::Function to create a network
- added sample
- added readme
- added lenet weights
2020-10-09 13:05:55 +03:00
Roman Donchenko
0e502ffb35
[MO] Fix many spelling and grammar errors (#2543) 2020-10-09 12:16:12 +03:00
Nikita Kudriavtsev
af661ae0fe
[IE][VPU]: Added wrapper for LogicalNot layer (#2562) 2020-10-09 12:09:14 +03:00
Maxim Vafin
694d1dcd25
Specify LogSoftmax-5 operation (#2382)
* Specify LogSoftmax operation

* Fix feedback
2020-10-08 20:04:38 +03:00
Kate Generalova
3cbf92e778
doc: add openvino tag link on StackOverflow (#2585) 2020-10-08 16:17:30 +03:00
Vladimir Gavrilov
f4551acccf
NonMaxSuppression-5 operation specification (#2310)
* The specification of NonMaxSuppression-5.

* Replaced opset4 with opset5.

* Fixed func(iou) when soft_nms_sigma == 0.

* Now outputs of NMS-5 have dynamic shapes.

* Now inputs 3, 4, 5, 6 can be 0D or 1D tensors.

* Now output 3 is 1D tensor.
2020-10-08 15:58:39 +03:00
Michał Karzyński
79d94f5af1
nGraph Python API tweaks and tutorial (#2471) 2020-10-08 14:09:17 +02:00
Vitaliy Urusovskij
a4fe59ba0a
Specify cl_cache_dir env var: (#2581)
1. General behaviour doesn't work for some compute-runtime versions.
Specification of `cl_cache_dir` fixes it
2020-10-08 15:02:31 +03:00
Vitaliy Urusovskij
474dcc277f
Prepare new test configuration for test_timetest.py (#2561)
* Add logging of DB upload to tconf with refs saving

* Prepare `.automation/tgl_test_config.yml` with models from VPUX package

* Add restriction on `exe` and `model` existence in run_timetest.py
2020-10-08 10:30:43 +03:00
Jedrzej Hajduczenia
76d2ba328d
[IE CLDNN] Fix profiling of multiple kernel implementations (#2219) 2020-10-08 09:22:34 +03:00
Mikołaj Życzyński
dba94b1f19
[IE CLDNN] Refreshment of convolution_gpu_fs_byx_fsv32 kernel (#2536) 2020-10-08 09:20:51 +03:00
Gleb Kazantaev
3f55733b43
Updated ConstantFolding pass to propagate friendly name (#2572)
* Fixed concat output name when decomposing shape_of in CF

* Added friendly_name propagation for CF pass

* Propagate runtime info inside ConstantFolding pass

* Fixed rt info merge strategy to avoid cases when merge is not implemented but attributes number is equal to 1
2020-10-08 09:16:28 +03:00
Konstantin Satunin
30b526c307
increase http timeout for artifacts uploading (#2571) 2020-10-08 09:12:22 +03:00
Liubov Batanina
7f78dd797e
[IE Tests] Added NormalizeL2 tests (#2327)
* Added NormalizeL2 tests

* Added NormalizeL2 reference

* Add nGraph tests

* Fix tests

* Added NormalizeL2 builder
2020-10-08 07:23:25 +03:00
Anton Chetverikov
8062f20c15
Add specification for Round operation (#2238)
* Add specification for Round operation

* Create opset5.md file

* Resolve review comments

* Remove useless formula section from specification

* Update specification

* Update Round specification

* Resolve review comments
2020-10-07 18:33:43 +03:00
iliya mironov
43dc605f50
Add HSigmoid spec (#2412)
* Add HSigmoid spec
2020-10-07 18:24:54 +03:00
Vitaliy Urusovskij
c3ff2948a4
Timetests test_runner improvements (#2552)
* Remove `generate_tmp_path` as unnecessary after refactoring

* Add `check_positive_int` check for `-niter` CLI key

* Replace `TestConfDumper` with number of fixtures:
1. Save all test info in global `request` and `pytestconfig` fixtures
2. Add `test_info` fixture for retrieving test info from test
3. Add `prepare_tconf_with_refs` fixture for test conf dump
2020-10-07 17:15:02 +03:00
Denis Orlov
1cc25fc885
Port 2021.1 documentation updates for GNA plugin and speech libs and demos. (#2564)
* Update docs for speech libs and demos (#2518)

* [GNA] Documentation updates for 2021.1 (#2460)

* [GNA] Documentation updates for 2021.1

* Take Mike's comments into account

* More fixes according to review

* Fix processor generation names
2020-10-07 15:13:16 +03:00
Vladislav Vinogradov
e9fde8f497
[IE][TOOLS] Improvements for compile_tool (#2555)
* Split cmd arguments onto sections (common, MYRIAD, FPGA).
* Add `-iol` cmd argument as `-iop` analogue for layouts.
* Remove limitations over `-ip`, `-op`, `-iop` arguments.
  Now they supports full meaningfull set of Precision/Layout values and will allow to user set any precision for any input/output.
  The applicability for this in under user reponsibility and support under plugin reponsibility.
* Add VPUX default configuration.
* Adjust code style to the project common style.

Co-authored-by: Alexander Novak <sasha-novak@yandex.ru>
2020-10-07 14:51:10 +03:00
Ilya Churaev
6f0aaf2bb5
ngraph docs to master (#2568)
* First draft of nGraph documentation

* updated according to review comments

* Updated

* Reviewed the nGraph Transformation section, added missing images

* Update nGraph_dg.md

* Delete python_api.md

Removed since there is already the nGraph_Python_API.md document with a comprehensive overview.

* Fixed links to images

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: CCR\avladimi <anastasiya.ageeva@intel.com>
2020-10-07 14:49:47 +03:00
Bartosz Lesniewski
8f95e22a5c
CTCGreedyDecoder reference implementation (#2284) 2020-10-07 13:44:56 +02:00
Alexey Suhov
7a389b7ef5
Update SW requirements in build instructions and change latest release to 2021.1 (#2566) 2020-10-07 00:37:26 +03:00
Roman Kazantsev
96bae7bd2c
Specify GatherND-5 operation (#2414)
* Specify GatherND-5 operation

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

* Update ie_docs.xml with GatherND-5

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-10-06 21:26:13 +03:00