Commit Graph

49 Commits

Author SHA1 Message Date
Anastasia Kuporosova 585f211e0a
[IE Python API] fix test query state write buffer (#6928) 2021-08-04 19:43:41 +03:00
Anastasia Kuporosova dd742de105
[Python API] removal of deprecated python api (#6282)
* [Python API] removal of deprecated python api

* [Python API] removal of deprecated python api
2021-08-04 11:46:39 +03:00
Ilya Lavrenov c38f08b777
Use protobuf-lite for ONNX FE by default (#6829) 2021-07-31 17:21:35 +03:00
Alexey Lebedev 4c0c184d3f
[IE PYTHON] Release GIL in some functions (#6236)
* Release GIL in load_network

* release gil in infer, wait and get_idle_request_id

* release gil in read_network and IECore.__cinit__

* release GIL in properties

* Release GIL in infer_async

* Add test

* Fix test

* Fix test
2021-07-29 14:28:11 +03:00
Ivan Tikhonov aa0c93300c
Update for Python API to create networks with Memory layers (#6079)
* Update python API for Memory

* Run unit tests on CPU only

* add missed import

* Update tests

* fix py tests
2021-06-09 12:19:36 +03:00
Ivan Tikhonov c1608628d4
LowLatency v2 ngraph transformation (#5160)
* LowLatency 2.0: transformation and unit tests

* low latency 2.0: unit tests

* documentation and ngraph codestyle

* update CNN Interface of LowLatency transformation

* fix build on Windows

* fix build on Windows

* investigation of a failed build on Win OS

* ngraph codestyle

* fix build (werrors)

* New unit tests, refactoring

* update functional tests for Memory

* update LowLatency functional tests

* extend Memory tests to cover LowLatency v2 transformation

* clean up, code style

* fix unit tests

* update and fix unit tests, add feature to apply LLTv2 after LLTv1

* update docs, refactoring

* add several gna tests to skip config

* fix python api tests

* update python api, rename LowLatency_v2 to LowLatency2

* deprecate LowLatency v1

* Deprecate LowLatency v1 in IE

* fix wrong merge, codestyle

* resolve review comments

* fix python test

* update skip config

* apply online review notes, fix unit tests

* clean up, code style

* fix docs

* Use debug_messages instead of exceptions in llt v2

* fix unit tests

* Resolve review remarks
2021-06-07 15:13:41 +03:00
Alexey Lebedev 69b052c8ca
[IE PYTHON] FIX InputInfoCPtr, DataPtr and CDataPtr deallocation (#5730)
* linked ExecutableNetwork to InputInfo and Data

* Add tests

* Skip test_exec_graph_info_deallocation on ARM plugin
2021-05-31 12:25:13 +03:00
Alexey Lebedev aaa632e8f5
Fix test (#5843) 2021-05-27 17:17:34 +03:00
Anastasia Kuporosova b5c5b6b974
[Python API] Add MemoryState API (#5731)
* [Python API] Add MemoryState API

* use inferRequest instead of IInferRequest

* implement VariableState through cpp

* small fixes + add tests for preprocess_info
2021-05-26 10:46:44 +03:00
Alexey Lebedev 6770f7995e
[IE Python] fix BlobBuffer dtype for FP16 precision (#5155)
* Fix deepcopy

* Add test

* Revert dtype for BF16 precision

* Fix test

* Add exception for BF16

* Update BlobBuffer dtype for FP16 precision

* Revert exception for BF16

* Update test
2021-04-22 09:33:16 +03:00
Anastasia Kuporosova a26aad1cfa
[Python API] Skip several tests if device is ARM (#4646) 2021-03-30 15:16:48 +03:00
Anastasia Kuporosova 38bb66741f
[Python API] use parametrize in blob tests (#5020)
Co-authored-by: anastasia.kuporosova <akuporos@akuporos.inn.intel.com>
2021-03-30 11:45:05 +03:00
Alexey Suhov 6478f1742a
Align copyright notice in python scripts (CVS-51320) (#4974)
* Align copyright notice in python scripts (CVS-51320)
2021-03-26 17:54:28 +03:00
Mikhail Nosov 86eebbdfac
Python API for LoadNetwork by model file name (#4896) 2021-03-23 16:58:20 +03:00
Gleb Kazantaev aa4cbde1bd
Pruning transformation (#4666)
* Pruning transformation POC

* Reimplement logic with masks and their dependencies

* Remove wrong changes

* Update VisualizeTree with max const lements parameter

* Improved VisualizeTree

* Move Pruning to offline_transformations target

* Added python API for Pruning transformation

* Use NGRAPH_DEBUG for logging

* Added const get_rt_info method

* nGraph Code Style

* get_rt_info methods update

* Commented debug infra

* Code Cleanup

* Removed BN changes

* nGraph Code Style

* Add rt_info copy for output ports

* Use Mask * instead of Mask::Ptr to avoid cross dependency

* Removed dllexport for static library

* resolce pr comments

* fix copyright

* Check fix for traget_link_libraries

* Remove LTO for offline_transformations
2021-03-22 13:28:40 +03:00
Anastasia Kuporosova 6b4abc49a4
[PYTHON API] Add bin, bool, bf16 precisions (#4560) 2021-03-02 21:32:17 +03:00
Alexey Lebedev 7e3a2f6768
[IE PYTHON] update license (#4407)
* update license

* remove the first blank lines and undo changes in inference-engine/thirdparty/mkl-dnn

* test commit

* Update license in tools

* Undo changes in api_overview.md

* update ie_api.pyx and set interpreter in hello_query_device
2021-03-01 08:23:35 +03:00
Ilya Churaev ca9540fda0
Removed getOVNameForOperation (#4514) 2021-03-01 07:13:34 +03:00
Anastasia Kuporosova 8cb25fdb98
[Python API] Support of FP16 blobs (#3893)
* [Python API] Support of FP16 blobs

* test_Blob refactoring

* support fp16 for exec_net.infer method

* add precisions

Co-authored-by: anastasia.kuporosova <akuporos@akuporos.inn.intel.com>
2021-02-01 09:12:32 +03:00
Ilya Churaev 2ebae7cf30
Introduce the Broker API to map original framework names to OV (#3800)
* Added tests

* Fixed tests

* Added tests to check addOutput method

* Added support of port names in the IR

* Update copyrights

* Deprecate tensor name

* Fixed comments

* Enabled functional tests for GPU, GNA and Myriad

* Fixed get_tensor().get_names()

* Added unit test to check tensor names

* Fixed code style

* Skip add output test for GNA

* Added serialization support

* Added PythonAPI

* Fixed tests

* Fixed tests

* Fixed typo

* Try to disable GNA test

* Fixed tests

* Removed unused variables

* Fixed tests

* Update documentation

* Fixed comment
2021-01-29 06:28:31 +03:00
Gleb Kazantaev 94b2cc1dad
Python API For compare_functions (#3938)
* Added python API for compare_functions

* Fixed compare_funcion constant comparision, graph traversal

* Add tests for python API functions

* Move CompareNetworks to separate python module

* Update python API tests

* Added dev package support

* ENABLE_TESTS

* Update constant comparator

* Fix merge conflict
2021-01-22 23:37:50 +03:00
Gleb Kazantaev a5c6ed8e03
Fixed import module name (#3906) 2021-01-19 19:36:07 +03:00
Gleb Kazantaev aa73eb2424
Offline transformation API (#3408)
* Added offline transformations library

* Added python API for calling MOCTransformations

* Added CF flag for MOC Transformations

* Divided offline api to separate independent module

* Update MOC pipeline to execute only fusions

* Disable CF for PriorBox ops

* Clean-up

* Added python test

* Removed transformation pipeline as it is not ready yet

* Remove not related to this PR changes

* Fixed build for dev package case; renamed to offline_transformations_api

* Removed unrelated changes

* Removed excess exports from cmake

* Removed useless custom command from cmake
2021-01-18 00:15:44 +03:00
Anastasia Kuporosova 320aafbb59
[Python API] Small fixes in tests and change of format string to f-string (#3865) 2021-01-15 12:48:58 +03:00
Jan Iwaszkiewicz e1a7f7e5af
[nGraph][IE] Enable FP64 data type in IE and review nGraph Python tests (#2563) 2020-12-02 12:09:28 +01:00
Mikhail Ryzhov 1144130b50
Aligned python read_network() with C/C++ behaviour (#2916)
Aligned python read_network() with C/C++ behaviour

Excluded mandatory check of weights file, it is redundant

* Added unit tests
2020-11-03 16:18:43 +03:00
Anastasia Kuporosova 266f143cb2
[Python API] Remove IENetLayer class (#2755)
* [Python API] Remove IENetLayer class

* fix tests

* fix tests

* remove importing ngraph from several tests
2020-10-29 21:34:55 +03:00
Mateusz Bencer 6d72110365
Fix using numpy scalars in Python API (#2520)
* fixed numpy scalars

* reverted tests changes

* python style fixed
2020-10-14 11:17:44 +03:00
Roman Donchenko 0c79804bcd
IECore.read_network: accept arbitrary PathLike objects and not just Path (#1611) 2020-10-01 20:34:11 +03:00
Anastasia Kuporosova 58d8de98cc
[Python API Tests] Update ngraph and iecore tests (#2329)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-09-18 19:42:36 +03:00
Anastasia Kuporosova 1fd2df6e0d
[PYTHON API TESTS] Add ngraph tests (#2132)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-09-11 12:56:57 +03:00
Anastasia Kuporosova d871a0e05f
[Python API] Deprecation of DataPtr.creator_layer and DataPtr.input_to properties (#1905) 2020-08-24 14:57:55 +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
Jan Iwaszkiewicz 136dccf905
[nGraph] Public Py API to get function from cnnnetwork (#1567) 2020-08-04 09:39:37 +02:00
Ilya Lavrenov 949fee3cfc
Remove implicit conversion from getInputTo, getLayerCreator (#1274)
* Added ctor for CNNNetworkImpl to convert from ngraphImpl

* Re-use in all places instead of manual conversion

* Hide convertToCNNNetworkImpl usage

* Removed conversion from getCreatorLayer

* Fixes 2

* Fixes 3

* Fixes 4

* Fixed ieFuncTests

* Fixed more tests

* Fixed LPT tests

* Remove useless test

* Fixed GNA

* Fixed Gleb's comments

* Fixed Core integration tests

* Trying to fix python

* Fixed GPU tests

* Small fixes

* Fixed QueryNetwork after removing implicit conversion

* Fixed Core integration tests for QueryNetwork

* Fixed python; MULTI device QueryNetwork

* Fixed MULTI QueryNetwork

* Removed unused methods

* Enabled LPT FullyConnectedTestModel test

* Fixed typo in python
2020-07-16 16:44:48 +03:00
Nadezhda Ageeva 0887a7c0d6
Allow python benchmark_app load onnx model (#1283) 2020-07-16 13:53:43 +03:00
Anastasia Kuporosova b553b6ea17
[Python API] setting and getting preprocessing info through InferRequest (#1009) 2020-07-08 11:25:54 +03:00
Ilya Lavrenov 4f0225014d
Deprecated cnn layer (#1138)
* Deprecated getInputTo, getCreatorLayer

* Fixes

* Fixed ie_layers moving to legacy

* Fixed onnx importer dependency

* Fixed python

* Fix python API compilation

* Added comments not to use _impl from Data

Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
2020-07-03 20:57:28 +03:00
Anton Pankratv 1ffd736ba9
Hetero plugin supports ngraph (#530) 2020-06-23 17:23:47 +03:00
Ilya Lavrenov e8aed763d2
Removed Int8 normalizer and statistics (#919)
* Removed Int8 normalizer and statistics

* Removed statistics handling from tests utils

* Fixed tests compilation with statistics
2020-06-19 15:10:21 +03:00
Ilya Lavrenov 3a900d0080
Removed PluginDispatcher; IEPlugin from python API (#920) 2020-06-16 15:03:32 +03:00
Anastasia Kuporosova 6a60f93af0
[Python API] Fix deprecation warnings (#812) 2020-06-09 08:48:08 +03:00
Katya 41ed6f0891
[IE Python API] fix TensorDesc test file name (#701) 2020-06-01 15:58:05 +03:00
Anastasia Kuporosova cbad43f3a5
[Python API] Fix PreProcessInfo tests (#690) 2020-05-29 21:20:16 +03:00
Anastasia Kuporosova e025f1464b
[Python API] Add InputInfo and PreProcessInfo (#637) 2020-05-28 10:55:11 +03:00
Ilya Churaev 3c718809d3
Added ONNX reader for the OpenVINO (#532)
* Added ONNX reader for the OpenVINO

* Fixed comments

* Fixed comments

* Fixed message

* Fixed memory consumption

* Revert IReaderPtr

* Fixed Myriad tests

* Fixed comment

* Renamed inference_engine_ir_readers to inference_engine_ir_reader
2020-05-27 18:37:19 +03:00
Alexey Suhov deb008a26f publish master branch snapshot, revision 8d31237e2c3f673cbb0f0ba110fc10f5cce1d2bb 2020-05-22 02:23:12 +03:00
Alexey Suhov 5b428f0655 publish master branch snapshot, revision 49482ae3bea0cbaa07474f86f36db11943142687 2020-05-13 21:12:22 +03:00
Alexey Suhov 357cc7eb4c publish master branch snapshot, revision 0110d9c98fd7209589d06344f0d836f61d81f4b3 2020-04-27 21:21:29 +03:00