Commit Graph

598 Commits

Author SHA1 Message Date
Edward Shogulin
db2e5c0728 [LPT] GemmTransformation usage fix (#1899) 2020-08-24 20:09:01 +03:00
Tomasz Dołbniak
4013649fe8 v0::Pad operator removal (#1912)
* v0::Pad operator removal

* Obsolete test removal
2020-08-24 19:03:01 +03:00
Pavel Rodionov
0ad27cb527 [GNA] Change GNA library version to 1047.1 (#1867) 2020-08-24 18:20:31 +03:00
Konrad Dobros
f927d71ce4 [IE CLDNN] Fix concat in place with conv interactions (#1714)
This change fixes concatenation in place optimization where it may
interact with convolution that uses physical padding.
One of such cases is where input to optimized concatenation is also
input to convolution, so it should have padding to enable optimized
implementation.
Previously for all concatenation inputs padding was overriden with only
concatenation axis being padded.
This change fixes this issue by propagating padding across inputs and
output.
2020-08-24 17:37:46 +03:00
Tomasz Socha
c19cd4765b Add reshaping of dynamic network in python tests (#1850) 2020-08-24 13:58:38 +02:00
Anastasia Kuporosova
d871a0e05f [Python API] Deprecation of DataPtr.creator_layer and DataPtr.input_to properties (#1905) 2020-08-24 14:57:55 +03:00
Ivan Tikhonov
cb72684388 Partial revert a commit with reference implementations of PriorBox(Clustered) ops (#1878)
* partial revert a commit with reference implementations of PriorBox(Clustered), disable references for this ops

* ngraph codestyle

* disable const folding unit tests for PriorBox(Clustered)

* fix arm build

* fix unit test

* Revert "fix unit test"

This reverts commit 1fe59e55d6.
2020-08-24 14:31:32 +03:00
Liubov Batanina
719797326b Added test for Pad (#1902)
* Addded test for Pad

* Add builder
2020-08-24 14:16:29 +03:00
Vladimir Paramuzov
2acf3f27e1 [IE CLDNN] Enabled tensor pitches in topk kernel for 0 input (#1898) 2020-08-24 13:03:39 +03:00
Lukasz Debski
0a5dfc62b2 [IE CLDNN] Forcing bfzyx format in MVN layer (#1903) 2020-08-24 13:03:21 +03:00
Vladimir Paramuzov
c8aa3a7f2b [IE CLDNN] FP16 support for some quantized kernels (#1855) 2020-08-24 08:47:45 +03:00
Denis Orlov
3ae90cf258 [GNA] Additional checks (#1018) 2020-08-21 14:43:01 +03:00
Ilya Churaev
f009be66c2 Added detailed error messages for cases when network has dynamic shapes on the conversion moment (#1890) 2020-08-21 13:13:44 +03:00
Harald Rotuna
84028be544 Add method to classification_result for returning results (#1460) 2020-08-21 11:59:12 +03:00
Gleb Kazantaev
762cb8d6ab Fix addOutput (#1888) 2020-08-21 05:51:42 +03:00
Ilya Churaev
3cb7454f67 Fixed error message for ONNX importer tests (#1880) 2020-08-20 18:46:34 +03:00
Anna Likholat
e35b23a9ff [JAVA] Changed blob costructor (using cArray) in samples (#1863) 2020-08-20 18:45:14 +03:00
Ilya Lavrenov
5d328b94a6 Reuse make_executable_network in ImportNetwork (#1869)
* Reuse make_executable_network for ImportNetwork

* make_executable_network returns ExecutableNetwork cpp wrapper
2020-08-20 18:34:19 +03:00
Anton Potapov
d92cec16fc Updating ADE version (#1877)
- Fix gcc 9 build warnings
2020-08-20 18:32:41 +03:00
Jedrzej Hajduczenia
1880958f8b [IE CLDNN] Add 3d spatials support to conv & pool imad kernels and unblock any in/out feature sizes (#1693) 2020-08-20 14:54:54 +03:00
Roman Lyamin
3a9e160031 [IE TESTS] Added single layer tests HSwish (#1861) 2020-08-20 13:32:16 +03:00
Anton Dudchenko
de8bfae243 [IE][VPU]: Execution graph via ngraph for VPU plugin (#1572)
* Execution graph via ngraph for VPU plugin
* Enable ExecGraphTests
* Assert throw for multi device in tests
* Assert throw for gna device in tests
2020-08-20 12:56:12 +03:00
Ilya Churaev
d25bb6314a Deprecate nGraph v0 ops and builders (#1856)
* Deprecate nGraph v0 ops

* Fixed build

* Added deprecated defines to fix windows
2020-08-20 12:27:14 +03:00
Pavel Rodionov
6d7f2f03ec Revert "[GNA] Remove old GNA1 from Cmake scripts (#1686)" (#1864)
This reverts commit ffe8599c30.
2020-08-20 10:59:21 +03:00
Gleb Kazantaev
301d6b50e3 Moved AlgebraicSimplification and NopElimination passes to IE (#1859)
* Moved AlgebraicSimplification and NopElimination passes to IE

* Fixed headerfiles
2020-08-19 18:55:11 +03:00
Vladimir Paramuzov
016c696869 [IE CLDNN] Enable fsv16 format for all quantized models (#1791) 2020-08-19 16:19:42 +03:00
Evgeny Latkin
831711d01a re-enable the myriadMultipleGraphsTests_nightly (#1836)
* re-enable the myriadMultipleGraphsTests_nightly

* refresh version of Myriad firmware
2020-08-19 16:03:37 +03:00
Anna Alberska
a2b71aef56 [GNA] add support for 4d eltwise (#1353)
* [GNA] add support for 4d eltwise

* cpplint fix

* refactor

* fix FP16 broadcast pass

* change anonymous function to InferenceEngine::details::product

* introduce anonymous function to the pass & add layer checks

* refactor tileBlob lambda
2020-08-19 16:03:18 +03:00
Jedrzej Hajduczenia
fb885873ea [IE CLDNN] Fix vector iterators incompatibility issue in prepare_primitive_fusing (#1842) 2020-08-19 15:51:24 +03:00
Gleb Kazantaev
939fc2f21b Fixed addOutput (#1844)
* Fixed addOutput

* Added tests; removed addOutput second call
2020-08-19 14:57:28 +03:00
Vladimir Paramuzov
5c02f8d250 [IE CLDNN] Mixed precision scale support (#1848) 2020-08-19 14:17:45 +03:00
Anton Chetverikov
4925485c14 ExtractImagePatches MO implementation and nGraph transformation (#739) 2020-08-19 13:23:41 +03:00
Ilya Lavrenov
8b98f20480 LoadNetwork interface: executable network is returned as return value (#1840)
* LoadNetwork interface

* Added reference to SOPointer to returned ExecutablNetwork

* Fixed test
2020-08-19 11:44:29 +03:00
Edward Shogulin
819bd9bd82 [LPT] Symmetric quantization support for efficientnet-b0 (#1773)
* [LPT] Symmetric quantization for efficientnet-b0

* [LPT] zero point calculation fix

Co-authored-by: Zinoviev, Vladimir <vladimir.zinoviev@intel.com>
2020-08-19 11:36:48 +03:00
Vladimir Paramuzov
29873d2338 [IE CLDNN] Use fsv4 instead of af32 layout for imad case (#1784) 2020-08-19 10:10:55 +03:00
Sergey Nesterov
ff04f33636 [IE CLDNN] added fusing support for ref and b_fs_yx_fsv16 implementations (#1692) 2020-08-19 09:18:00 +03:00
Katarzyna Mitrus
ceb8a25c94 Enable HSwish - ngraph op, fusion/decomposition and reference implementation (#1770)
* Add HSwish operator to nGraph

* Add HSwishFusion transformation

* Update check_constant function

* Add reference implementation for HSwish

* Enable reference implemenation in HSwish evaluate

* Add op_eval test

* HSwish fusion transformation test

* Add HSwishFusionWithoutRelu transformation

* Add more hswish fusion tests

* Register HSwishFusion pass in common_optimizations

* Update HSwish reference implementation

* Add HSwishFusion with Relu and Multiply

* Add HSwishDecomposition transformation pass

* Add HSwishDecomposition test

* Add HSwish op to ngraph python API

* Update HSwish fusion transformations

* Remove HSwishFusion from common optimizations

* Update hswish python API

* Add bf16 to evaluate hswish

* Update hswish python API

* Move hswish reference implementation

* UnaryElementwiseArithmetic inheritance

* Enable HSwish callback for clDNN

* Register HSwishDecomposition pass in ConvertOpSet1ToLegacy

* Enable HSwishFusion pass in common optimizations

* Use NGRAPH_RTTI_DECLARATION

* Moved python hswish test to the test_ops_unary
2020-08-19 08:04:00 +03:00
Ivan Tikhonov
c5ca8f5b51 Remove ngraph::Lambda class, replace TensorIterator body with ngraph::Function (#1830)
* remove Lambda class, replace TensorIterator body with ngraph::Function

* Fix passing parameters from parent graph to subgraph

Co-authored-by: mbencer <mateusz.bencer@intel.com>
2020-08-19 07:09:32 +03:00
Ilya Lavrenov
618c6f7f23 Return serialization to IR v7 under conditional compilation (#1820) 2020-08-19 06:53:17 +03:00
Ilya Churaev
f613f618f1 Fixed set/get batch size logic for scalar inputs (#1837) 2020-08-19 06:37:04 +03:00
Gleb Kazantaev
8c5262f864 Convert Pad to GroupConvolution transformation (#1826)
* Added ConvertPadToConvolution pass

* Removed NasNet transformation from MO

* Renamed Conv to GroupConv; Added tests

* Fixed typo; Added RTTI
2020-08-18 17:40:45 +03:00
Anna Alberska
ccfa2da9bd [GNA] Implement ImportNetwork from stream (#1743)
* add ImportNetwork from stream

* add test for importing network from stream
2020-08-18 16:41:46 +03:00
Denis Orlov
494e9d201b Merge changes from 2020.4.0.1 (#1809)
* [GNA] Propagate QoS timeout to the calling app (#1188)

* [GNA] Support timeout value set in Wait (#1499)

* [GNA] stored request id for completed sync infer request in order to get status later using wait() (#1458)

* stored request id for completed async infer request in order to get it's status later

* preserved status not started for multiple sequential calls to wait()

Co-authored-by: Denis Orlov <denis.orlov@intel.com>

* [GNA] Fix callbacks (#1607)

Co-authored-by: Eugene Smirnov <eugene.smirnov@intel.com>
2020-08-18 16:11:10 +03:00
Gladilov, Gleb
630f7dfb99 [IE][VPU]: Reverts nGraph TI Unrolling for VPU (#1824) 2020-08-18 12:09:06 +03:00
Evgeny Latkin
aff0a8e5ad [IE][VPU]: Fixed MX firmware memory type patching (#1825)
Fixing Myriad X firmware loader after RTEMS 5 related changes merged into MDK
* Fixed MX firmware memory type patching
* Update firmware
* disable myriadMultipleGraphsTests_nightly

Co-authored-by: Chekhonin Andrey <andrey.chekhonin@intel.com>
2020-08-18 12:05:18 +03:00
Gleb Kazantaev
af6f99525a ConvertPrecision for element::boolean (#1772)
* Added bool to u8 conversion

* Added opset1::ShapeOf handler

* Added ReduceLogicalAnd/Or support in ConvertPrecision pass

* Moved static map inside function; Updated callbacks

* Removed header

* Fixed tyle relaxed for cases when the same output consumes by multiple inputs in the same operation; added tests; fixed input types setting for already created type relaxed operations
2020-08-18 11:10:24 +03:00
Anna Likholat
812cd1076b Java bindings (#506)
* java bindings added

* bulid saples alongside with IE build

* fixes

* fixes

* fixed comments

* fixes
2020-08-18 08:38:48 +03:00
Tomasz Socha
5e57bdc429 [FIX] Fix data layout for reshaped network (#1748)
* [FIX] Fix data layout for reshaped network

* [PATCH] Don't change compatible layouts

* Add UT for reshaped network

* FIX no. 1
2020-08-17 22:14:39 +03:00
Ilya Churaev
f17262e05f Add static library with nGraph reference implementations (#1810)
* Removed reference implementations from public API

* Remove coordinate_transform from public API

* Introduced static library with reference implementations
2020-08-17 19:43:11 +03:00
Maksim Doronin
66aa119b11 [IE][VPU]: Refactor vpu configs (#1334)
* [IE][VPU]: Refactor vpu configs

* [IE][VPU][GT]: Refactor vpu configs usage in GT

* [IE][VPU]: Refactor vpu configs usage in myriad plugin

* [IE][VPU]: Refactor vpu configs usage in tests

* [IE][VPU]: Refactor vpu configs usage in deprecated_tests

* [IE][VPU]: Refactor vpu configs usage in tools

* [IE][VPU]: Use hddl metric vars instead of macros

* [IE][VPU]: style fixes

* [IE][VPU]: Replace MYRIAD_FORCE_RESET with MYRIAD_ENABLE_FORCE_RESET

* [IE][VPU]: Resolve confilcts with MYRIAD_TILING_CMX_LIMIT_KB

* [IE][VPU]: Remove MYRIAD_PLATFORM from tools

* [IE][VPU]: Fix DISABLE_REORDER config in StridedSlice

* [IE][VPU]: Redesign config headers hierarchy

* [IE][VPU]: Clarify comments related to vpu configs

* [IE][VPU]: Leave default values of deprecated configs

* [IE][VPU]: Revert beh tests on VPU_MYRIAD_PLATFORM

* [IE][VPU]: Revert beh tests with deprecated configs

* [IE][VPU]: Resolve conflicts

* [IE][VPU]: Revert opencv dependency
2020-08-17 17:30:38 +03:00