Commit Graph

3167 Commits

Author SHA1 Message Date
Anastasia Popova
de93c9a181
Added IE IR reader tests for Roll operation. (#5245) 2021-04-16 07:50:25 +03:00
Bartek Szmelczynski
6e7a8af2be
Revise squared difference (#5091)
* clean SquaredDifference op from legacy FusedOp operation

* add backend and type_prop tests for squared_difference operation

* apply requested changes

* fix op name

* revert date change

* update squared_difference op info with ngraph RTTI

* change test since squred_diff should be binop
2021-04-16 06:49:27 +03:00
Vitaliy Urusovskij
c852634055
Remove comparison with references from time_tests as unused (#5248)
* Remove comparison with references from time_tests as unused

* Remove `--dump_refs` from time_tests as unused
2021-04-15 22:24:45 +03:00
Kate Generalova
78076656fd
[DOC] Update README for C++ samples, add comments (#5019)
* update hello_classification README

* update hello_nv12_input_classification README

* add docstrings to common C++ samples functions

* update obj detection sample README

* update hello_reshape README

* fix cpplint in reshape ssd sample

* update classification_sample_async README

* fix classification_sample_async/README.md doc tag

* update hello_query_device README

* update style_transfer_sample README

* update ngraph_function_creation_sample README

* fix doc gen ngraph_function_creation_sample/README.md

* fix wrong link in ngraph_function_creation_sample/README.md

* doc: update speech_sample README and add docstrings

* refactor: constant number of output files

* fix: comparison of integer expressions
2021-04-15 13:42:46 +03:00
Rafal Blaczkowski
031f19d58e
Increase timeout of test execution (#5259) 2021-04-15 13:18:09 +03:00
Maksim Kutakov
4df6695802
CoreThreadingTestsWithIterations smoke_LoadNetwork test was disabled. (#5235) 2021-04-15 12:38:17 +03:00
Ilya Churaev
543acb517e
Enabled sign-compare flag for nGraph (#5189)
* Enabled Werror flag for nGraph

* Fixed softmax test

* Fixed ONNX Editor

* Fixed gather_nd

* Fixed i32 compilation
2021-04-15 12:12:51 +03:00
Mingyu Kim
d4b071bd49
[IE CLDNN] Batched blob support is added for NV12 (#5230) 2021-04-15 11:18:34 +03:00
hyunback kim
887c8c46cc
[IE CLDNN] Fix regression for supporting eltwise fsv broadcasting (#5182) 2021-04-15 09:38:44 +03:00
Kate Generalova
5ba5e9b5d7
doc: add Red Hat docker registry (#5184) 2021-04-15 07:32:11 +03:00
Anastasia Popova
f681907fdd
Roll nGraph Python API (#5237)
* Added Roll to nGraph Python API.

* Added empty line at the end of file.

* Corrected a typo.

* Added Roll test.

* Reformat code.

* Removed empty line.
2021-04-15 07:19:15 +03:00
Vitaliy Urusovskij
a70d13f9e2
Add support of IE model cache in time_tests (#5192) 2021-04-15 00:11:48 +03:00
Tatiana Savina
127f931a5e
Add MonoDepth Python Demo how-to (#5238)
* Add POT how-to

* added new how-to and updated the link
2021-04-14 22:33:04 +03:00
Gabriele Galiero Casay
d04315aa27
Review spec of VariadicSplit operation (#5152) 2021-04-14 21:28:45 +03:00
Elizaveta Lobanova
f7cf92e52a
[GNA] fix TensorIterator unrolling with one iteration (#5217) 2021-04-14 18:55:52 +03:00
Mateusz Bencer
7ac7215924
[ONNX] Add support for ONNX ConstantFill op (#5203) 2021-04-14 16:11:21 +02:00
Aleksandr Korolev
891cf56255
[IE][VPU]: klocwork fixes (#5234) 2021-04-14 16:12:34 +03:00
Dmitry Pigasin
52a37f853b
Update readme of IE Python samples (#4908)
* Update readme of python samples

* Add info about ubyte image support to ngraph function creation sample readme

* Move lang after sample name

* Update sample output sections

* Remove API used in the hello classification sample from other sample readme's

* Update sample readme files to resolve conversations

* Add a note about color inversion

* Fix the wrong link to shape inference feature

* Update sample output for the hello query device sample
2021-04-14 13:25:39 +03:00
Dmitry Pigasin
19ace232cf
Update IE Python Samples (#5166)
* refactor: update ie python samples

* python samples: change comment about infer request creation (step 5)

* python sample: add the ability to run object_detection_sample_ssd.py with a model with 2 outputs

* Add batch size usage to python style transfer sample

* Change comment about model reading

* Add output queue to classification async sample

* add reshape for output to catch results with more than 2 dimensions (classification samples)

* Set a log output stream to stdout to pass the hello query device test

* Add comments to the hello query device sample

* Set sys.stdout as a logging stream for all python IE samples

* Add batch size usage to ngraph_function_creation_sample

* Return the ability to read an image from a ubyte file

* Add few comments and function docstrings

* Restore IE python classification samples output

* Add --original_size arg for python style transfer sample

* Change log message to pass tests (object detection ie python sample)

* Return python shebang

* Add comment about a probs array sorting using np.argsort

* Fix the hello query python sample (Ticket: 52937)

* Add color inversion for light images for correct predictions

* Add few log messages to the python device query sample
2021-04-14 13:24:32 +03:00
Alexey Suhov
9709432d29
[dependencies.bat] force Powershell to use TLS 1.2 (#5227) 2021-04-14 13:08:39 +03:00
Ilya Naumov
e29505eaf8
add python3-gi-cairo dependency for dlstreamer on Ubuntu 20 (#5061) 2021-04-14 12:34:50 +03:00
Maxim Vafin
2c9ae5fc09
Add PyTorch section to the documentation (#4972) (#5233)
* Add PyTorch section to the documentation

* Apply review feedback

* Remove section about loop

* Apply review feedback

* Apply review feedback

* Apply review feedback
2021-04-14 11:56:26 +03:00
Roman Donchenko
d822bb0a87
cross_compiled_func.cmake: use native CMake functions instead of custom ones (#5200)
Also, use the appropriate property (COMPILE_DEFINITIONS) for definitions
instead of COMPILE_FLAGS.
2021-04-14 11:31:11 +03:00
Vladimir Gavrilov
f2366f7072
Reference implementation of DFT and IDFT operations (#4938)
* Started to write the header file for (I)DFT reference implementation.

* Continued to write the header file for (I)DFT reference implementation.

* Renamed the header file for the reference implementation of (I)DFT.

* Started to write an implementation file for the reference implementation of (I)DFT.

* Continued to write an implementation file for the reference implementation of (I)DFT.

* Continued to write an implementation file for the reference implementation of (I)DFT.

* Small fix.

* Written copying data from input and copying data to output.

* Code style fixes.

* Small fix.

* Some fixes.

* Some fixes.

* Small fix.

* Written naive version of (I)DFT calculation.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Small fixes.

* Written the draft of the reference implementation of (I)DFT.

* Small fix.

* Small fix.

* Code style fixes.

* Added evaluation of (I)DFT to evaluation_map.cpp.

* Small fixes.

* Some fixes.

* Written test for evaluation of 1D DFT.

* Fixed ngraph/test/CMakeLists.txt.

* Disabled DFT evaluation test in CPU, because (I)DFT has not implemented yet in CPU.

* Added debug prints to evaluation test of DFT.

* Added debug prints into evaluate_map.cpp for DFT evaluation.

* Added some debug prints into FFT calculation.

* Added more debug prints.

* Added more debug prints.

* Added more debug prints.

* Added more debug prints.

* Added more debug prints.

* Small fix.

* Added more debug prints.

* Added more debug prints.

* Small change.

* Some fixes.

* Small fix.

* Some changes.

* Added more tests.

* Added test for IDFT 1D calculation.

* Some fixes.

* Added more debug prints.

* Small fix.

* Small fix.

* Some fixes.

* Some fix.

* Small fix.

* Added tests for 2D case of IDFT.

* Some fixes.

* Written tests for 3D case of DFT.

* Some fixes.

* Small fix.

* Added test for 3D case of IDFT.

* Some fixes.

* Deleted debug prints from tests for IDFT.

* Deleted debug prints from tests for DFT.

* Deleted debug prints from the reference implementation of (I)DFT.

* Code style fixes.

* Deleted debug prints from evaluates_map.cpp.

* Written the header file for the base class of DFT and IDFT operations.

* Written an implementation of the base class of DFT and IDFT.

* Now nGraph IDFT operation class is a derived class of FFTBase.

* Now the nGraph operation DFT is a derived class of FFTBase.

* Added assert for axes in (I)DFT reference.

* Small refactoring.

* Deleted commented code.

* Small refactoring.

* Small fix.

* Initialization of calculations of the reference implementation of (I)DFT was moved in the separate function.

* Small fix.

* Code style fix.

* Small fix.

* Now evaluate() of (I)DFT uses canonicalize_axes() from the reference implementation.

* Code style fix.

* Deleted commented code.

* Added tests for i32 axes of DFT.

* Added test for i32 axes of 2D DFT.

* Added i32 axes case to test for 3D DFT.

* Added test for i32 axes in tests for IDFT.

* Written signal_size case test for 1D DFT.

* Small fix.

* Written test for signal_size case for 2D DFT.

* Added test for bfloat16 input data of 1D DFT.

* Small fix.

* Small fix.

* Small fix.

* Some fixes.

* Some fix.

* Added bfloat16 input tests for 2D DFT.

* Some fixes.

* Written tests for bfloat16 input of 3D DFT.

* Some fixes.

* Some fixes.

* Added tests for bfloat16 input of 1D IDFT.

* Some fixes.

* Added tests for bfloat16 input of 2D IDFT.

* Added test for bfloat16 input of 3D IDFT.

* Small fix.

* Some fixes.

* Added tests for float16 input of 1D DFT.

* Small fix.

* Written tests for float16 input of 2D and 3D DFT.

* Small fix.

* Some fixes.

* Some fixes.

* Written tests for float16 inputs of 1D, 2D, 3D IDFT.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Deleted redundant include.

* Some fixes.

* Added tests of 1D and 2D DFT for the case when some axes lengths are powers of 2.

* Added tests for 3D DFT and 1D, 2D, 3D IDFT in the case when lengths of some axes are powers of 2.

* Small fix.

* Added some comments.

* Added some comments.
2021-04-14 10:52:57 +03:00
Alexandra Sidorova
1c4428e945
[CPU] Fixed StridedSlice (#5219) 2021-04-14 10:37:10 +03:00
Ilya Churaev
5a111bfb27
Enable nonnull-compare flag for nGraph (#5213)
* Enable nonnull-compare flag for nGraph

* Fixed checks

* Fixed MSVC

* Fixed build
2021-04-14 10:35:20 +03:00
Ilya Lavrenov
3bbc9d2837
Added deprecation messages to docs for ExecutableNetwork (#5201) 2021-04-14 06:05:41 +03:00
Olesya Martinyuk
070201feee
Added test validating inference results after conditional compilation (#4840) 2021-04-13 22:16:14 +03:00
Szymon Irzabek
0fcb6d0464
[GNA] Fix iterator dereferencing (#5051)
* [GNA] Fix iterator dereferencing

* [GNA] Use templated code
2021-04-13 19:17:05 +03:00
Mateusz Tabaka
984a55ec88
Use ShapeOf to create a new shape for gamma, mean, bias in BatchNormDecomposition (#5157) 2021-04-13 16:00:12 +03:00
Gabriele Galiero Casay
0bbe9c73e6
Split specification refactoring (#5150)
* Review spec of Split operation

* Address review comments

   * Changed detailed description
   * Added more description for attribute
   * Changed T1 and T2 for T and T_AXIS
   * Changed range of values in axis input description
2021-04-13 15:43:48 +03:00
Patryk Elszkowski
4e8655ae3c
Update Constant OP spec (#5195)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-13 15:42:45 +03:00
Patryk Elszkowski
75f9242cb4
cleanup constant op class (#5186)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-13 15:32:29 +03:00
Patryk Elszkowski
11990e50aa
Scatter nd update new reference implementation (#5003)
* Add more span util and test

* ScatterNdUpdate new reference implementation

* add ScatterNDUpdate-3 to verified_operations

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-13 14:26:50 +03:00
Tomasz Socha
684dcf0d92
[ONNX] Add support for BF16 datatype (#5194) 2021-04-13 11:21:21 +02:00
Rafal Blaczkowski
032ed451fd
[ONNX CI] Update config files to run tests parallel on single machine (#5168) 2021-04-13 11:20:22 +02:00
Bartosz Sledz
94e9b632e8
Revise ONNX Mod operator (Add support for attribute fmod == 0) (#5173) 2021-04-13 10:24:51 +02:00
Ilya Churaev
d2adcb354e
Removed legacy cmake message (#5212) 2021-04-13 11:13:44 +03:00
Patryk Elszkowski
0a2d40c7d9
remove wrong coment in pad spec (#5211)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-13 08:56:59 +03:00
Ilya Churaev
c0764a5d0a
Supports case min == max for clamp (#5196) 2021-04-13 07:19:21 +03:00
Alexey Lebedev
64fd5734fe
[IE Tools] Fixed sending messages to error_handler (#5164)
* Fixed sending messages to error_handler

* Update CCT
2021-04-13 01:03:27 +03:00
Ilya Lavrenov
cae6a3bdcd
Turn clang-format targets off is no clang (#5202) 2021-04-12 23:40:18 +03:00
Anton Voronov
617a1024e1
[CPU] fixed dw conv fusing (#5146) 2021-04-12 22:32:00 +03:00
Vitaliy Urusovskij
634dc42808
Enable new infer_request_inference memleak test to cover *-52623 (#5183) 2021-04-12 20:00:11 +03:00
Maksim Kutakov
602224facb
CoreThreadingTestsWithIterations Win test is brought back. (#4418) 2021-04-12 19:57:34 +03:00
Gabriele Galiero Casay
c5d173c97a
Revise Split Single Layer Tests (#5190)
* Add serialization single layer tests

* Add more precisions, axis and num of splits in single layer tests

* Add op to script of trusted operations
2021-04-12 18:47:58 +03:00
Bartosz Sledz
4337a2f235
Fix specification of result sign (#5188) 2021-04-12 18:04:33 +03:00
iliya mironov
efeff1ee3e
Add keep split output ports without consumers (#5136)
* Add keep split output ports without consumers

* Fix ir reader for split outputs

* Update unit tests

* Refactoring code according to review

* Fix unit test

* Fix
2021-04-12 17:49:53 +03:00
Pavel Esir
6d2740a335
[nGraph] Gather 7 evaluate (#5088)
* initial working solution

* constant_folding for Gather-7 successfully enabled

* successfuuly added remaining unittests

* removed redundant evaluate from private

* fixed evaluate for dynamic axis

* fix pre-commit for KMB: added default batch_dims=0 to runtime/reference

* clang_format_fix

* added include ngraph/shape.hpp to fix compilation for onednn-plugin

* temporary removed out of bound check for gather

* removed optional argument for batch_dims

* added const

* finally successfully run on ARM: removed redundant declaration

* style fix

* changed argument types from size_t -> int64_t

* changed back to size_t
2021-04-12 17:01:39 +03:00
Mikhail Nosov
1662ee0647
[GNA] Enable IMPORT_EXPORT_SUPPORT metric (#4889)
* Proper cleanup of cache_dir on start/end tests

Also add ability to skip the test depending on plugins 'skip_test_config'

* [GNA] Enable IMPORT_EXPORT_SUPPORT metric

Some tests were skipped, appropriate tickets were raised
2021-04-12 16:46:42 +03:00