Commit Graph

15 Commits

Author SHA1 Message Date
Michał Karzyński bd5b1bf99f
Change the way Model Optimizer loads frontends (#7330)
* Adds two switches `use_new_frontend` and `use_legacy_frontend` to override defaults.
* Rename ONNX frontend from `onnx_experimental` to `onnx`
2021-09-30 12:17:36 +02:00
Michał Karzyński d0efd61aad
Add nGraph Python API versioning (#7539)
* Expose ngraph_version_string as ngraph.__version__

* Fix linking error on CentOS
2021-09-30 12:59:20 +03:00
Mateusz Bencer fb11560b82
Implemented missing methods of ONNX Place API (#7518)
* Implemented get_consuming_ports, get_producing_operation and is_equal for PlaceOpONNX

* fixed unambiguous_node_check

* removed PlaceTensorONNX::get_input_port

* added PlaceOpONNX::is_input, PlaceOpONNX::is_output

* fixed python styles

* added get_consuming_operations implementation

* added missing get_consuming_operations for PlaceOpONNX

* added missing get_target_tensor for PlaceOpONNX

* changed place spec

* add support of get_source_tensor

* add support of get_producing_operation for PlaceOpONNX

* add support of get_producing_port for PlaceInputEdgeONNX

* fixed python styles

* missing ref in std::transform
2021-09-23 09:47:33 +03:00
Roman Donchenko 8598ce89a3
Add missing spaces between words in string literals (#7540)
And in one case, a missing period.
2021-09-20 15:38:49 +03:00
Piotr Szmelczynski e5927dbe15
Expose discrete type info (#7301)
* Create pyngraph DiscreteTypeInfo bind

* add DiscreteTypeInfo to ngraph impl __init__

* add DiscreteTypeInfo to pyngraph.cpp

* remove comment

* create common file and add string_to_char_arr helper function

* create test for DiscreteTypeInfo class

* fix style

* add not equal test

* fix style

* create __repr__ and make member variables readonly

* Create trampoline for Node class

* update DiscreteTypeInfo test

* remove common files

* style fix

* clang style fix

* update __repr__ method for DiscreteTypeInfo

* style fix

* fix typo in test_core

* update repr method

* update comparison operators

* update operator overloading for DiscreteTypeInfo
2021-09-20 13:31:28 +03:00
Michał Karzyński 702633073e
Add set_argument/s methods to nGraph Python API (#7196)
* Add set_argument/s methods to nGraph Python API

* Apply formatting

* Clear inputs in Node::set_arguments

* Run all tests in one container

* Fix formatting

* Add unit test
2021-09-18 06:37:26 +03:00
Ilya Lavrenov 0df7dab345
New IRC package structure (#6255)
* OV new package structure

* Fixes

* More fixes

* Fixed code style in ngraph tests

* Fixes

* Paths to setupvars inside demo scripts

* Fixed demo_security_barrier_camera.sh

* Added setupvars.sh to old location as well

* Fixed path

* Fixed MO install path in .co

* Fixed install of public headers

* Fixed frontends installation

* Updated DM config files

* Keep opencv in the root

* Improvements

* Fixes for demo scripts

* Added path to TBB

* Fix for MO unit-tests

* Fixed tests on Windows

* Reverted arch

* Removed arch

* Reverted arch back: second attemp

* System type

* Fix for Windows

* Resolve merge conflicts

* Fixed path

* Path for Windows

* Added debug for Windows

* Added requirements_dev.txt to install

* Fixed wheel's setup.py

* Fixed lin build

* Fixes after merge

* Fix 2

* Fixes

* Frontends path

* Fixed deployment manager

* Fixed Windows

* Added cldnn unit tests installation

* Install samples

* Fix samples

* Fix path for samples

* Proper path

* Try to fix MO hardcodes

* samples binary location

* MO print

* Added install for libopencv_c_wrapper.so

* Added library destination

* Fixed install rule for samples

* Updated demo scripts readme.md

* Samples

* Keep source permissions for Python samples

* Fixed python

* Updated path to fast run scripts

* Fixed C samples tests

* Removed debug output

* Small fixes

* Try to unify prefix
2021-09-15 16:49:11 +03:00
Anastasia Popova 08ea036a36
RandomUniform Python API. (#7373)
* Added RandomUniform python API.

* Small fix.

* Small fix.

* Code style.

* Removed xfail mark.

* Added seed checks.

* Moved test.

* Changed quotes.
2021-09-15 14:06:02 +03:00
Mateusz Tabaka c0f01cdbd1
Extend ONNX Importer for operation "If" (#7319) 2021-09-15 10:57:13 +02:00
Egor Shulman bdaa44d0be
Fixed Minimum op if u8/16/32/64 data type is used (#6665) 2021-09-15 07:52:46 +03:00
Ilya Lavrenov b373cb844b
Removed information about FPGA plugin (#7474) 2021-09-13 14:01:49 +03:00
Szymon Durawa c50c0d59bb
Add default constructor for op. (#7368)
* Add default constructor for op.

* Apply correct format.

* Apply correct format for py files.

* Remove underscore prefix, add create overlaod method.

* Resolve use cases for parameter arguments in create fucntion.

* Resolve myoy issue.

* Remove underscore for getter and setter functions.

* Restore check when arguments is None.

* Add tests covering raising errors and get_attributes() function.
2021-09-13 06:49:19 +03:00
Mateusz Bencer 3ea74bd8f8
Add PlaceOpONNX and some missing Place's methods (#7269) 2021-09-10 16:20:41 +03:00
Ilya Lavrenov a952540edf
Openvino cmake config (#7419)
* Added OpenVINOConfig.cmake

* OpenVINOConfig.cmake part 2

* Trying to fix cmake generation

* Fixes

* Export frontends as well

* Fixed condition

* Added OpenVINO cmake package usage: docs, C samples

* Use more OpenVINO config

* Install OpenVINOConfig.cmake

* Trying to fix private plugins

* Trying to fix .tox

* Trying to fix ARM

* Fixed samples build

* Explicit ngraph duplicated targets

* Fixed fuzzing tests build

* Added IR frontend installation

* Removed install directory for IE reader

* Removed IR frontend from export list

* Reverted ngraph_DIR

* Try to fix .tox

* Fixed ieFuncTests with ONNX extensions

* Attempt #2

* Trying to fix ngraph setup.py

* Fix

* Trying to fix ONNX ngraph .tox CI

* Trying to remove spaces

* Fixed ngraph_DIR -> OpenVINO_DIR

* Removed junk files

* Try to fix ngraph wheel

* Try to fix ie_wheel

* Try to fix ngraph wheel
2021-09-10 15:31:27 +03:00
Anastasia Kuporosova 36318ca2cc
[Python API] move ngraph python api to the new location (#7364)
* [Python API] Move ngraph python api to the new destination

* fix building tests

* fix code-style checks

* building in azure

* fix building wheels

* apply fixes
2021-09-09 13:41:11 +03:00