Commit Graph

755 Commits

Author SHA1 Message Date
Dawid Kożykowski
1a92a69515 Refactor visitor tests for UnaryElementwiseArithmetic ops (#6756)
* remove namespace dependencies from header file

* add RVO-exploit string concatenating

* update acosh test

* update erf test
2021-07-26 15:46:31 +03:00
Ilya Lavrenov
37c619b0b8 Fixed compilation with Intel compiler (#6788)
* Fixed compilation with Intel compiler

* Fixed template containers for VPU

* Fixe one-dnn

* Updated submodule
2021-07-26 12:42:05 +03:00
Mikhail Nosov
ea60879a8b PDPD: Install generated PDPD test models as 'test' component (#6783)
* Install generated PDPD test models as 'test' component

Needed when test package is installed on another machine which don't have generated models

To search installed models, 'FE_TEST_MODELS' env variable is introduced

* Clang fixes

* Fix PDPD_Places test from latest master
2021-07-26 10:12:26 +03:00
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
Ivan Tikhonov
6e8b0e0ea6 pdpd Place: remaining methods, refactoring, unit tests (#6637)
* pdpd Place: remaining methods, refactoring, unit tests

* resolve merge issues

* use references instead of shared_ptr for Var and Op descs

* Add import pdpd fuzz test; To enable collection of pdpd models, cmake NGRAPH_PDPD_FRONTEND_ENABLE key should be set, the models will be generated to pdpd_test_models folder.

* fix ngraph codestyle

* fix review comments

* Add new methods for Place class

* fix implementation, add tests

* Place: Return nullptr instead of throwing an exception

* ngraph codestyle

* revert return nullptr

* fix build

* fix tests

* fix fuzzing tests

* fix fuzzing tests

* fix readme file

* Revert "fix readme file"

This reverts commit d061e69a0d.

* Resolve review comments

* ngraph codestyle

Co-authored-by: Somsikov, Andrey <andrey.somsikov@intel.com>
2021-07-23 15:22:05 +03:00
Mikhail Nosov
ac0f3c5271 Install 'paddlepaddle' for Azure-Linux CI (#6764) 2021-07-23 09:14:08 +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
Ilya Lavrenov
21e678eb78 Fixed ngraph unit-test compilation with protobuf-lite (#6734) 2021-07-22 11:56:40 +03:00
Ilya Lavrenov
7d85d61083 Fix for cmake 3.21.x (#6722)
* Fix for cmake 3.21.x

* Removed a lot -Wno-* compile options
2021-07-21 11:55:41 +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
Ilya Lavrenov
b62d93efff Enabled code style check for tests (#6724) 2021-07-20 18:59:38 +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
Maxim Vafin
960ba48e6f Rework model loading in FE manager, implement PDPD probing (#6358)
* Rework model loading in FE manager, implement PDPD probing

* Fix build

* Fix build

* Fix build

* Fix unicode

* Fix merge issues

* Fix codestyle

* Read frontends path from frontend_manager library location

* Fix codestyle

* Fix FE dependency

* Fix dependencies

* Fix codestyle

* Check if model file exists

* Revert adding model to lfs

* Add test model

* Fix cmake dependencies

* Apply review feedback

* Revert pugixml

* make getFrontendLibraryPath not public API

* Fix codestyle

* Apply fix from Ilya Lavrenov

* Add FE dependency in legacy tests

* Remove not needed dependency

* Better support Unicode

* Fix build

* Fix build

* Fix build

* Add dependency foe deprecated tests

* Fix dependency

* Fix typo

* Revert adding FE dependency to IESharedTests

* Remove relative paths from frontend unit tests

* Apply review feedback

* Fix typo

* Return allow-undefined, since kmb dependecies fail to link

* Fix merge conflict

* Compare functions in reader tests

* Simplify code to load from variants

* Remove supported_by_arguments from public api

* Fix codestyle

* Fix build

* Compare names in reader tests

* Fix wchar in variant

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2021-07-19 20:10:00 +03:00
Patryk Elszkowski
0d9212683f FakeQuantize - reference implementation refactor (#6478)
* new implementation of FakeQuantize

* move FakeQuantize backend test to fake_quantize.in.cpp

* enable some test for FakeQuantize

* Add support for PDPD broadcasting and some backend tests

* arm plugin expect less attributes in function call

* try to fix arm plugin build

* try to build arm plugin

* start changing backend test

* add check for attributes number in visitor test

* fix backend test after refactoring

* add default parameter value to runtime::reference::fake_quantize

* Revert "add default parameter value to runtime::reference::fake_quantize"

This reverts commit 9d2c00d967.

* add SLT for FakeQuantize

* remove fesetround

* change `v1` namesapce to `v0` in ref impl

* add FakeQuantize-1 to VERIFIED_OP_REFERENCES

* pass immutable reference to test functions
2021-07-19 12:20:54 +03:00
Ivan Tikhonov
697c52abfe DeformableConv v8: reference implementation (#6514)
* DeformableConv v8:reference implementation

* ngraph codestyle

* update reference iplementation

* Disable tests on GPU

* fix unit tests

* Update DeformConv single layer tests

* fix serialization tests
2021-07-19 06:15:34 +03:00
Ilya Lavrenov
bc36425381 Added suggest-override flag (#6631) 2021-07-16 18:55:05 +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
Ilya Lavrenov
1621c66ad8 Static protobuf for FEs (#6588)
* protobuf static + mixed editor and importer

* merged onnx common

* remove ngraph_test_util to onnx_importer and onnx

* styles applied

* Revert "remove ngraph_test_util to onnx_importer and onnx".

* test ngraph_test_util dependencies

* Fixed static protobuf

* Next

* Fixes

* Fixed cross-compilation

* Don't export / install onnx_proto

* Fixed Windows

* Fixed opencl headers

* Fix

* Added exclude-all for exe as well

* Fixed code style

* Try without LTO

* LTO off only for onnx importer

Co-authored-by: mbencer <mateusz.bencer@intel.com>
2021-07-16 07:25:40 +03:00
Katarzyna Mitrus
ebb3c8518c ShuffleChannels - add to revised ops (#6624)
* Update opset in attributes test

* Update attributes test input shape

* Add to revised ops
2021-07-15 08:55:29 +03:00
Katarzyna Mitrus
23a1d1f574 GRN ngraph op revision (#6611)
* Remove FusedOp inheritance

* Unify namespace usages

* Add type_prop test for dynamic

* Add check for attributes number in visitor test

* Add missing  ngraph op scope macro

* Update type_prop expect

* Remove ngraph deprecated start

* Remove node include
2021-07-15 08:52:38 +03:00
Bartosz Lesniewski
c14edd4134 Revise PriorBoxClustered Op (#6525)
* Move type prop tests to separate file, add cases with exceptions thrown

* Add visitor test, add step to pbc attributes

* SLT for CPU, adjust GPU and SSLT to serve the step attr

* Add backend test

* Fix variance issue, verify by SLT

* Formatting fix

* Add another backend testcase

* Add PriorBoxClustered to trusted ops list

* Add step attr description, remove obsolete comments from ref impl

* Test multiple step values in SLT
2021-07-15 07:27:51 +03:00
Luo Cheng
2378593bd5 MulticlassNms/MatrixNms: ngraph python api (#6573)
* nms python api

* fix python code style

* fix python code style

* apply review comments

* apply review comments
2021-07-14 07:06:39 +03:00
Katarzyna Mitrus
b7cc01b8e2 NormalizeL2 - reference implementation revision (#6349)
* Update SLT to generate input with 0 and eps sensitive treshold

* Fix normalize_l2 reference to enable empty axes case

* Simplify empty axes case

* Moved backend tests from fused_op

* Update SLT treshold

* Enable SLT for empty axes case

* More single layer tests

* Backend tests refactor

* Add helper function to for normalize_l2 backend tests

* Rewrite NormalizeL2 backend tests to use test case and common helper function

* Update layer tests

* Cleanup unit-tests manifest

* Add more backend tests

* Update comments

* Fix applying eps in MKLDNN normalize

* Add 5D tests

* Backend tests refactor

* Remove duplicated tests

* Upate IE tests manifest

* Add 5D SLT

* SLT cleanup

* Update skipped SLT for CPU

* Add NormalizeL2 to verified ops

* Skip GPU SLT for empty axes case

* Update SLT epsilon values

* Revert mkldnn_normalize changes

* Update tests and issue nubmers

* Remove reudndant axes copy from reference
2021-07-12 16:28:24 +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
Mateusz Tabaka
1a5bd8a510 [ONNX] Split importing model to two phases: decode and convert (#6326) 2021-07-12 12:13:25 +02:00
zhangYiIntel
8fb1182670 PaddlePaddle frontend - OP Conversion Part1 (#6501)
* enable pdpd fuzzy test

* add 6 op conversion

* apply review suggestions

* correct cnpy location in test CMakeLists
2021-07-12 09:21:23 +03:00
Gleb Kazantaev
2a970a56d3 Enable common optimizations on MO (#6245)
* Enable common optimizations on MO

* Added tensor name tracking; updated tests

* Disable DilatedConvolution transform

* Fix TopK3 transformation

* Codestyle fix

* Update tensor name logic

* Fix scatter nd shape inference for dynamic shape

* Update FrameworkNode to propagate dynamic output shape

* Enable HSwish in MO that is missing in nGrpah

* Cleanup MO and IE code

* Fix review comments

* Fix unit test
2021-07-09 00:38:07 +03:00
Szymon Durawa
baef88c8fb Cosh revise. (#6516) 2021-07-08 09:03:59 +03:00
Ilya Churaev
23f4bf4e70 Removed legacy tests (#6558) 2021-07-08 08:01:40 +03:00
Gabriele Galiero Casay
a4fef45e0c Enable lower input rank for BatchToSpace operation by fallback (#6553)
* Enable lower input rank for BatchToSpace operation by fallback

* Added conditions to check valid data input rank for evaluate and has_evaluate methods
2021-07-08 07:47:01 +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
Evgenya Stepyreva
e9011a9536 ShapeOf Sub-Graphs Simplification (#6308)
* ShapeOf Sub-Graphs Simplification

* Removed graph visualization

* Review comment

* comments resolved
2021-07-07 18:12:14 +03:00
Mikhail Nosov
72a4d6d9d9 Leftover of PR #6508 - change PDPD_PYTHON_OK to paddlepaddle_FOUND (#6547) 2021-07-07 13:05:04 +03:00
Luo Cheng
da8aeec07b Reference implementations for MulticlassNms and MatrixNms ops (#6264)
* Reference implementations for MulticlassNms and MatrixNms ops

* fix name conflict

* remove unused var
sort_result_across_batch default set to false

* avoid float overflow

* fix clang check error

* info for mac fail

* change testcase due to unstable sort

* nms add 'normalized' attribute

* fixes: 1. normalized support. 2. sort by score before keep_top_k inside a batch.

* fix sort order in matrix_nms

* fix review comments

* use structure for attributes

* avoid centos gcc fail

* avoid centos gcc failed

* Update evaluates_map.cpp

header file alpha-beta order to avoid possible conflict in future.

* use pointer instead of HostTensorVector

* fix review comments

* fix review comments

* use reference pass parameter

* reuse rect,boxinfo,postprocess

* fix compiling fail

* fix review coments

* use TestCase instead Backend

* fix macos case failed

Co-authored-by: jialipen <cecilia.peng@intel.com>
Co-authored-by: Zhang Yi3 <yi3.zhang@intel.com>
Co-authored-by: yuvrgb <yuvrgb@outlook.com>
2021-07-07 11:19:49 +03:00
Gabriele Galiero Casay
79f26cea7a Revise BatchToSpace reference implementation (#6289)
* Add visitor unit test

* BatchToSpace operation class refactored

 * Add RTTI definiton/declaration
 * Add checks in validate_and_infer_types
 * Add input/output checks in evaluate method

* Add type_prop tests covering checks in validate_and_infer_types method

* Fix incorrect variable names to specify crops_begin and crops_end inputs

* Add backend tests

* Use array stl to handle batch to space inputs in type_prop tests

* Add more backend tests

* Clean up manifest

* Address review comments

* Add node validation check for out of bounds crops

* Add validation checks in evaluate method

* Add error message to ngraph checks

* Modify check for input rank to allow rank 4 or greater to align with spec and plugins impl
2021-07-07 08:37:58 +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
Bartosz Lesniewski
b231b2b576 Revise PriorBox op (#6363)
* Use ngraph rtti macros

* Check attribute count in visitor test case

* Add priorBox class for SLT

* Add priorBox SSLT

* Add CPU SLT

* moved type_prop tests to type_prop directory

* Add backend tests

* Add PriorBox to trusted ops list

* infer first dimension of size 2
2021-07-05 13:34:09 +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
Patryk Elszkowski
d4c2b27100 Space to depth - refactor reference implementation (#6374)
* extract SpaceToDepth implementation from op class to reference file

* move backend test from fused_op.in.cpp to space_to_depth.in.cpp

* Cleanup reference implementation

* Extend SpaceToDepth backend tests

* add SpaceToDepth to verified ops
2021-07-05 09:00:49 +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
Ilya Churaev
fea3ada931 Deprecate coordinate transform (#6425)
* Deprecate coordinate transform

* Fix Windows build

* Deprecated index
2021-07-05 08:24:39 +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
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
Vladimir Gavrilov
1d7f81c108 Implement reference nGraph implementation for operation ExperimentalDetectronGenerateProposalsSingleImage (#5881)
* Written header file for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Small fixes.

* Started to write cpp-file for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Written the postprocessing function for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Code style fixes.

* Started to write calculations of the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Written the helper function refine_anchors().

* Written the helper function unpack_boxes().

* Small fix.

* Code style fixes.

* Written calculations of the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Code style fixes.

* Fixed type of one argument of fill_output_blobs().

* Code style fix.

* Written evaluate() for the operation ExperimentalDetectronGenerateProposalsSingleImage (in evaluates_map.cpp).

* Deleted redundant 'using' for typedef.

* Continued to write tests for ExperimentalDetectronGenerateProposalsSingleImage evaluation in the nGraph reference implementation.

* Fixed the reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Deleted commented code. Code style fixes.

* Code style fix.

* Deleted debug prints in the test for an evaluation of the nGraph operation ExperimentalDetectronGenerateProposalsSingleImage.

* Enabled ONNX Importer test for the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Enabled some test.

* Small fix.

* Now postprocessing of the nGraph reference realization of the operation ExperimentalDetectronGenerateProposalsSingleImage throws exception when input data type is not supported.

* Code style fix.

* Written yet another  test for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Reused ProposalBox type from the reference implementation of the operation Proposal.

* Added check for the attribute post_nms_count in the operation ExperimentalDetectronGenerateProposalsSingleImage evaluation.

* Small fixes.
2021-07-01 14:42:51 +03:00
Mateusz Bencer
a32513f78d [ONNX] Handle const scalar during unsqueeze (#6323)
* handle scalar during unsqueeze

* info about reverting

* use get_constant_from_source

* evaluate unsqueeze in onnx slice
2021-07-01 12:26:31 +03:00
Ilya Lavrenov
dd2ea02d3a Fixed ngraph unit tests in Debug (#6470)
* Added compile_tool to PATH

* Installed benchmark_app

* Fixed ngraph unit tests in Debug

* Install of VPU_FIRMWARE to <root>/tests folder

* Conditional installation of benchmark_app
2021-06-30 20:57:01 +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