Commit Graph

479 Commits

Author SHA1 Message Date
Ilya Churaev
29ef181e47
Fixed user name in codeowners (#1198) 2020-07-03 10:59:18 +03:00
Ilya Churaev
ac2ce80dae
Updated Core::ReadNetwork documentation (#1178) 2020-07-03 08:47:24 +03:00
Wayne Tan
bd25d5174f
Resolve build failure due to warning C5208 (#1170)
> warning C5208: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes

This commit adds a placeholder name to the struct definition
according to the accepted solution here:
https://developercommunity.visualstudio.com/content/problem/1034754/warning-c5208-a-c20-feature-occurs-when-compiling-1.html

Only applies to MSVC 19.26 or later. The alternative is to add a switch
`/Wv:19.25` to suppress the warning.
2020-07-03 05:56:04 +03:00
Adam Osewski
b72e56e51d
Remove reference to removed function. (#1192) 2020-07-03 05:46:17 +03:00
Maksim Doronin
aa8b364a5c
[IE VPU] Enable DSR_* tests: part 1 (#1041)
* [IE VPU] Enable DSR_BinaryEltwise tests

* [IE VPU] Enable DSR_Gather tests

* [IE VPU] Enable DSR_Clamp tests

* [IE VPU] Enable DSR_Concat tests

* [IE VPU] Enable DSR_Convert tests

* [IE VPU] Enable DSR_Squeeze tests

* [IE VPU] Enable DSR_UnaryEltwise tests

* [ nGraph ] Softmax should return input pshape, not fully dynamic shape
2020-07-02 21:00:04 +03:00
Alexander Zhogov
2d8b8428ba
Try "system.debug: true" (#1179) 2020-07-02 17:55:53 +03:00
Konrad Dobros
0509c66ce0
[IE CLDNN] Add some auto-tuning improvements (#1154)
- add error reporting for failed kernel runs during auto-tune
- fix auto-tuning for asymmetric quantization
- add asymmetric quantization information to cache
- change auto-tuning metric from average to min
2020-07-02 14:18:28 +03:00
Ilya Lavrenov
054e1cfd13
Removed WA for C API compilation (#1176) 2020-07-02 13:51:21 +03:00
Ilya Lavrenov
ef6280ab99
Split IR readers (#1167)
* Split IR readers

* Fixed tests

* CMAKE: Removed add_clang_format_target usage from readers
2020-07-02 13:31:44 +03:00
Vitaliy Urusovskij
0e904405f7
[Stress] Add --ref_db_collection in compare_memcheck_2_runs.py (#1157) 2020-07-02 13:14:07 +03:00
Ilya Churaev
869cbe489b
Removed opset0 from public API (#1144) 2020-07-02 13:08:21 +03:00
Irina Efode
027be06506
[IE TESTS] ie_class migration to the new test infrastructure (#1136) 2020-07-02 11:58:53 +03:00
Andrew Bakalin
dfe27bad26
[VPU] StaticShapeNMS support (#1057)
[IE][VPU]: Introduces StaticShapeNMS stage
2020-07-02 10:57:53 +03:00
Jedrzej Hajduczenia
fe4ff33a82
[IE CLDNN] Don't force expected reorder layout & improve i64->i32 fallback (#1088) 2020-07-02 10:18:38 +03:00
Vladimir Paramuzov
c8a6a7b6d0
[IE CLDNN] Autoremove comments from processed cl files (#1152) 2020-07-02 10:13:59 +03:00
Liubov Batanina
cff39c343b
[IE TEST] LRN tests fixed params (#743)
* LRN tests fixed params

* Fix comment

* Swiched to opset3
2020-07-01 22:35:28 +03:00
Ilya Lavrenov
c9749ce397
Clean-up files in tests helpers (#1173) 2020-07-01 22:34:43 +03:00
Ilya Lavrenov
acaab888f2
Removed disable_tests.hpp (#1172) 2020-07-01 22:31:51 +03:00
Yegor Kruglov
465707eba7
[MO MXNET] Fixed spatial reshape on GluonCV models (#587)
* added value propagation for slice_like op

* Mark slice_lice as undead node

* fixes in mark_undead_nodes and unittests update
2020-06-30 22:32:13 +03:00
Vladimir Paramuzov
c9d4e6b934
[IE CLDNN] Removed unused primitives and related structures (#1039) 2020-06-30 22:18:24 +03:00
Konrad Dobros
66f620f97e
[IE CLDNN] Add two early optimization capabilites (#1155)
This change adds checks, macros and defines for two early/experimental
features:
- local memory block reads
- builtin optimization hints, ie: __builtin_assume
2020-06-30 18:29:34 +03:00
Gleb Kazantaev
b8b8a21dc7
Added nGraph transformations developer guide (#947)
* Added nGraph transformations developer guide

* Added some more chapters

* Added Transformation writing essentials chapter

* Added working with ngraph::Function chapter

* Added two chapters

* Fix comments

* Moved code snippets to source files

* Moved ngraph test utils to common. Added transformations test examples to template plugin

* Added Common mistake section

* Added doxygen for CommoOptimization passes

* Fixed doxygen comments; added links in md files; fixed typos

* Fixed review comments
2020-06-30 18:02:26 +03:00
Chance Luo
389a1b3ae5
Avoid duplicate data during reshapeDilation (#765) 2020-06-30 17:17:17 +03:00
Maksim Doronin
3790b35060
[IE VPU] Set name for output DSR in DTS (#1011)
* [IE VPU] Set name for outDSR in DTS transformations

* [IE VPU] Enable NonZero_Transpose tests

* [IE VPU] Set name for outDSR in Reduce DTS

* [IE VPU] Use move semantic in DTS
2020-06-30 15:27:22 +03:00
Liubov Batanina
fce9d9def0
[IE TEST] Added constant input to MatMul tests (#1119)
* Added constant input to MatMul tests

* Added InputLayerType to ngraph_helpers.hpp
2020-06-30 14:50:00 +03:00
Evgeny Lazarev
f596432268
NMS-4 op support (#1115)
* Specification for the NMS-4 operation (updated shape infer function)

* Enabled NMS-4 in the Model Optimizer

* Changed opset version for NMS with dynamic outputs and namespace to be "dynamic"

* Added NMS-4

* Added opset4 to the nGraph

* Added unit tests for NMS-4 type infer

* Renamed UpgradeNMS3ToNMS4 to UpgradeNMS3ToNMSDynamic. Added stub for ConvertNMS4ToLegacy

* Make IE aware of opset4 ops

* Updated NMSIE to have different shape infer function based on the NMS it was converted from. Implemented NMS4->NMSIE conversion

* Apply code style

* Updated StaticShapeNonMaximumSuppression op in the VPU

* Introduced new version of NMSIE operation with shape infer function from v4::NMS

* Fixed dynamicToStaticNonMaxSuppression transformation

* Added new version of NMSIE op with updated shape infer function

* Fixed NMS4 to NMSIE2 transformation

* Fixed constructors for nGraph ops v4::NM and dynamic::NMS

* Updated text in the opset4 specification document

* Code style fixes

* Fixed constructors for StaticShapeNMS + fixed test

* Minor change to the NMS op in the MO

* Fixed typo in the dynamic_to_static_shape_non_max_suppression transformation

* Removed redundant checks

* Refactored NMS infer and validate functions

* Added more checks to the validate_and_infer_types functions for NMS-3 and NMS-4

* Fixed compilation issue on Windows for op NMS

* Code style fixes

* Fixed typos in the NMSIE and NMSIE2 to CNNLayer op conversion

* Fixed typo in the ie_cnn_layer_builder_ngraph.cpp

* Fixed the NMSToLegacyNMS transformation. Added unit tests

* Apply code review comments

* Refactored NMSIE to use visitors

* Removed calling ConvertNMS4ToLegacy in the common optimizations

* Moved NMS4ToNMSLegacy to convert1_to_legacy group of transformations

* Removed useless include statement

* Removed copy-paste issue

Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2020-06-30 14:04:31 +03:00
Tomasz Dołbniak
a01b915857
Alpha and beta nodes element types fix (#1150) 2020-06-30 12:04:11 +02:00
Anton Voronov
9b32414747
[CPU] Fixed PostOpsIntBlobMemory filling (#1133) 2020-06-30 12:01:29 +03:00
Liubov Batanina
7cda3bb275
Fixed Softmax reference (#1148) 2020-06-29 23:07:08 +03:00
Alexander Chaiko
da03c7ad0d
[IE CLDNN] Fix Android build error: braces around scalar initializer (#1151) 2020-06-29 20:27:41 +03:00
Ilya Lavrenov
b43d26ab8a
Cnnnetwork add layer (#1124)
* Removed addLayer from public interface

* Convert to CNNNetworkImpl
2020-06-29 16:21:48 +03:00
Evgenya Stepyreva
62fba3eadf
[ MO ] Keep data type of compressed value (#1143)
JIRA: 34085
2020-06-29 14:56:11 +03:00
Alexander Chaiko
f8b2627c3b
[IE CLDNN] int8 batches optimization (#632) 2020-06-29 14:09:33 +03:00
Vladimir Gavrilov
b9d67927fd
Fixed deleting Transpose layers after and before Interpolate layers. (#1071)
* Fixed deleting Transpose layers after and before Interpolate layers.

* Added run_after() for the transformation InterpolateTranspose.

* Some checks were moved from the replacement function to the pattern.

* Added a check of the attribute 'axes' into the pattern.
2020-06-29 12:49:29 +03:00
Ilya Churaev
182499c006
Removed backprop operations (#1091)
* Removed backprop operations

* Fixed build

* Removed AvgPool

* Removed tests for v0 AvgPool

* Fixed code style

* Fixed export
2020-06-29 11:14:48 +03:00
Egor Churaev
08cd0f7779
[IE CLDNN] Implement ExtractImagePatches operation (#1127)
The ExtractImagePatches operation collects patches from the input
tensor, as if applying a convolution. All extracted patches are stacked
in the depth dimension of the output.

JIRA: 30055
2020-06-29 10:36:30 +03:00
Adam Osewski
d0be6b1d2f
Dynamic attribute getters and setters. (#964) 2020-06-26 16:35:00 +02:00
Anton Chetverikov
5aa9ffbfe3
Fix const node non-deterministic names (part 1) (#996)
* Update node names
2020-06-26 13:41:49 +03:00
Adam Osewski
0cdc549911
Fix use of new TestCase. (#1130) 2020-06-26 13:00:28 +03:00
Michał Karzyński
5f4f70e408
Fixes in TensorIterator builder code (#1104) 2020-06-26 10:16:51 +02:00
Adam Osewski
1fb2172457
[ONNX] Support for dynamic shapes for InstanceNormalization (#1076) 2020-06-26 09:38:15 +02:00
Mateusz Bencer
d9076c29a2
Enabled importing ONNX Yolo v3, added Loop op (#957) 2020-06-26 09:18:24 +02:00
Ilya Lavrenov
3a9db885bf
Removed getLayerByName from public API (#1110)
* Fixed tests

* Removed getLayerByName from public API
2020-06-25 20:00:39 +03:00
Andrey Zaytsev
ff769a2e31
Link fixes for opset docs (#1072)
* Fixed links

* Update opset.md
2020-06-25 18:46:21 +03:00
Ewa Tusień
f2e8435566
Switch MeanVarianceNormalization op to opset3 in ONNX importer (#865)
* Switch MVN op to opset3.
2020-06-25 16:24:00 +03:00
Anna Alberska
0b9987f5e9
[GNA] fix custom scale factors when importing a model (#1096) 2020-06-25 12:43:47 +03:00
Andrew Bakalin
0f1c8a0763
[VPU] WA for statis shape allocation (#1107) 2020-06-25 10:38:25 +03:00
Jedrzej Hajduczenia
5746e27111
[IE CLDNN] Set strided slice out_format to bfyx when in_format=bfzyx and shrink_axis_mask is set (#1111) 2020-06-25 10:24:00 +03:00
Maxim Shevtsov
7e40136c3c
LayerNorm(PyTorch/HuggingFace pattern)->MVN+Mul+Add (#1003)
* LayerNorm(PyTorch/HuggingFace pattern)->MVN+Mul+Add. Improves perf on BERT by 5%

* deducing the across_channels from axes passed to the MVN op.
axes are normalized. if no axes is specified, falling back to the (previously) default across_channel value

Co-authored-by: myshevts <maim.y.shevtsov@intel.com>
2020-06-25 09:25:56 +03:00
Evgenya Stepyreva
f81257c969
[ v4::NMS ] Fixed v4 NMS cloning (#1113) 2020-06-24 23:09:48 +03:00