Commit Graph

437 Commits

Author SHA1 Message Date
Katarzyna Mitrus
f34511642a NodeVector -> OutputVector replacement (#1272) 2020-07-29 17:18:56 +02:00
Vladimir Paramuzov
6e0001a189 [IE CLDNN] Changed weights layout for 1d scaleshift (#1483) 2020-07-29 14:08:58 +03:00
Nikita Kudriavtsev
a644cb85d2 [IE Myriad] Use instance of InferenceEngine::Core via ie::ICore interface in Myriad plugin (#1316)
* [ci-skip][IE Myriad] ie::ICore pointer passed into FrontEnd from plugin

* [ci-skip][IE Myriad] Added MockICore to fix graph transformer tests

* [ci-skip][IE Myriad] IN renamed to I_N to avoid compile error in Windows build: C2513: 'int': no variable declared before '='
2020-07-29 11:30:30 +03:00
Nikita Kudriavtsev
cbdfa38392 [IE][VPU]: Enable conv_3x3s1p1_vgg test for ma2085 (#1486) 2020-07-28 14:36:03 +03:00
Vladislav Vinogradov
0b1ef99fd7 [IE] Add Blob::createROI method (#882)
* Add default implementation that throws exception.
* Implement `createROI` for `TBlob` and existing compound blobs.
* Use reference couting for TBlob memory buffer to prolong its life time for ROI blobs.
* Add private extension for ND ROI and use it as implementation detail for now:
  * Add `DimSlice` and `TensorSlice` structures for generic ND ROI support.
  * Add `make_roi_desc` function to create `TensorDesc` for ROI.
2020-07-28 11:26:38 +03:00
Ilya Lavrenov
a19a8645e8 Removed IInferencePluginAPI interface (#1497)
* Removed legacy library includes from plugin api headers

* Removed IInferencePluginAPI interface; merged with IInferencePlugin

* Removed pluginAPIInterface usage in Core implementation
2020-07-28 11:08:45 +03:00
Ilya Churaev
534fe35c0a Remove old transformation passes (#1463) 2020-07-28 08:54:50 +03:00
Ilya Lavrenov
3be1f6b6fa Removed NgraphData (#1416) 2020-07-28 05:58:52 +03:00
Alexey Tarakanov
e5dfb71178 Tests for keep_constant_inputs (#1366)
* First variant of tests for keep_constant_inputs

* Redone tests to check number of inputs

* Count inputs of layer via ngraph::Function

* Add additional transformations for CNNNetwork

* Modified work with CNNNetwork via iterators

* Add tests for FullyConnected Network

* Rename function for counting of inputs

* Debug output was deleted

* transformations_callback was removed

* Change ASSERT_GT on ASSERT_EQ
2020-07-28 05:56:48 +03:00
Gleb Kazantaev
bd42f09e98 nGraph Transformations refactoring (#931)
This PR introduces next changes:
1. Transformations *_tbl.hpp files were replaced with direct registration in cpp files.
2. Plugins use pass::Manager to call conversion passes.
3. Transformations callback was moved to PassBase class as there is no more need to keep it in separate class
4. All pattern based transformations must be inherited from MatcherPass class. GraphRewrite class will be used only for matchers registration and execution on function.
MatcherPass class adds new features to pattern-based transformations approach:
* Allows to run matcher pass on a single node.
* Operations that were created inside transformation callback can be added to execution list to be available for pattern matching within single GraphRewrite.
5. GraphRewrite MatchClosure was replaced with MatcherPass. So all matchers will be registered as a MatcherPass.
6. Added pass::Manager::clear_state() method to avoid dependency with nodes that no longer belongs to function after replacement.
7.  Some representative transformations were updated to use MatcherPass as an example.
8.  Mul->Add sequence fusion transformation was replaced with LinOpSequenceFusion.
9. Pattern and callback registration code was moved to class c-tors (will be finished for remaining passes in other PR) .
10. Updated pass::Manager to get pass names only when NGRAPH_PROFILE_PASS_ENABLE enabled.
11. Moving towards removing PassProperty.
12. Added ngraph::pattern::wrap_type<T>(inputs, pred) to simplify pattern creation.
13. GraphRewrite was updated to execute MatcherPass more efficient.
2020-07-27 19:47:37 +03:00
Anna Khakimova
9b76b3ea39 Preprocessing(GAPI): Universal intrinsics (AVX512) implementation of linear Resize 8UC1 (#1132) 2020-07-27 19:04:51 +03:00
Vladimir Paramuzov
48f5f524b8 [IE CLDNN] Fixed gemm fusings with FP precision (#1490) 2020-07-27 18:49:54 +03:00
Nadezhda Ageeva
40d597c313 Adds first inference time measurements in benchmark_app (#1487) 2020-07-27 16:45:07 +03:00
Konrad Dobros
0846f2050e [IE CLDNN] Add b_fs_fsv16 concat optimizations (#1452)
1. Add fsv16 int8 support to optimized kernel
2. Optimize fsv16 concat kernel
3. Add graph optimization to improve concat alignment

Issue: CVS-28494
2020-07-27 14:49:22 +03:00
Vladimir Paramuzov
3c99c13feb [IE CLDNN] Improvements for SpaceToDepth (#1454) 2020-07-27 11:52:18 +03:00
Irina Efode
0560b61cbd [IE TESTS] Add Interpolate single layer test (#1456) 2020-07-27 11:45:19 +03:00
Sergey Shlyapnikov
fc3f9af923 [IE CLDNN] fix warnings from gcc-9 compiler (#1431) 2020-07-24 20:13:29 +03:00
Irina Efode
db176dfc5d [IE TESTS] Add Minimum tests (#1470) 2020-07-24 17:51:21 +03:00
Liubov Batanina
a38e9f9059 Add input transposing for MatMul (#1462) 2020-07-24 15:15:20 +03:00
Nikita Kudriavtsev
8a6bd1dba3 [IE][VPU]: Added Mish layer (#1158)
* Add Mish stage in GraphTransformer
* Add Mish per-layer tests
2020-07-23 16:58:03 +03:00
Ilya Lavrenov
07bedc5d6f Network serializer for v7 is removed (#1414)
* Network serializer for v7 is removed

* Fixed compilation

* Fixed Windows build

* WA for GPU

* Create function 2 times

* Fixed compilation

* Added return
2020-07-23 16:23:19 +03:00
Ilya Churaev
82aa1e112d Remove deprecated methods from node (#1369) 2020-07-23 14:44:32 +03:00
Ilya Lavrenov
8fedb0bf94 Corrected message about deprecated IR version (#1438) 2020-07-23 13:14:09 +03:00
Andrew Bakalin
f00cdddede [IE][VPU][GT]: Change begin and end masks serialization for StridedSlice (#1417)
* In order to support cases when begin and end size is less than input rank, the serialization was changed.
* Add tests
* Update firmware
2020-07-23 12:20:08 +03:00
Ruslan Garnov
d6c412ca40 Updated fluid to 4.3.0 (#1422) 2020-07-23 12:04:31 +03:00
Andrew Bakalin
dce1063526 [IE][VPU][NGraph] Move dynamic NMS from common to vpu folder (#1409)
* [IE][VPU]: Moves UpgradeNMS4ToNMSDynamic transformation into myriad plugin

* [IE][VPU]: Moves UpgradeNMS4ToNMSDynamic from common to vpu folder

* [IE][VPU]: Moves Dynamic NMS from common folder to vpu

* [VPU]: Makes NMS conversion unconditional

* [VPU][NGraph]: Changes dynamic NMS base class from v3 to v4

* [VPU]: Moves NMS4toDynamic transformation before common optimization
2020-07-23 10:23:35 +03:00
Vladimir Paramuzov
c69591c0b7 [IE CLDNN] Shrink reshapes (#1362) 2020-07-23 10:14:52 +03:00
Andrey Zaytsev
045fe44d29 Fixes LFS issues (#1440)
* Removed non-LFS images to reload them to LFS

* Reload images to LFS

* Reload images to LFS
2020-07-22 22:35:58 +03:00
Nikita Kudriavtsev
5b9a5a6293 [IE Myriad/35383] vpu_profile is removed (#1393) 2020-07-22 17:34:16 +03:00
Adam Osewski
093a02fcef Test fix import of ONNX model in serialized Protobuf binary format. (#1355)
* Try fix parsing error.

* Small exception refinements during importing model.

* More exception refinements.

* Skip segfaulting tests.

* More clear error types and messages. Func rename.

* Fix typo.

* Check on CI whether test_onnx will work.

* Add only those file which pass tests or have failing ones skipped.
2020-07-22 13:52:53 +03:00
Ilya Churaev
141b24cf44 Replaced copy_with_new_args() to clone_with_new_inputs() (#1395) 2020-07-22 13:44:22 +03:00
Ilya Lavrenov
a773dfbbcc Removed ie_deprecated.cpp from legacy library (#1419) 2020-07-22 06:44:53 +03:00
Ilya Lavrenov
8e081c8388 Removed CNNLayer entries from ie_common.h (#1420)
* Removed useless header include

* Removed CNNLayer entries from ie_common.h
2020-07-22 06:44:05 +03:00
Ilya Lavrenov
79349ae4a6 CMAKE: added ie_libraries target (#1411) 2020-07-21 18:58:20 +03:00
Ilya Znamenskiy
c37f73334c [IE CLDNN] Gemm int8 with slm optimization. Fused ops fix (#1319) 2020-07-21 17:45:42 +03:00
Roman Lyamin
613d822458 [IE TESTS] Added single layer test Mish (#1401) 2020-07-21 15:11:05 +03:00
Anna Khakimova
eecd03aa85 Pre-processing(GAPI): ARM(NEON) integration + Split, Merge, Color conversion kernels on NEON (#1315) 2020-07-21 14:19:15 +03:00
Ilya Lavrenov
14d371849d Split CNNlayer validators (#1403)
* Simplified CNNLayer validators: keep only parsing of arguments

* Added validators as is

* Removed parsing arguments

* Removed Backetize validator
2020-07-21 13:57:56 +03:00
Nikita Kudriavtsev
a482e32911 [IE][VPU]: Added Gelu layer (#1195)
* Implement Gelu stage in GraphTransformer
* Disable GeLU decomposition in the nGraph transformations
2020-07-21 11:36:35 +03:00
Ilya Lavrenov
f7d6711137 Removed addLayer implementation from ngraph impl (#1400) 2020-07-21 06:36:18 +03:00
Ilya Churaev
54ae67414e Remove redundant node methods (#1324)
* Remove placement

* Removed validate and infer eltwise

* Remove is eltwise

* Remove support broadcast and decompose

* Removed is_op, is_parameter, is_pattern

* Fixed code style

* Added is_constant and is_output

* Removed is_communicative and is_null

* Fixed code style

* Fixed typo

* Fixed comments

* Fixed typo

* Revert is_parameter, is_output, is_result for OpenCV build
2020-07-21 06:02:00 +03:00
Anna Khakimova
898f0626ad Fix for issue (#1335) 2020-07-20 20:09:23 +03:00
Vladislav Volkov
41f8086765 Header length for supported model detection is increased (#1363) 2020-07-20 18:11:22 +03:00
Nikolay Tyukaev
ef45b5da8d Doc Migration (master) (#1377)
* Doc Migration from Gitlab (#1289)

* doc migration

* fix

* Update FakeQuantize_1.md

* Update performance_benchmarks.md

* Updates graphs for FPGA

* Update performance_benchmarks.md

* Change DL Workbench structure (#1)

* Changed DL Workbench structure

* Fixed tags

* fixes

* Update ie_docs.xml

* Update performance_benchmarks_faq.md

* Fixes in DL Workbench layout

* Fixes for CVS-31290

* [DL Workbench] Minor correction

* Fix for CVS-30955

* Added nGraph deprecation notice as requested by Zoe

* fix broken links in api doxy layouts

* CVS-31131 fixes

* Additional fixes

* Fixed POT TOC

* Update PAC_Configure.md

PAC DCP 1.2.1 install guide.

* Update inference_engine_intro.md

* fix broken link

* Update opset.md

* fix

* added opset4 to layout

* added new opsets to layout, set labels for them

* Update VisionAcceleratorFPGA_Configure.md

Updated from 2020.3 to 2020.4

Co-authored-by: domi2000 <domi2000@users.noreply.github.com>
2020-07-20 17:36:08 +03:00
Ivan Tikhonov
4037613db3 Added default constructor for RNNCellBase, fix conversions (#1370) 2020-07-20 14:15:37 +03:00
Ilya Lavrenov
2ddf08d14b Removed tests for old IR reader (#1368) 2020-07-18 12:42:40 +03:00
Ilya Churaev
cc19e57a06 Removed v0 fused operations (#1263) 2020-07-17 19:51:04 +03:00
Andrew Bakalin
5cda3938d8 [IE][VPU][GT]: Use topological order in shape allocation (#1281)
* Some pass creates datas duplicate with a different order from time to time (because of unordered_set usage). It leads to a different order in model->datas() list and affects the shape allocation process which relies on this order.
* Make shape allocation be relied on topological order of datas which is stable and doesn't depend on order datas creation during different passes.
2020-07-17 11:47:37 +03:00
Ilya Lavrenov
ee3fafceda Fix unsafe use of CPU_ISSET_S macro. (#1357)
Don't increment mapped_idx via prefix increment within the argument of the
potentially unsafe CPU_ISSET_S macro. If the macro is expanded so that the
increment expression is evaluated multiple times, it will return unexpected
results.

While the glibc implementation of CPU_ISSET_S macro seems to be safe, the musl
libc (v1.1.23) version is unsafe and will evaluate the first argument of
CPU_ISSET_S three times.

Co-authored-by: Christian Priebe <cp3213@ic.ac.uk>
2020-07-17 10:51:56 +03:00
Ilya Churaev
29816f7a44 Remove get_arguments (#1323)
* Removed get_arguments

* Fixed code style
2020-07-17 09:50:06 +03:00