Commit Graph

1207 Commits

Author SHA1 Message Date
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
Ilya Znamenskiy
109da438c4
[IE CLDNN] Gemm floating point unit-tests fix (#1797) 2020-08-17 10:09:18 +03:00
Sergey Shlyapnikov
ddfdcefc5c
[IE CLDNN] Fix for DepthToSpace fusing into convolution (#1724) 2020-08-17 09:56:23 +03:00
Nikolay Shchegolev
c9251687c9
[NGraph] CTCLoss reference implementation. (#1453) 2020-08-17 06:10:51 +03:00
Ilya Churaev
4270153ad2
Remove nGraph layout (#1763) 2020-08-17 06:05:08 +03:00
Pavel Esir
4302e2c120
add preliminary support of Proposal-4 in nGraph (#1448)
renamed logits -> bbox_deltas

updated ngraph unittests for Proposal

removed validate_and_infer_types Proposal-4

removed validate_and_infer_types Proposal-4

changed validate_and_infer_types in parent class of Proposal

removed get_output_size

successfully inferred Proposal on SSH and Faster-RCNN

added unittests for Proposal-4

added unittests for Proposal-4

added unittests for Proposal-4

returned back default namespace for Proposal

reduced number of outputs in v0::Proposal

correct conversion of Proposal-4 -> propodal_ie with 2 outputs

removed creator for proposal v0

removed converter for proposal v0

added Proposal-4 to MO

removed `for_deformable` attribute

added Proposal-4 to MO and nGraph Python API

removed typo in Proposal-4 specification

style corrections

style corrections and removed some redundant code

rename proposal Python api test

removed 'attrs' context from visitor

returned back AttrVisitor to check if passes OpenVINO ONNX pipeline

Should pass OpenVINO ONNX pipeline (returned back AttrVisitor just to check)

python api for Proposal-4 works ok

(style correction) python api for Proposal-4 works ok

parametrized proposal_ie some other corrections

removed 'attrs.' context from nGraph Python API tests for Proposal

minor corrections in replacer proposal->proposal_ie

corrected Python API OpenVINO-ONNX tests should pass

Improved workaround for AttributeVisitor for Proposal

Add additional check of im_info tensor shape to Proposal node in MKLDNNPlugin

😠 removed 4 extra spaces from test_dyn_attributes.py to match The Style

added new nGraph RTTI declarations, removed throwing exception in transformation

added new nGraph RTTI declarations, removed throwing exception in transformation, corrected exception in MKLDNNplugin

corrected im_info size checking in Proposal node of MKLDNNPlugin
2020-08-16 15:49:49 +03:00
Anton Pankratv
bfedee88b2
Added split test into template plugin (#1669)
* Added split test into template plugin

* Fixed split test

* Fixed test parameters style
2020-08-15 14:44:13 +03:00
Alexander Zhogov
f01a321bba
Azure CI: Pipeline improvements (#1790)
* Azure CI: Pipeline improvements

* Fix checkout

* Fix path

* Fix "Install IncrediBuild"

* Add "submodules: recursive"

* Fix test run

* Fix work dir

* Fix issue

* Increase timeout
2020-08-15 01:31:34 +03:00
Anastasiya Ageeva
7ee14de157
Added OpenVINO Get Started Guide for Windows (#1631) 2020-08-14 18:47:58 +03:00
Gleb Kazantaev
09500905b7
Removed deprecated MulAddFusion pass (#1789) 2020-08-14 18:35:11 +03:00
Andrew Bakalin
0d35179234
[IE][VPU][GT]: Add pass for marking fast stages (#1579)
It was discovered that it is sometimes useful to mark fast stages (e.g. stages that process less than 100 elements) in order to be able to parse them from final performance report and estimate its contribution into performance.
* Added pass for marking fast stages
* Introduced unit tests
2020-08-14 18:10:57 +03:00
Alexander Chaiko
5b9141058c
[IE CLDNN] Disable non-performant fp32 batches FC layer (#1737) 2020-08-14 16:02:37 +03:00
Mikhail Letavin
2bdb658ca9
[IE CLDNN] dp4a check that works both with old and new drivers (#1766) 2020-08-14 14:50:33 +03:00
Gleb Kazantaev
983e2a922f
opset4 Convolution/GroupConvolution -> Multiply fusion (#1754)
* Added new predicates for smart pattern matching

* Added ConvMul and GroupConvMul fusion passes based on opset4; Added CPU functional tests for comparing fusion accuracy

* Improved ConvMultiply fusion to support scalars; Added positive and negative tests

* Added ConvolutionBackprop/GrouConvolutionBackprop Multiply fusion; Added functional tests
2020-08-14 13:47:02 +03:00
Ilya Lavrenov
a4dcfed1a9
Simplified plugin interfaces (#1745)
* Simplified plugin interface

* Allow not implemented

* Fixes

* Fixed CPU plugin tests

* Fixed tests dependencies

* Fixes

* Fixed GPU plugin compilation

* Renamed plugin

* Fixes

* Removed tests for plugin base

* Fix2

* Fix 2

* Define a macro to define plugin creation function

* Clean-up

* Fixed OSX build

* Fixed CentOS

* Fixed exception catch / throw

* Fixed clang issue

* Fixed python tests on macOsx
2020-08-14 12:11:54 +03:00
iliya mironov
0cc63cbb05
Add asinh acosh atanh to python api (#1488)
* Add asinh acosh atanh to python api
2020-08-14 10:07:58 +03:00
Ilya Churaev
d8133824b3
Deprecate FusedOp class (#1758)
* Deprecate FusedOps

* Try to fix windows

* Added temp headers
2020-08-14 06:27:58 +03:00
Alexander Zhogov
ea5bfaf8d6
Azure CI: Add IncrediBuild option: /MaxCPUS=40 (#1779)
* Azure CI: Add IncrediBuild options: /ShowTime /StopOnErrors /MaxCPUS=62

* set 48 cores

* Remove /StopOnErrors

* Set 40 cores
2020-08-14 00:55:34 +03:00
Ilya Lavrenov
a8842ec32e
Updated mock interfaces in tests (#1762)
* Updated mock interfaces in tests

* Added mock_engine dependency
2020-08-13 20:17:30 +03:00
Jan Iwaszkiewicz
680cdacc11
[nGraph] Add Manager to Py API (#1533)
* Added test

* working ManagerWrapper

* Clean-up in ManagerWrapper

* worksave

* fixed building error

* Finished test of constant folding

* remove unused param

* Added get_vector function

* clean up
2020-08-13 19:56:59 +03:00
Alexander Peskov
7c921b8b45
[CPU] Add explicit storage for MemoryNode (#895) 2020-08-13 19:06:20 +03:00
Sergey Lyalin
9a62e00674
TypeRelaxed implementation (#1561)
* RTTI base for ngraph::Node; cherry-pick from another branch, draft

* Added comments, moved code, switched to custom RTTI-based version of is_type

* Move rtti definitions in ngraph op class to the beginning of each class definition as a preparation for the next replacement

* Migrate part of operations to new RTTI

* Migrate GroupConvolution and Concat to new RTTI

* Apply code style for ngraph part

* Rename RTTI_DECLARATION/DEFINITION to NGRAPH_RTTI_DECLARATION/DEFINITION

* Reverted accidentally updated version of mkldnn

* TMP: rewrite RTTI back to constexprions as an attempt to fix static objects initialization order issue

* Apply ngraph code style

* Finalize move back to constexpr for RTTI

* Applied code-style

* TypeRelaxed template class implementation and necessary changes in ngraph + tests.

* Applied code-style

* Fix in fast algorithm in GraphRewrite, add new tests for this and other cases

* Make parent optional parameter for NGRAPH_RTTI_DECLARATION and remove Node::type_info; remove ability to have Node as a parent for type_info

* Try to resolve compilation error on Windows

* The next attempt to fix Windows build: re-introduce get_type_info_static

* Removed file that was removed in master and kept in this branch by mistake

* Next attempt to fix Windows build: externConstexpr

* Attempt to fix win build: extra public (suspect icc bug), remove get_type_info_static as useless.

* Next attempt to fix Windows: proxy const and constexpr

* Fixed constexpr

* Next attmpts: move get_type_info to cpp file

* Code stype fix

* Re-implemented RTTI without use of constexpr; run-time initialization is used; removed global definitions to avoid issues with order of static objects initialization

* Removed externConstexpr flag and removed TRANSFOMRATIONS_API for TypeRelaxed

* get_type_info_static initializes static local constant with type_info that is used for CLASS::type_info and CLASS::get_type_info

* Removed not needed debug output and useless comments

* Implemented better copy ctor for Node

* Fixed VisualizeTree issue for TypeRelaxed: stopped using < and > in type_info::name

* Better comments and names for methods

* Remove unused include

* Remove commented line

* Workaround for legacy conversion that uses Node::get_type_info().name as a type for the resulting CNNLayer leading to incorrect types for TypeRelaxed-based operations and then to fail in plugins

* Fixed typos, explicit ctor for TypeRelaxedBase, explanation for the need of get_overridden_output_type

* Fix typo

* Fixed issue with non-static name in type definition for TypeRelaxed and fixed WrapType to make it compatible with hierarchical relations between types

* Reverted default ctor for Output and reverted ability to reduce number of outputs for a Node; syntactically better debug message for a Node

* Cover methods of TypeRelaxedBase by tests

* Apply code-style
2020-08-13 18:45:37 +03:00
Andrew Bakalin
44236c5d9a
[IE][VPU][GT]: Fix different blobs for the same network (#1738)
* Use vector instead of unordered_map in order to get stable blob serialization.
2020-08-13 14:57:10 +03:00
Evgeny Lazarev
133baf23ef
Updated a link to MO FAQ (#1750) 2020-08-13 13:20:29 +03:00
Alexander Zhogov
98cf891b25
Azure CI: Add Windows job with IncrediBuild (#1761) 2020-08-13 13:10:12 +03:00
Gorokhov Dmitriy
ce90329b26
[CPU] Disable quantize ranges validation in order to avoid regressions (#1720) 2020-08-13 08:39:08 +03:00
Ilya Churaev
618c61537b
Remove some builders for old operations (#1736)
* Remove some builders

* Removed reshape v0 builder

* Fixed code style
2020-08-13 07:17:24 +03:00
Gleb Kazantaev
e752911b62
nGraph passes clean up (#1742)
* Cleanup pass::Manager;Update VisualizeTree to inherit FunctionPass; Removed deprecated tranformations types

* Removed legacy code; Updated docs
2020-08-13 06:49:51 +03:00
Andrey Zaytsev
df7fb6c069
Changed anchors (#1749) 2020-08-13 00:11:35 +03:00
azhogov
edbb54ff8a Revert "Azure CI: Add Windows job with IncrediBuild (#1282)"
This reverts commit 41c5f2d2d6.
2020-08-12 23:17:10 +03:00
Alexander Zhogov
41c5f2d2d6
Azure CI: Add Windows job with IncrediBuild (#1282)
* Azure CI: Add Windows job with IncrediBuild

* Update IB version to 9.4.6

* Fix "Clone submodules"

* Update IB version to 9.5

* Update install link

* Add debug out

* Update debug out

* Remove debug out

* Disable initiator machine from acting as helpers
2020-08-12 20:22:00 +03:00
Anna Alberska
93d3fec503
[GNA] fix scale factor issue in remove permutation test (#1740) 2020-08-12 17:37:00 +03:00
Mateusz Tabaka
df448c092e
Improve SpaceToDepth tests (#1661) 2020-08-12 16:06:09 +02:00
Ilya Churaev
819aadd981
Removed ngraph assertion (#1719) 2020-08-12 15:39:51 +03:00
Ilya Churaev
b5cf2a1f2e
Removed cpio (#1735) 2020-08-12 15:39:23 +03:00
Alexey Moskalev
750fc90293 Update issue templates
Removing wrong template
2020-08-12 13:17:34 +03:00
Alexey Moskalev
8d196e1e6d Update issue templates
removing wrong templates
2020-08-12 13:16:22 +03:00