Commit Graph

577 Commits

Author SHA1 Message Date
iliya mironov
ac5217d17f
Added mish layer doc opset (#1149)
* Added mish layer doc opset

* Refactoring mish spec

* Update mish spec

* Change output description of Mish layer

* Fix Mish according to review

* Refactoring Mish and GELU spec according to code review

* Update formula for ops in spec

* Refactoring spec text

* Update Mish opset

* Change Mish version from 1 to 4

* Sort opset4

Co-authored-by: Your Name <you@example.com>
2020-07-15 10:30:33 +03:00
Vladimir Gavrilov
f2aba7cdf6
Specify, review and approve operation Interpolate-4 (#1035)
* Added documentation for Interpolate-3.

* Some fixes.

* Fixed some typos.

* Now Interpolate-3 is Interpolate-4.

* Fixed typo.

* DEleted unused 'mode' 'area'.

* Fixed some typos.

* Now 'axes' attribute is an input of Interpolate.

* Added description of variants of nearest_mode.

* Added descriptions of coordinate transformation modes.

* Now 'axes' is an optional input.

* Fixed typo.
2020-07-15 10:27:56 +03:00
Anton Zaytsev
24961638cc
[IE TESTS] Add ShapeOf SingleLayerTest (#1285)
* [IE TESTS] add single layer test ShapeOf

* [IE TESTS] update for master

* [IE TESTS] add subgraph test

* [IE TESTS] update todo in skip_tests_config

* [IE TESTS] update skip_tests_config

* [IE TESTS] update skip_tests_config

* [IE TESTS] update opset3
2020-07-14 23:55:32 +03:00
Alexey Suhov
d7cb5ba4ba
update system requirements (#1321) (#1322)
* update system requirements

* update release version in readme
2020-07-14 22:06:55 +03:00
Maxim Shevtsov
4b5ce75c46
Fix that brings back the MULTI's ability to add/remove devices (to the priorities list) on the fly. Presumably was lost during refactoring. (#1309)
the point is that we should check the ORIGINALLY (largest) list of the devices (actually ExecutableNetworks for them) to see if the device is just added back
2020-07-14 19:15:52 +03:00
Edward Shogulin
d791962464
[LPT] FuseFakeQuantizeAndScaleShift transformation for last layer fix (#1291)
* [LPT] FuseFakeQuantizeAndScaleShift transformation for last layer fix

* [LPT] refactoring

* [LPT] FuseFakeQuantizeAndScaleShift test: last layer name validation was added
2020-07-14 18:55:06 +03:00
Jedrzej Hajduczenia
0607b7b0f7
[IE CLDNN] WA to use bfyx format if applicable for bf(w)zyx Gather input (#1056) 2020-07-14 18:00:51 +03:00
Jedrzej Hajduczenia
92a38b305f
[IE CLDNN] Disable inserting reorders if num_dims mismatch (#1023) 2020-07-14 17:59:20 +03:00
Rafal Blaczkowski
07f0d1c492
Add OpenVINO-ONNX CI check (#688) 2020-07-14 14:57:27 +02:00
Andrew Bakalin
c18f3aff91
[IE][VPU][Tests]: Fix M2 on deprecated tests for StridedSlice (#1300)
* Disable reorder in Myriad2 cases in StridedSlice deprecated_tests
2020-07-14 13:13:56 +03:00
Adam Osewski
ed4bbb3a0a
[ONNX] Quantize linear using FakeQuantize (#1169) 2020-07-14 10:55:07 +02:00
Adam Osewski
b16c8faceb
Enable importing of TF_NASNet_Mobile (#1252) 2020-07-14 10:54:39 +02:00
Ilya Churaev
e8ce8523ed
Removed max pool v0 (#1277)
* Removed MaxPool v0

* Removed atan2

* Removed and operation
2020-07-14 10:27:51 +03:00
Ilya Churaev
32d7959b92
Added U32 precision (#1297) 2020-07-14 10:27:10 +03:00
Mikhail Letavin
91ec946865
[IE CLDNN] Optimize kernel cache memory usage in GPU plugin (#1233) 2020-07-13 18:33:32 +03:00
Gladilov, Gleb
543559f58c
[IE][VPU][nGraph]: Enables dynamic Reshape with non-const pattern support in myriad plugin (#1159)
* [IE][nGraph]: Introduces PartialShape ctor from values vector

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][nGraph]: Moves evaluateTargetShape to common utilities

The same functionality - get upper-bound shape estimation for dynamic
input - is needed in dynamic Reshape along with dynamic Broadcast.
Return value type has been changed from PartialShape to vector<int64_t>.
The reason is Reshape encodes special values (0, -1) into input values
that define output shape. Representing those values (which upper-bound
provides evaluateTargetShape) as PartialShape leads to incorrect
representation vector with -1 as dynamic shape - which is not expected.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][nGraph]: Introduces StaticShapeReshape

In comparison with original Reshape StaticShapeReshape propagates
upper-bound shape through a function in case of dynamic input. To do so,
shape inference method gets upper-bound shape from evaluateTargetShape,
decodes special values (0, -1) in it and then propagate the result.

Output shape processing happens only once, because if shape inference
were called after ShapeOf operations have been optimized out on dynamic
path, then evaluateTargetShape will require evaluate method for all
operations that appear in function before current Reshape. Since
evaluate method is implemented not for all operations it lead to
Faster-RCNN compilation error.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][nGraph]: Updates Reshape DTS on StaticShapeReshape

In case of non-const Reshape input that defines output shape DTS uses
StaticShapeReshape which propagates upper-bound shape evaluated from
this input through a function.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][nGraph][Tests]: Refactoring DTS Reshape tests

The only changes are:

* header files include reordering
* indentation/wrapping fixing

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][nGraph]: Moves ShapeOf transformation out of DTS scope

In comparison with DTS ShapeOf transformation needs to work on whole
function. Separating these 2 transformations makes testing easier since
now it's possible to call specific DTS without ShapeOf transformation
and vice versa.

Also DynamicToStaticShapeOf has been renamed into
EliminateShapeOfAfterDSR since transformation doesn't introduce new DSR
operations.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [VPU][Tests]: Introduces DTS Reshape tests with non-const pattern

New StaticShapeReshape constructor has been added as well, since test
fixture should create it from reshape parameters, not reshape itself.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-07-13 18:19:05 +03:00
Maxim Andronov
08d8d36667
fix strided slice neg out of bounds ends (#1177) 2020-07-13 17:40:24 +03:00
Anastasia Kuporosova
e05e8893f2
[IE Samples] Add api arg to classification sample (#943) 2020-07-13 14:48:40 +03:00
Egor Churaev
668abbc5d9
[IE CLDNN] LRN int8 fsv16 optimizations (#814)
JIRA: 32367
2020-07-13 13:25:15 +03:00
Maxim Andronov
9e14d8b77e
[CPU] Add check quantize ranges (#850) 2020-07-13 12:48:00 +03:00
Andrey Sokolov
17657e5f43
[IE][VPU]: adjust batch - support dynamic number of iterations (#1114)
* support dynamic number of iterations in "AdjustBatch" pass
* add unit tests for this case
2020-07-13 11:49:20 +03:00
Ilya Lavrenov
71a7e913d1
Throw special exception if IR v7 is passed, but no IR v7 reader (#1293) 2020-07-13 06:13:59 +03:00
Vladislav Volkov
bce6ca07df
Optimisations for binary operations broadcast. Phase 2. (#1295) 2020-07-13 06:11:02 +03:00
Ilya Churaev
9dedb39cfc
Remove old Scatter operations (#1265) 2020-07-13 06:02:20 +03:00
Andrew Bakalin
45d1b4eb19
[IE][VPU][GT]: Process StridedSlice stage on device as one kernel (#1244)
* Remove replacement of StridedSlice with other stages and execute it on device as one kernel.
* Refactor strided slice tests to be able to parametrize it by precision.
* Update firmware.
2020-07-10 14:32:49 +03:00
Gorokhov Dmitriy
8768313fef
[TESTS] Added Comparison and Logical single layer tests (#1242) 2020-07-10 13:56:22 +03:00
Ilya Churaev
8d1e7a705d
Removed adjoints (#1269) 2020-07-10 13:49:43 +03:00
Bartosz Sochacki
8da662b2b8
[GNA] Support in GNA plugin for power layer with non-1 exponents (#997)
* added support for power layer with non-1 exponents to GNA plugin

* reverted a change caused by merge issue

* fixes for review comments (typo fix - lrelu instead of leru, unnamed structure instead of of named one in union with arguments of activation function, name fix - input instead of inputs),

scale-shift implementation based on affine layer instead of PWL,

* fixed code style

* fixes for coding style in scale_factor_calc.hpp

* added domain for power function

* fixed review comment - power function specific methods

* added check if dynamic casting was successful

* removed I16 as it is not supported by ngraph

* fixed initialization per review comment
2020-07-10 13:39:29 +03:00
Kamil Magierski
d9706da8d0
[GNA] MemoryStateImpl (#839)
* [GNA] fix query state for GNAMemoryState

* [GNA] MemoryState implementation:

Fix shared tests
Fix smoke tests
fix SetState
Implement LastState
Fix Reset

* Move getPrecision() to GNAMemoryState

Change Smoke Reset() test to check resetting one state

* [GNA] add dequantize to getLastState()

* code refactor

Co-authored-by: Anna Alberska <anna.alberska@intel.com>
Co-authored-by: kmagiers <kmagiers@intel.com>
2020-07-10 13:37:12 +03:00
Michał Karzyński
cc23e6043a
Add nGraph-ONNX tests (#1215) 2020-07-10 11:53:56 +02:00
Roman Kazantsev
7b65ba365e
Implement ScatterND operation in MO and transform for SparseToDense (#584)
SparseToDense used in Wide and Deep model is expressed through ScatterND operation.
ScatterND is more functional than SparseToDense. Hence, it was decided to replace SparseToDense
with ScatterND. ScatterND is more useful for other models.

Remove SparseToDense from the previous opset

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-07-10 12:29:15 +03:00
Ilya Lavrenov
297c9f5272
Simplified usage of CNNNetworkIterator (#1260) 2020-07-10 11:22:49 +03:00
Andrew Bakalin
3a0f09c01e
[IE Common] Replace static_cast with saturated one (#1257) 2020-07-10 11:20:17 +03:00
Chenhu Wang
b4e3dd5c7b
[CPU] ScatterUpdate ScatterElementsUpdate and ScatterNDUpdate support (#909)
* scatter_update_series_enable

* scatter_update_series_enable

* add single layer tests
2020-07-10 11:19:23 +03:00
Roman Lyamin
8e368c5e81
[IE TESTS] Added single layer test "Ceiling" (#1271) 2020-07-10 10:49:50 +03:00
Maksim Doronin
2537174a43
[IE][VPU]: Remove dataToShape edges from unsued data (#1213)
* Check equality of shape data for the replaced and replacement input/output data in the model
* Connect data with shape in duplicateData method
* Disconnect shape with data which is being removed as unsued.
* Check that disconnected shape still have child dataToShape edges or consumers
* Refactor cleanUp to use removeUnsuedData and not duplicate code
2020-07-09 19:21:18 +03:00
Anastasia Kuporosova
c0acbe06f7
Add python API codeowners (#1254) 2020-07-09 18:09:06 +03:00
Roman Lyamin
f3848b4454
[IE CLDNN] Added Mish operation (#1125) 2020-07-09 16:57:59 +03:00
Tomasz Dołbniak
65657ea5c5
Fix the __repr__ function for dynamic shapes (#1210) 2020-07-09 15:52:25 +02:00
Anton Chetverikov
e3f9cf16cd
Swish operation specification (#1200)
* Add Swish operation specification
2020-07-09 16:50:15 +03:00
Anton Chetverikov
77bb97fee5
SoftPlus operation specification (#1128)
* Add SoftPlus operation specification
2020-07-09 16:48:59 +03:00
Tomasz Socha
708c16b257
[nGraph] Fix reshape builder if target shape is scalar (#1206) 2020-07-09 15:31:04 +02:00
Tomasz Socha
a09d45d9d5
[nGraph] Allow to use protobuf lite in onnx importer (#687) 2020-07-09 15:30:17 +02:00
Tomasz Dołbniak
130238f509
ONNX Imagescaler op (#1262)
* ONNX ImageScaler op

* UT for ImageScaler op
2020-07-09 12:19:40 +02:00
Mateusz Bencer
f4b76d4e5e
Enable importing TinyYOLOv2 (#1121)
* Fixed bugs in TinyYOLOv2 ops

* Added tests

* styles applied

* styles applied

* code review remarks introduced

* code review remarks (unit tests added)
2020-07-09 12:26:00 +03:00
iliya mironov
95677afe29
Move arithmetics spec from v1 to v4 spec docs (#1230)
* Move atanh asinh acosh to opset4

* Update opset3 tables
2020-07-09 11:28:47 +03:00
Roman Lyamin
c18c103f0f
[IE TESTS] Added single layer tests (#1137) 2020-07-09 10:22:34 +03:00
Vladimir Zinoviev
77dc21cbdf
[LPT] Eltwise Prod transformation fix (#1135)
* [LPT] Eltwise Prod transformation fix

* [LPT] ngraph Multiply lp transformation test
2020-07-09 10:19:52 +03:00
Ilya Lavrenov
1f8a8ab33c
Fixed RTTI issues for ngraph::Variant (#1258) 2020-07-09 06:13:20 +03:00
Ilya Churaev
5feeab37d4
Use ngraph.hpp in samples and documentation (#1240) 2020-07-09 06:09:28 +03:00