Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update forked branch #3

Merged
merged 114 commits into from
Jan 28, 2021
Merged

Update forked branch #3

merged 114 commits into from
Jan 28, 2021

Conversation

evolosen
Copy link
Owner

No description provided.

KorA6 and others added 30 commits January 18, 2021 10:27
* Add id for NormalizeToNarmalizeL2 transformation

* Update copyright year

* Update extensions enabling/disabling mechanism

* Remove copyright change

* Copyright year

* Update documentation

* Revert missed year in copyright
* Add MVN decomposition transformation

* Add MVN-1 to MVN-6 transformation

* Apply review feedback

* Apply review feedback

* Fix build

* Fix if statement and add 5D tests

* Apply review feedback

* Apply review feedback

* Apply feedback

* Revert "Apply feedback"

This reverts commit 039fefb.

* Apply review feedback

* Apply review feedback

* Fix build issue

* Apply review feedback

* Apply review feedback

* Apply feedback
…ronPriorGridGenerator operations as nGraph ops (#3374)

* Commit.

* Started to write nGraph operation ExperimentalDetectronDetectionOutput. Written draft of the header file.

* Written draft of the cpp-file for nGraph operation ExperimentalDetectronDetectionOutput.

* Small fix.

* Added reading of ExperimentalDetectronDetectionOutput as nGraph operation.

* Some fix.

* Unregistered old shape infer function of the operation ExperimentalDetectronDetectionOutput.

* Written the header file for the operation ExperimentalDetectronPriorGridGenerator.

* Small refactoring.

* Small fix.

* Added set_output_size(3) into op::ExperimentalDetectronDetectionOutput::validate_and_infer_types().

* Added check for number of inputs of ExperimentalDetectronDetectionOutput.

* Reverted some changes.

* Changed IR for ExperimentalDetectronDetectionOutput serialization test.

* Written cpp-file of nGraph operation ExperimentalDetectronPriorGridGenerator.

* Small fix.

* Some fixes.

* Fixes in type and shape infer functions of the MO operation ExperimentalDetectronDetectionOutput.

* Now ExperimentalDetectronPriorGridGenerator is readed as nGraph operation.

* Fixed the infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Started to write tests for the shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput.

* Written the draft of the test for the shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput.

* Small fix.

* Fixed ngraph/test/CMakeLists.txt.

* Started to write tests for the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Now the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator performs correctly case dynamic input shapes with static ranks.

* Continued to write test for the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Small fixes.

* Written tests for the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator (case when input shapes are partially dynamic).

* Added test for reading ExperimentalDetectronDetectionOutput as an operation from opset6.

* Some fixes.

* Added some debug outputs.

* Deleted inserted debug output.

* Small fixes.

* Small fix.

* Small fix.

* Small change.

* Added comments to attributes of ExperimentalDetectronDetectionOutput.

* Reverted changes.

* Deleted shape infer for output port 3.

* Small fixes.

* Deleted redundant keyword 'virtual'.

* Deleted redundant usings in header files of nGraph operations ExperimentalDetectronDetectionOutput and ExperimentalDetectronPriorGridGenerator.

* Some fixes.

* Small change.

* Now GridGenerator::validate takes three args (input partial shapes).

* Small fix.

* Deleted some usings.

* Small code style fix.

* Reverted changes in validate_and_infer_types() and validate() of op::v6::ExperimentalDetectronPriorGridGenerator.

* Added description of the class ExperimentalDetectronDetectionOutput.

* Added some comments into the header file of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Some fixes.

* Added some comments to the class of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Now the MO operation ExperimentalDetectronDetectionOutput has the attribute 'version' as 'opset6'.

* Now the MO operation ExperimentalDetectronPriorGridGenerator has the attribute 'version' as 'opset6'.

* Some fixes in the MO class ExperimentalDetectronDetectionOutput.

* Fixes in the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Renamed test XML model for ExperimentalDetectronDetectionOutput serialization tests.

* Added validation of input shapes for the nGraph operation ExperimentalDetectronDetectionOutput.

* Small fixes in the XML models for serialization testing of ExperimentalDetectronDetectionOutput.

* Added tests of shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput for the case when input shapes are partially dynamic.

* Added tests of shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput for the case when some input shapes have dynamic ranks.

* Small fixes.

* Small fix in the MO operation ExperimentalDetectronDetectionOutput shape infer function.

* Fixes in op::v6::ExperimentalDetectronDetectionOutput::validate_and_infer_types().

* Code style fix.

* Small refactoring.

* Added NGRAPH_OP_SCOPE into ExperimentalDetectronDetectionOutput nGraph class.

* Added NGRAPH_OP_SCOPE to the nGraph class ExperimentalDetectronPriorGridGenerator.

* Small fixes.

* Some refactoring.

* Small fix.

* Small fixes.

* Reverted some changes in ExperimentalDetectronDetectionOutput::validate_and_infer_type().

* Now VPU reads the attribute class_agnostic_box_regression of ExperimentalDetectronDetectionOutput as Bool.

* Now MO generates attribute  'class_agnostic_box_regression' of ExperimentalDetectronDetectionOutput only with values false or true.

* Small fix.

* Tabs were replaced by spaces in some XMLs.

* Fixed copyrights.

* Refactoring in op::v6::ExperimentalDetectronDetectionOutput::validate_and_infer_types().

* Refactoring in op::v6::ExperimentalDetectronPriorGridGenerator::validate_and_infer_types().

* Small fixes.

* Started to write ExperimentalDetectronPriorGridGenerator shape infer tests for the case when dynamic input dimensions are intervals.

* Deleted redundant 'return'.

* Written tests for interval values of input shapes of op::v6::ExperimentalDetectronPriorGridGenerator.

* Code style fix.

* Code style fix.
* Added CC macro to transformations

* Fixed typo

* Added MATCHER_SCOPE

* Fixed review comments

* Try to remove MATCHER_CALLBACK_SCOPE

* Fixed matcher name

* Fixed MATCHER_SCOPE

* Added documentation

* Fixed typo

* Fixed CC for linux

* Fixed names

* Fixed docs

* Fixed typo

* FIxed comments

* Add more CC macros
They are treated as error, which leads to build failure.
Tested on Ubuntu 20.04, gcc 9.3.0.
Before this patch constant with weights could be not detected if
it wasn't directly connected to Conv/Deconv layer.
Now weights always uses common data format (bfzyx) in the plugin which is
converted into weights format later (goiyx, oiyx, etc), so weights sub-graph
can now contain anything
* Changed style of some headers

* Fixed shared buffer

* Remove chrome_trace

* Fixed comment
* Add on_adapter(Function) for serialization.

* Add port_map and back_edges serialization.

* Add 2  unit tests for TI serialization.

* Convert lambda expression into function pointer.

* Add single layer test for tensor iterator.

* Add limitation for file name length during serialization.

* Add file name length limitation for Serialize().

* Add WA for LSTMCell v0 in serialize class, new test class for TI serialization with dynamic weights, add bin path to SerializationParams, replace call to ngfunction_2_irv10 with visitor.on_attribute().

* Remove hacks for TI from ngfunction_2_irv10(), validate buffers in port_map.

* Changed year in new added test files.

* Add check for version of LSTMv0 WA, add assert for model read from file.

* Remove append_copy for xml Function, changed comparison for LSTMvo WA.

* Update second WA for LSTMCell v0 with version check.

* Remove find_child when searching for port_map and back_edges.
* Calling SetPrecission on cnn network outputs

* added tests

* get_output_name refactor

* add missing test file

* run tests on all backends (or disable if backend is not available)

* fixed tests

* fixed TestEngine
mateusztabaka and others added 26 commits January 25, 2021 22:36
HSwishFusion and HSigmoidFusion use Clamp in their patterns,
so that change allows for even more fusions.
* Add Loop serialization, SLT and regular test.

* Remove loop test from SerializationTensorIteratorTest, add bin for test loop xml.

* Remove metadata section from loop xml file.

* Remove m_num_iterations initialization, it is done during validate_and_infer_types().
* Remove Fake Quantize OP decomposition

* Fix FQ OP inheritance
* Updated container passes to return false to avoid excess function validation

* Added support for nested GraphRewrite registration

* Updated passes to use MatcherPass; Reorganized CommonOptimizations pipeline

* Disable node validation when graph is not modified
* setupvars.bat: Added logic for passing '-pyver' option as we already have in Linux* setupvars

* setupvars.bat: Fixed python_version name in echo
[GNA] Fix import model with header version 2.1

Added fix version import

Added template test

Added test for backword compatibility

added test
* [LPT] Add NormalizeDequantization function in NetworkHelper.

* [LPT] Handling subtract constant index in makeDequantization

* [LPT] Extend Add and Multiply transformations with normalizeDequantization.

* [LPT] Add/Subtract simplify normalizeDequantization call

* [LPT] normalizeDequantization: usage replace_node instead of copy assignment

* [LPT] Update lpt paths

* [LPT] normalizeDequantization completion + refactoring

Co-authored-by: Aleksandr Pertovsky <[email protected]>
- bf support for PSROIPooling
- nhwc, blocking formats support
- code refactor & performance improvements
- cpu specific tests
* Fixed compilation of ngraph python on some compilers

* Fixed ONNX importer dependencies compilation for gcc 5.4.0 and 5.5.0
@evolosen evolosen merged commit 0cf84d4 into evolosen:master Jan 28, 2021
evolosen pushed a commit that referenced this pull request Feb 15, 2021
* DPC++ link error workaround.

OpenVINO C++ program failed to link when DPC++ compiler is used.
'make_shared_blob' causes 'unresolved external symbol' error on linking.
Commented out some __clang__ specific directives to workaround the issue in "ie_blob.h".

* DPC++ compatibility issue fix #2

1. Removed type-by-type template class definition for __clang__.
2. Modified TBlob() destructor. The 'unresolved reference' error occur again if I left 'virtual ~TBlob();' only. It seems it needs to be 'virtual ~TBlob() {};'.

* DPC++ compatibility fix #3 - Add DPC++ conditional code

Uses '__SYCL_COMPILER_VERSION' predefined macro to check if the compiler is a DPC++ or not.
Added conditional directive to switch code based of the detected compiler.
NOTE: User program must include <CL/sycl.hpp>, or the '__SYCL_COMPILER_VERSION' macro won't be defined and this fix won't take effect.

* DPC++ compatibility issue fix #4

Changed from #ifdef to #if + logical formulas.

* DPC++ compatibility issue fix #5

Added compiler check logic in src/ie_rtti.cpp

* DPC++ Compatibility issue #6 - ie_parameter.cpp

Added compiler check macro for DPC++ to ie_parameter.cpp as well.

Co-authored-by: Yasunori Shimura <[email protected]>
evolosen pushed a commit that referenced this pull request Aug 2, 2021
* [FrontEnd]enable 16 ops conversion

* [FrontEnd]fix typo in interpolate

* param support tensor (#3)

* Update hard_sigmoid.cpp (#4)

* Yi3/fix paddle part2

* fix paddle conversion

* ops forward declaration

* use tile instead of broadcast

* Add validation check in dropout (#8)

* fix conflict

* fix code style

* fix transpose2

* use perm size in transpose2

* remove check in transpose2

Co-authored-by: Luo Cheng <[email protected]>
Co-authored-by: Mang Guo <[email protected]>
evolosen pushed a commit that referenced this pull request Mar 28, 2022
…toolkit#9691)

* [Transformations] Added interchangeable reshape elimination

* Applied comments #2

* returned Reshape in condition

* applied comments #3

* applied comments #4

* added comment in plugin with reason about transformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.