Commit Graph

1543 Commits

Author SHA1 Message Date
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
Vladislav Vinogradov
fa8d07aebe
[NGRAPH] Fix system protoc version check in CMake (#1852)
Add `OUTPUT_STRIP_TRAILING_WHITESPACE` option to `execute_process` command.

Latest CMake (tested 3.18.1) doesn't strip new line from `protoc --version` call,
which leads to wrong `PROTOC_VERSION` variable and failure on git fetch step.
2020-08-19 16:05:00 +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
Evgeny Lazarev
ff7f4c61f3
Removed MO conversion of i64 inputs to i32 (#1835) 2020-08-19 13:58:57 +03:00
Anton Chetverikov
4925485c14
ExtractImagePatches MO implementation and nGraph transformation (#739) 2020-08-19 13:23:41 +03:00
Yegor Kruglov
b3e7cc55a6
[ MO ] Random Uniform Replacer (#1814) 2020-08-19 12:32:16 +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
Ilya Churaev
6ab61c1f7b
Fixed path for pad reference impl (#1846) 2020-08-19 09:41:59 +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
Maxim Vafin
6b04eca3c2
Add Range-4 support (#1552)
* Add Range-4 support

* Add type infer and IR Reader extender

* Implement ngraph Range-4

* Implement evaluate for Range-4

* Remove not needed types

* Resolve review feedback

* Add RTTI defines
2020-08-19 07:58:41 +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
Mateusz Bencer
a63c8d9537
Optimize Concat operation (#1812)
* 1d case optimization

* code refactor

* concat optimization

* removed using template for concat

* unit tests to concat constant folding

* synchro with current master
2020-08-18 18:28:57 +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
Ilya Lavrenov
579cec716e
Ngraph: hide itt.hpp to src (#1834)
* Use proper include for log.hpp

* Hide itt.hpp to src folder

* Removed CodeWriter
2020-08-18 16:50:37 +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
Ilya Churaev
04475bc1b2
Add arithmetic operators for bfloat16 (#1831) 2020-08-18 13:49:30 +03:00
Roman Kazantsev
b01112bcbc
Fix a specification for CTCLoss operation (#1786) 2020-08-18 13:47:59 +03:00
Tomasz Dołbniak
1cb1f13eaa
v1::Pad evaluator (#1771)
* v1::Pad reference implementation

* ut fix: pad_negative_exterior_1d

* ut fix: pad_negative_exterior_1d_check_limits & pad_edge_1d

* Code formatting

* ut fix: pad_edge_1d_top_neg & pad_edge_1d_top_neg_bigger_than_tensor

* More Pad UT fixes

* Pad UT fixes: REFLECT mode

* Fix all Pad UTs

* Switch Pad evaluation in INT backend

* Non-template solution to v1::Pad::evaluate

* Always create v1::Pad with 4 inputs

* VS compilation error fix

* Python test fix

* Remove the v0::Pad constant folding pass

* Some extra checks in v1::Pad evaluator

* Code formatting

* Remove an obsolete CF test
2020-08-18 13:43:54 +03:00
Mateusz Bencer
ea80bc3d6f
Add ONNX Round op (#1605) 2020-08-18 12:10:23 +02: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
Ilya Lavrenov
57ab1e74a4
Removed NGRAPH_API from reference library (#1821) 2020-08-17 22:46:12 +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
Roman Kazantsev
753150642e
Extend MO for operation CTCLoss and partly refactor CTCGreedyDecoder (#588)
* Extend MO for operation CTCLoss

* Change sequence length format to a mask format

* Add fixes after first-round review

* Add fixes after the second-round review

* Fixing CTCLossPlusCTCGreedyDecoder transformation
2020-08-17 19:19:59 +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
Evgeny Lazarev
125a462400
Enable ReduceL1 and ReduceL2 operations (#1799)
* Initial version of ReduceL1, ReduceL2 and ReduceLp enabling in the MO

* Added operations ReduceL1 and ReduceL2 to nGraph

* Removed ReduceLp. Added ReduceL1 and ReduceL2

* Separated specification of ReduceLp into ReduceL1 and ReduceL2

* Updated ReduceL1 and ReduceL2 specification

* Fixed ReduceL1 and ReduceL2 type prop tests

* Implemented nGraph transformation to decompose ReduceL1 and ReduceL2. Disabled them for CPU and GPU plugins

* Updated supported framework layers

* Added unit tests for ReduceL1 and ReduceL2 reference implementation

* Fixed ReduceXXX operations reference implementation by adding support for a new parameter 'keep_dims'

* Fixed constant folding for v0::Any

* Added ReduceL1 and ReduceL2 to Python API

* Implemented ReduceL1 and ReduceL2 decomposition tests and fixed ReduceL2 decomposition

* Added specific creator for ReduceXXX operations instead of NodeBuilders

* Fixed conversion ReduceXXX to CNNLayer

* Fixed parser for ReduceLogicalXXX operations
2020-08-17 16:32:53 +03:00
Mikhail Letavin
7c9815b4c1
[IE CLDNN] Export runtime graph as nGraph function (#1684) 2020-08-17 16:27:33 +03:00
Gleb Kazantaev
aa35c59c5f
FGTT for CF (#1792)
* Added FGTT for ConstantFolding

* Added test for CF disabling
2020-08-17 15:39:58 +03:00
Maxim Vafin
d52bfb5149
Fix problem with renaming outputs from network (#1546) 2020-08-17 14:38:41 +03:00
Vladimir Paramuzov
8db6eeec67
[IE CLDNN] All input layouts support in ref pooling (#1782) 2020-08-17 14:34:49 +03:00
Maxim Andronov
5d73859255
[CPU] fix conv + concat case and add tests (#1747) 2020-08-17 14:25:53 +03:00
Ilya Churaev
6c98590bcd
Removed template headers for Fused Ops (#1780) 2020-08-17 13:37:00 +03:00
Anastasia Kuporosova
347926c436
[Python API] Deprecate IENetLayer class (#1731)
* [Python API] Deprecate IENetLayer class

* update samples

* undo changes in samples
2020-08-17 12:41:54 +03:00
Vladimir Paramuzov
be402cc6cf
[IE CLDNN] Set arguments once (#1699) 2020-08-17 12:39:30 +03:00
Mateusz Bencer
73fc659f6d
Add reference implementation to VariadicSplit (#1698)
* implementation of variadic split ref impl

* Added tests

* added unit tests

* refactor

* review remarks

* fixed ie tests
2020-08-17 11:13:06 +03:00
Evgeny Latkin
b56b243d7a
[IE][VPU][GT]: fix pool 3d to 2d reduction (#1760)
* Fix minor error in pooling 3D to 2D conversion
2020-08-17 11:02:00 +03:00