Commit Graph

524 Commits

Author SHA1 Message Date
LuweiZhou
0c10950032 Revise erf OP (#6477)
* Revise Erf OP sepc

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Revise the NGraph Erf OP implment to switch to RTTI.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Remove the duplicated Erf in the activation type vector.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add NGraph visitor API test case.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Enalbe the Erf visitor API CmakeLists.txt.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Revise the Erf OP backend test

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Migrate to use the template test.

* Add erf type_prop test.

* Update the license

* Unary Visitor test template fix

-Migrate OP Tanh to use RTTI;
-Remove the using namespace in the header file
-Migrate the Swish and Tanh visitor test to use template code


Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Revert "Unary Visitor test template fix"

This reverts commit b686c933d3.

* Update the doc format.

* Update the document format and description.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add Erf OP into the layer test summary list

* Migrate the Erf backend test into template_plugin infrastructure

* Update the Erf supported input type.

* Remove the boolean type support in erf reference implement.

validate_and_infer_elementwise_arithmetic() will fail with boolean type.

* Update the erf test  with all supported types.

* Update with separate namespace of CommonReferenceTest
2021-07-26 07:15:40 +03:00
Anastasia Popova
c776ea90d8 Added specification for RandomUniform operation. (#6196)
* Added RandomUniform specification.

* Extended description of obtaining float numbers.

* Added description of obtainin float16 and double values.

* Added description of xor symbol.

* Small correction.

* Small corrections.

* Added initial type attribute.

* Corrected IR example, removed unnecessary default values.

* Small correction.

* Added information about type cast between initial and output types.

* Removed initial type attribute.

* Corrected output_type description.

* Corrected minval, maxval description. Corrected IR example.

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Removed unnecessary paper link.

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-07-23 14:22:53 +03:00
Szymon Durawa
fa057627ec Ref implementation mvn revise (#6600)
* Add visitor and backend tests.

* Add reduction_axes to SLTs, serialization and backend tests.

* Update backend tests.

* Move backend tests to template plugin, remove old ones.

* Apply correct format.

* Add BF16 to SLT, add comment regarding deprecated class.

* Remove BF16 precision as it is not supported in windows, no default values for attributes.

* Reuse Tensor from base_reference_test.hpp
2021-07-23 07:47:08 +03:00
Patryk Elszkowski
35fb3f3d7d Acosh ref impl (#6664)
* minor changes in Op class and add ref impl for acosh

* acosh in new test framework

* add Acosh type test

* add SLT for Acosh

* run more test

* new acosh plugin test

* add visitor test

* fix test utils

* add template test for all supported types in Acosh

* add builder to template tests

* update grn template_plugin test

* update maste to feature branch
2021-07-22 12:59:59 +03:00
Eugeny Volosenkov
37b46de164 If spec (#6296)
* Add If specification

* Fix spec

* Fix doc

* Fix doc

* Fix Description

* Add detaile description

* Fix IR

* Fix IR

* Fix IR

* Fix IR

* fix doc

* fix doc

* Change internal network to subgraph

* move to condition dir

* Change opset in IR

* Fix comments

* Fix comments

* Fix comments

* Update to master

* fix comments

* fix ci
2021-07-21 15:52:37 +03:00
iliya mironov
a3bf106b48 Add retinanet convert doc (#6342)
* Add retinanet convert doc

* Fix doc

* Update doc

* Fix doc mistakes

* Update doc

* Update doc according to review

* Split some text to several lines

* Update ie_docs

* Update title for ie_docs

* Change tabs to space
2021-07-21 14:59:14 +03:00
Jozef Daniecki
dba1fb9adc Revise specification for Select operation (#6488)
* Add types section and refactored input tesnsor description.

* Stylistic changes.

* Marked inputs as 'Required'.
2021-07-21 14:23:56 +03:00
Jozef Daniecki
226cb952ae Select operation revision (#6483)
* Add visitor test.

* Add Serialization SLT.

* Add Select-1 to summarize.py.

* Remove select from evaluates map.

* Remove few Select cases from manifest.

* Fix style.

* Refactor CoordinateTransform usage for NUMPY.

* Refactor CoordinateTransform usage for PDPD.

* Migrate backend tests to template_plugin.

* Revert "Fix style."

This reverts commit 8298c90104.

* Add more template plugin tests.

* Fixes for PDPD broadcasting.

* Align Select type prop tests with PDPP broadcasting to new
implementation.

* Remove ngraph:: from types in tests.
2021-07-21 08:13:40 +03:00
Patryk Elszkowski
af2989248f update Acosh spec (#6677) 2021-07-21 06:31:37 +03:00
Piotr Szmelczynski
c2c6fe59da Revise sign (#6581)
* update docs

* add sign to intActivationTypes

* add RTTI macro

* update backend test

* add type prp test

* add visitor test

* add visitor and type_prop test to CMakeList

* add sign to constants.py

* delete backend tests and create new reference tests

* style fix

* remoove sign backend test from CMakeList

* create reference test for all supported types

* remove boolean type from evaluate method
2021-07-20 11:22:22 +03:00
Szymon Durawa
21bf92d5c8 Update spec for MVN-1 and MVN-6. (#6554)
* Update spec for MVN-1 and MVN-6.

* Add reduction_axes attribute to MVN-1.

* Fix mean value calculation using ReduceMean.

* Correct reduction_axes attrbute name.

* Restore default value for normalize_variance and eps_mode.

* Remove dafult value for required attributes.

* Correct typeo.
2021-07-20 10:30:11 +03:00
Bartosz Lesniewski
4373b0cb7d Revise PriorBoxClustered Spec (#6539)
* Move detailed description up, add backtics to attr types

* Add backtics for range in clip attr description, remove non-existing attributes

* Adjusting the spec to review comments

* floating-point instead of floating point, remove default value for mandatory attribute
2021-07-19 06:41:35 +00:00
Katarzyna Mitrus
f1ab0b3938 GRN spec revision (#6666)
* Update detailed description

* Update attrs description

* Add Types section and Inputs Outputs description

* Update example
2021-07-16 15:15:55 +03:00
Katarzyna Mitrus
fa8f45b7f2 GRN - reference revision and tests (#6629)
* Add GRN shared single layer test instance for CPU

* Remove GRN backend tests from fused_op.in

* Init GRN new template reference tests

* Add more bias values to GRN single layer tests

* Add more GRN template reference test cases

* Remove unused parameter from GrnParams

* Refactor GRN template referene tests and add more types

* Add anonymous namespace

* Add bf16 type to cpu single layer tests

* Add Serialization test

* Add GRN to revised ops
2021-07-16 14:47:13 +03:00
Patryk Elszkowski
39afcb2e99 use floating-point in docs (#6659)
* use `floating-point` in docs

* Get back capital letter.
2021-07-16 07:48:45 +03:00
Patryk Elszkowski
20f10a43a4 bulk change to unify **Required.** and **Optional.** (#6503) 2021-07-15 09:17:23 +02:00
Patryk Elszkowski
ca9e495e13 update FakeQuantize spec (#6608)
* update FakeQuantize spec

* remove `**Default value**: None` for required attribute
2021-07-15 08:45:37 +03:00
Sergey Lyubimtsev
c8c515e403 Install guides improvements (#6418)
* Install guides improvements

* add bullet to conda  System Requirements

* fix formating

* - Add conda install command for Ubuntu20

- fix typo /tmp

* added conda prerequisites

* Update installing-openvino-apt.md

* Update installing-openvino-conda.md

* Update installing-openvino-conda.md

CentOS 7.6

* Update installing-openvino-apt.md

APT Repository

* Update installing-openvino-conda.md

Added Introduction & notice about runtime package

* Update installing-openvino-conda.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2021-07-14 17:55:12 +03:00
Patryk Elszkowski
b9d02939b3 remove **Default value**: None when **Required**: *yes* (#6638) 2021-07-14 15:00:29 +03:00
Katarzyna Mitrus
015ad868ef NormalizeL2 spec revision (#6512)
* Move and update details description

* Update Required style

* Update Particular cases description

* Update eps_mode range

* Update inputs description

* Update outputs description

* Add Types section

* Update short description

* Update examples

* Update descriptions

* Add headers to examples

* Update eps_mode attribute description

* Fix have -> has typo

* Remove default value from Required attributes
2021-07-13 06:49:30 +03:00
Maxim Vafin
86e5625db6 Add iSeeBetter to supported PyTorch models list (#6177) (#6278) 2021-07-12 20:48:17 +03:00
Maxim Vafin
3b77b405b9 Fix FasterRCNN conversion documentation (#6612) 2021-07-12 19:42:16 +03:00
Ilya Churaev
811f4c5ae9 Template reference tests (#6456)
* Added convert tests

* Moved convert tests to template plugin

* Fixed build

* Fixed comments

* Fixed templateFuncTests

* Fixed review comments

* Added dynamic registration of template plugin

* Fixed functional tests

* Fixed behavior tests

* Added ticket

* Try to avoid fails
2021-07-12 14:24:36 +03:00
Sergey Lyubimtsev
79a6ad0c0f [OV-DOC] Issues with pypi-openvino-dev.md (#6343)
* [OV-DOC] Issues with pypi-openvino-dev.md

* add example for pip install on Ubuntu

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-07-09 17:32:26 +03:00
azhogov
975496df16 Convert *.png and *.bmp files to LFS 2021-07-08 14:06:38 +03:00
Szymon Durawa
baef88c8fb Cosh revise. (#6516) 2021-07-08 09:03:59 +03:00
Gabriele Galiero Casay
e63b7dc39c BatchToSpace specification refactoring (#6528)
* BatchToSpace specification refactored

* Add minor changes

 * Added \ldots to latex formula
 * Change output tensor to lower-case y
 * Added mention to reverse operation SpaceToBatch

* Corrected dots in formulas

* Enable rank greater or equal than 2 for data input and add more examples

* Minor changes in detailed description

* Improve short and detailed descriptions
2021-07-08 07:50:29 +03:00
Tingqian Li
340583fa35 Tq/revise asinh (#6498)
* update spec

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* use RTTI macro

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* fix op scope typo

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* simplify evaluate template function

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* override validate_and_infer_types() to align with spec

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add visitor API test

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add type_prop test

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add SLT asinh test in cpu/gpu plugin

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* change `T` in the spec to *T*

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* refector spec according to Cos

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Support element type of integral

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add new cpp files into CMakeLists.txt

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>
2021-07-08 07:18:09 +03:00
song, bell
bee21b5c5b revise atan op (#6288)
* revise atan op

* use parametrized vistor API

* use new gtest macros

* Update docs/ops/arithmetic/Atan_1.md

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>

* Update docs/ops/arithmetic/Atan_1.md

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>

* Update ngraph/core/src/op/atan.cpp

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>

* update doc to follow the rules

* create type_prop for atan

* drop op_eval to be covered in backend

* add the missing type prop case

* add integer type ref impl

* fix clang issue

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
2021-07-06 09:45:18 +03:00
Anastasiya Ageeva
d830226d7e Fixed CVS-58871 (#6518) 2021-07-05 21:53:06 +03:00
Bartek Szmelczynski
13de29db97 Revise sinh (#6432)
* update sinh spec

* add rounding for integral type

* refactor ngraph sinh class, add backend, visitors and type_prop tests

* refactor backend test for int32, remove redundant includes, refactor spec, add SLT for ints

* fix style

* add sinh to list of trusted ops

* re-add Sinh to int SLT

* update python modules

* revert update of python modules, and fix the depracated typed_test formula

* fix deprecated typed_test formula
2021-07-05 10:11:02 +03:00
Ilya Lavrenov
50c73e6914 Allow aliased targets for apiValidator check (#6508) 2021-07-05 09:48:05 +03:00
Maxim Vafin
f1af26dbaf Add adaptive pool reference implementation (#6317)
* Add adaptive pool reference implementation

* Add forgotten files

* Fix codestyle

* Disable tests

* Add more tests

* Fix build

* Fix comments

* Remove CoordinateTransform usage from AdaptiveAvgPool

* Fix build

* Refactor AdaptiveMaxPool

* Fix codestyle

* Apply review feedback

* Simplify if statement
2021-07-05 08:36:27 +03:00
Ivan Tikhonov
033274c141 Deformable convolution v8: ngraph part (#6443)
* Deformable convolution: ngraph part

* fix docs

* add visitor api tests

* apply review remarks
2021-07-02 19:31:09 +03:00
Patryk Elszkowski
06013d1596 SpaceToDepth update spec (#6426)
* SpaceToDepth update spec

* fix T to be italic

* add spaces around `/`

* fix **Required.**
2021-07-02 18:22:46 +03:00
Ilya Lavrenov
8cc1737b5d Removed EXPORT_DEPENDENCIES from addIeTarget (#6502)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly

* Removed EXPORT_DEPENDENCIES
2021-07-02 17:17:44 +03:00
Ivan Tikhonov
00c8ccc9b5 Update LowLatency2 documentation (#6266) 2021-07-02 15:14:40 +03:00
Patryk Elszkowski
de53c40578 bulk change type T to type *T* in spec (#6486)
* bulk change `type T` to `type *T*` in spec

* update all `T` which referee to type to use *T* pattern

* get back with `T` where T is dimension

* fix *T*1 -> *T1*

* Make italic types where was no formating
2021-07-02 13:51:00 +03:00
Svetlana Dolinina
ccf786438b Kaldi priors (#6258)
* add priors to loader and counts transformation

* fixes in select insertion for case with context gathering - LSTM - context gathering
fix for edge parallel to ReadValue
extend counts option to case of priors inside mdl model file

* fixed tests

* fixed typo

* fixed issue with input names

* fix priors loading + comments

* fix e2e test: error with not found transformation

* print debug info for dependency graph - should be reverted

* should be reverted: debug commit

* Revert "fix e2e test: error with not found transformation"

This reverts commit 8320fa99bf.

* revert debug commits

* fixes after review

* review fixes

* review change

* review changes
2021-07-02 15:18:23 +05:00
Ilya Lavrenov
fc7f80a34e CVS-34900: updated pugixml to v1.11.4 (#6301)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly
2021-07-02 11:36:31 +03:00
Bartosz Lesniewski
520a6bd647 Revise PriorBox Spec (#6364)
* Revise PriorBox spec

* Tex cosmetics

* use backticks for attr types, add types section

* Add missing default values for optional attributes

* Remove redundant sentences in attr descriptions, add clip to detailed description
2021-07-01 13:11:36 +03:00
Piotr Szmelczynski
6d5e6de895 Revise cos (#6429)
* Update docs

* create type_prop test for cos

* Create visitor test foor cos

* add RTTI macro

* Create separate ref impl for integer input

* add cos to SLT integer activation type

* add backend test for int input

* add cos to constants.py

* style apply

* fix spec

* add ngraph check for outputs and inputs

* fix inputs ngraph check

* remove unnecessary includes

* style dix
2021-06-30 18:46:11 +03:00
Ilya Lavrenov
07f94ea602 Minimized usage of IE_MAIN_SOURCE_DIR (#6422)
* Minimized IE_MAIN_SOURCE_DIR hardcode

* Used COMPILE_OPTIONS instead of COMPILE_FLAGS

* Fixed compilation

* Enabled NGRAPH_DYNAMIC_COMPONENTS_ENABLE by default

* Fixes

* Moved GNA related file

* Fixed backend compilation

* Fixed Windows for ngraph

* Fixed <root>/tests build

* More updates

* Fixed scripts install

* Fixed Windows

* Fixed Windows
2021-06-30 18:15:41 +03:00
Pavel Esir
50a9ea0b14 [doc] Corrections for Yolo V1 and V2 conversion (#6283)
* added corrections for Yolo V1 and V2

* changed order of conversion commands : v1 goes first general last

* aligned line endings

* added commit hash
2021-06-30 15:22:31 +03:00
Ilya Lavrenov
db0145be1e Proper location for IRv7 reader unit tests (#6444) 2021-06-29 21:50:56 +03:00
Patryk Elszkowski
65aa58a06f update spec for DepthToSpace operation (#6315)
* Update speck

* remove ONNX link and fix type of output

* fix `block_size` description
2021-06-29 16:02:57 +03:00
Ilya Lavrenov
f6a0195e18 Updated install rules for tests targets (#6420)
* Move tests

* Fixed Windows
2021-06-29 15:24:27 +03:00
Maksim Proshin
a0091768ea [doc] Improved description of OpenVINO workflow (#6128)
* Update get_started_dl_workbench.md

POToolkit => POTool

* Update QuantizedNetworks.md

POToolkit => POTool

* Moving POT to optimizations section

Moving POT to optimizations section

* structure

* links

* step 1

* step 1 diagram

* step 2

* typo

* step 4

* step 4 diagram

* step 3

* minor corrections

* Applied comments

* Applied comments from Tatiana

* Applied comments from Alex
2021-06-25 19:54:07 +03:00
Ilya Lavrenov
391aeebf7e Added install rules for tests (#6344)
* Moved cmake/templates to <root>

* Removed ngraph versioning, reused IE one

* Merged converage

* Removed duplicatde ngraph cmake options

* Moved dependencies to <root>/cmake

* Removed installing of VERSION

* Start #1

* cpack

* Added component type

* Added installation of tests targets

* Added ngraph tests target install

* Fixed runtime dependencies location

* Disable GNA unit tests

* Revert "Disable GNA unit tests"

This reverts commit da5398622f.

* Installed only core component

* Replaced ENABLE_DEV_PKG_INSTALL with EXCLUDE_FROM_ALL

* Removed extra cmake options
2021-06-25 15:17:17 +03:00
Denis Orlov
9eb5d875cd [Doc] Reference POT in documentation for GNA plugin (#6248) (#6346) 2021-06-25 12:29:33 +03:00