* 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
* 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
* Add get value map size to the visitor util
* Type parametrized test POC
* Unify visitor test approach
* Remove unused using ValueMap
* Add const to get_value_map_size() function
* Enabled Wall for nGraph
* Fixed Linux build
* Fixed ONNX Editor and class-memaccess
* Fixed topK
* Fixed some builds
* Fixed nGraph Python API
* Use std::fill instead of cycle
* Wno-unded and deprecation for app python versions
* Subgraph extraction in ONNX models
* Windows compilation error fix + docs update
* Code cleanup after the first round of reviews
* CI compilation error fix
* Even more CI compilation error fixes
* Proper usage of ADL in generic code
* ONNX shape inference related code cleanup
* Disable the onnx test utils when pb-lite is used
* PB dependency removal from UT, strong types for input and output edges, more verbose errors in tests
* Fix for the protobuf descriptor database corruption
* testing visibility changes
* Revert the changes that didn't work
* Make tests green again?
* Make the current tests pass
* Remove the ONNX header from editor's tests
* Switch from stable_partition to remove_if because of compiler bugs
* Obsolete test removal and cmakelists cleanup in tests
* Macos failed, reverting some changes
* Handle the multiple output consumers UC
* Keep the tensor name when replacing an initializer
* Cutting a graph with multiple consumers of inputs and initializers
* Subgraph extraction with multiple initializer consumers
* Add CMakeList, move files
* fixed headers locations
* fixed calling tests
* apply code styles
* change namespace to onnx_editor
* removd not needed dependencies to onnx_editor
* Remove linking libonnx from unit-test
* Consider all flavors of protobuf libraries
* disable lto for onnx and onnx_proto
* revert set ONNX_INCLUDE_DIR change
* create new target onnx_common
* cmake dependencies clean-up
* Added onnx_common visibility
* pass ModelProto as reference + remove redundant dependencies
* expose onnx symbols by onnx_common
* remove -fno-lto, move InputEdge and OutputEdge to other header
* configure onnx linking for MSVC and APPLE
* remove unused comment
* fixed linking configuration for msvc and apple/clang
* clean cmakes
* added dependencies
* remove onnx and onnx_proto from NGRAPH_EXPORT_TARGETS_ENABLE
* make onnx and protobuf dynamic
* cmake dependency clean-up
* added onnx patch - make only onnx_proto shared
* use protobuf should depend on BUILD_SHARED_LIBS
* fixed patch
* fixed install targets
* add if to install protobuf
* fixed onnx flag
* move protobuf install
* cmake dependencies
* added protobuf header include dir + clean-up ng cmake
* added protobuf to ng targets
* fix apple build
* dependencies clean-up
* make onnx_editor static lib
* remove onnx editor visibility
* fixed protobuf export enablement
* fix apple build
* test build protobuf by fetch content
* fix apple protobuf build
* Docs update
* Producer name update in test onnx models
* More comments in the subgraph extraction code
* Merge remote-tracking branch 'upstream/master' into mbencer/MoveEditorToSeparateLib
* add dependency to onnx_proto for test utils
* dependency to ngraph_test_util
* ngraph_test_util dependency. part. 2
* conditional dependency of onnx to ngraph_test_util
* Apply suggestions from code review
Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
* review remarks
* remove onnx_proto default visibility
* camke remarks, not exporting onnx_common and onnx_editor to target set
* [test fix macos CI] Revert "remove onnx_proto default visibility"
* set onnx_proto visibility only for macos
* [PyPI] remove rpath for dylib
* Corrected cmd
* fix protobuf-lite linking
Co-authored-by: tomdol <tomasz.dolbniak@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
Co-authored-by: mryzhov <mikhail.ryzhov@intel.com>
* Add BinaryConvolution unit tests.
* Changed types to u1.
* Add BIN precision handling in TestCase class.
* Refactored validate and infer types to enhance dynamic shape inference
* Add type_prop test to cover invalid op cases and dynamic shapes
* Fix style
* Disable check for float type of data batch input
* Add type_prop test for incompatible input channels in inputs
* Disable backend unit tests
* Fix style
* Add reference implementation
* Add backend tests
* Add single layer tests
* Add check for float element type of batch data input
* Refactor backend test cases to compare with regular convolution
* Add serialization tests
* Clean up
* Add 1D and 3D tests into op_eval
* Changes in reference implementation to improve readability
* Add ticket information for todo tasks
* Fix implementation misbehavior for filter channels
* Add backend unit tests to cover strides, dilations, padding, channels and batches
* Add end of line into files
* Change name of type_prop unit tests
* Simplified lambda to get spatial dimensions of filters
* Add comment to support filters input as Parameter
* Add namespace details for BinaryConvolution utility functions
* Address review comments
Co-authored-by: jdanieck <jozef.daniecki@intel.com>
* Added support for Gelu-6 to the MO
* Adding Gelu-6 to ngraph and python API + some tests
* Fixed typo in the Gelu approximation mode
* Fixed Gelu-6 reference implementation for Tanh mode
* Added transformation to downgrade v6::Gelu to v2::Gelu
* Added specification for the Gelu-6
* Code style fixes
* The Gelu-6 operation specification update
* Fixed compilation issue in reference implementation for Gelu
* Fix compilation issues for some OSs
* Code style fix
* One more cpplint issue fix
* Fixed Gelu6 reference implementation compilation on Windows.
* Code style fix
* Fixed various ngraph unit tests
* Code style check
* Reverted Gelu-2 to be fused op
* Fixed Gelu6 downgrade transformation
* Added unit test for Gelu6Downgrade transformation
* Update copyright year
* Updated copyright year
* Replaced tab characters with 4 spaces in IR reader tests
* Code style fixes
* Added default value for GeluApproximation mode for Gelu-6 op
* Fixed code style for Gelu-6
* Changed order of parameters for the Gelu evaluate to potentially avoid backward compatibility issues with ARM plugin
* Fixed code style
* Introduced opset7. Moved Gelu6 to opset7
* Fixed non-updated transformation
* Fixed opset version in ngraph Python API for Gelu operation
* Fixed typo in the opset number in the documentation
* Reverted some changes related to Gelu6
* Updated MO to produce Gelu7
* Updated unit tests for Gelu
* Updated Gelu7 specification
* Changed gelu reference implementation. Added opset7 to Python packages
* Updated Python API tests for Gelu operation
* Code style fix
* Marked get_approximation_mode function as const
* Added missing "const" qualifier
* Fixed code style issues in tests
* Added extractor for MxNet operation Gelu
* Spelling issues fix
* Updated MxNet supported symbols
* Added NGRAPH_OP_SCOPE for Gelu7 validate_and_infer_types
* Fixed a typo in the comment
* Calling SetPrecission on cnn network outputs
* added tests
* get_output_name refactor
* add missing test file
* run tests on all backends (or disable if backend is not available)
* fixed tests
* fixed TestEngine
* [MO] Add CMake install for Model Optimizer
* [MO] Update test for version.py
* [MO] Add CMake install for Model Optimizer
* [MO] Update test for version.py
* [MO] Add CMake install for Model Optimizer
* [MO] Update test for version.py
* - fix install paths for onnx_reader and ir_reader
- remove static lib installation for plugins on plugins
- 97-myriad-usbboot.rules is installed only for Linux
* added new line
* - Return GNAPlugin to default build list
- Remove test artifacts from cmake install distribution
- Remove nGraph static libs from cmake install distribution
* revert install rule for archive(.lib)
* revert install rule for onnx_importer (.lib)
* Fixed prototype of evaluate method.
* Rewritten Interpolate-4 ctors (added argument output_shape). Corrected tests.
* Fixed typo.
* Fixed number of args of make_shared in op::v4::Interpolate::clone_with_new_inputs.
* Fixes in Interpolate-4 tests.
* Now ONNX Upsample-1 is readed as Interpolate-4 with 4 inputs.
* Code style fixes.
* Some fixes in Interpolate-4 layer test.
* Now ONNX Upsample-9 is readed as Interpolate-4 with 4 inputs.
* Small fixes.
* Some changes.
* Fixed processing of 'scales' input in evaluation of Interpolate-4: now 'scales' contains scales only from 'axes'.
* Fixes in documentation.
* Now reference implementation of Interpolate-4 is rewritten for using 3 required inputs.
* Some code style fixes.
* Small fix.
* Started to write tests for method evaluate() of Interpolate-4.
* Continued to write tests for evaluate() of Interpolate-4.
* Some fixes.
* Some additions.
* Written draft of tests for 'cubic' mode with using scales.
* Some changes.
* Started to write tests for 'nearest' mode.
* Started to write tests for 'linear_onnx' mode.
* Some changes.
* Small fixes.
* Added setup of output type.
* Small addition.
* Added debug print into Interpolate-4 evaluate.
* Now in Interpolate-4 evaluation tests 3 inputs of Interpolate are Constants.
* Small changes.
* Added some debug print.
* Added more debug print.
* Some fixes.
* Now 4th argument of runtime::interpolate has type std::vector<int64_t>.
* Added checks for result of calculations.
* Added another expected values vector for the mode 'cubic'.
* Temporarily commented result value checks for the cubic mode.
* Written tests for 'nearest' mode.
* Some reorganization.
* Written tests for 'linear_onnx' mode.
* Fixed padding loop.
* Fixed docs for 'linear_onnx' mode.
* Written tests for 'cubic' mode.
* Deleted debug print.
* Fixed code style.
* Enabled CPU layer tests for Interpolate-4.
* Reverted changes of this file.
* Now ONNX importer reads Resize-1 as Interpolate-4 with 4 inputs.
* Now ONNX importer reads Resize-11 as Interpolate-4 with 4 inputs.
* Small fixes.
* Fixed docs.
* Added small epsilon in the shape calculation in the function op::v4::Interpolate::infer_using_scales.
* Small fix.
* Reduced size of the template function eval().
* Now the 'nearest' mode is rewritten to CoordinateTransfom instead of NDim* classes
* Now the 'cubic' mode is rewritten to use CoordinateTransformation instead of NDim classes.
* Started to rewrite 'linear' mode using CoordinateTransform.
* Started to write helper class.
* Small fix.
* Small changes.
* Some fix.
* Fixed typo.
* Now the preamble of 'linear_onnx' mode implementation is a method of helper class.
* Now the function clip_coord is the method of helper class, and the mode 'linear' uses CoordinateTransform instead of NDim classes.
* Deleted NDim classes.
* Some fixes.
* Some refactoring.
* Some refactoring: now inner calculation of 'linear' is in helper class.
* Moved reference implementation of Interpolate-4 into library with reference implementations.
* Small fix.
* Deleted commented tests.
* Code stile fixes.
* Deleted redundant type prop tests for Interpolate-4.
* Documentation fixes.
* Disabled IE_CPU tests for ONNX Resize: Interpolate-4 is not implemented in plugins.
* Temporarily disabled some ONNX tests.
* Some refactoring: deleted redundant attributes of InterpolateEval class.
* Small fix.
* Added NGRAPH_RTTI_DECLARATION and NGRAPH_RTTI_DEFINITION.
* Added debug print to 'cubic' mode calculation.
* Some deletions.
* Small fix.
* Fixed typos.
* Added another debug print.
* Now indices_shape is constructed from std::vector<std::size_t>(num_of_axes, 4) again.
* Fixed CMakeLists.txt.
* Small fix.
* Added more debug print.
* Fixed typo.
* Fixed calculation of the first argument of helper.clip_coord in the inner loop of cubic_func.
* Some code style fixes.
* Alphabetically sorted operations of opset4.
* Deleted constant cannot_define_axes.
* Used std::iota instead of loop.
* Renamed structure InfoToCallReference.
* Now void op::v4::Interpolate::validate_and_infer_types() checks an element type of an input tensor.
* Code style fix.
* Changes in reading of ONNX Resize and Upsample: we generate Interpolate-4 without 'axes' input.
* Now bodies of functions evaluate_interpolate_v4() and inline bool evaluate() are moved in the method bool op::v4::Interpolate::evaluate.
* Fixes in example of the documentation of Interpolate-4.
* Fixed typos.
* Small fix.
* Some fixes.
* Deleted some type aliases.
* Uncommented a test for 'cubic' mode.
* Small code style fix in bool op::v4::Interpolate::evaluate.
* Uncommented more test for Interpolate-4 reference implementation.
* Added more debug print.
* Some changes.
* Uncommented all tests for Interpolate-4 evaluate().
* Deleted debug print.
* Deleted 'simple' mode from the map nearest_mode_map.
* Code style fixes.
* Disabled some CPU tests.
* Some fixes.
* Small fixes.
* Some fixes.
* Fixed typo.
* Fixed typo.
* Small change.
* Fixed some typos.
* Fixed some typos.
* Fix in operator() of the class GetOriginalCoordinate.
* Disabled some CPU tests.
* Small changes.
* Deleted template function from resize.cpp.
* Code style fixes.
* Refactored the method op::v4::Interpolate::evaluate.
* Added documentation for infer_using_scales() and infer_using_shapes().
* Added documentation for classes GetNearestPixel and GetOriginalCoordinate.
* Small fixes.
* Some code style fixes.
* Small fixes.
* Some changes.
* Added NGRAPH_SUPPRESS_DEPRECATED_START and NGRAPH_SUPPRESS_DEPRECATED_END for using v0::InterpolateAttrs; and using v0::Interpolate;
* Code style fix.
* Enabled ONNX import only tests for Resize-10, Upsample-8, Upsample-9.
* Fixed element type for scales_const. Fixed targetShapes and pads in single layer tests.
* Small changes.
* Added conversion from NGRAPH to CNNLayer.
* Added documentation for the class InterpolateEval.
* Now 'nearest' mode has special tests in cpu single layer tests.
* Small changes.
* Fixes in cpu single layer tests.
* Temporarily commented Interpolate-4 in ConvertFunctionToCNNNetworkTests.
* Added some docs.
* Enabled some tests for Resize-11.
* Added test.
* Corrected expected values in the resize_downsample_scales_align_corners case.
* Added more test for the 'cubic' mode.
* Added more test for linear_onnx mode.
* Deleted debug print for linear_onnx mode.
* Deleted debug prints. Added yet another test for 'nearest' mode.
* Fixes for import of ONNX Resize-10 and Upsamples.
* Applyed Evgeny Lazarev fix for Interpolate-4 infer function.
* Code style fixes.
* Some tests were deleted from unit_test.manifest file for INTERPRETER.
* Deleted test for downscale Resize-10: results of infer are correct, but comparison is not.
* Enabled test INTERPRETER.onnx_empty_initializers_handling.
* Some fixes.
* Added the method run_with_tolerance_as_fp() to the class TestCase and the method compare_results_with_tolerance_as_fp() to the class TestCaseEngine.
* Small fix.
* Small fix.
* Added yet another type_prop test.
* Disabled CPU test IE_CPU.onnx_empty_initializers_handling.
* Code style fixes.
* Enabled some ONNX tests.
* Some changes.
* Code style fix.
* Enabled test INTERPRETER.onnx_model_round.
* Disabled tests with behavior as behavior of INTERPRETER.onnx_resize11_scales_down_linear.
* Changed tolerance for test onnx_empty_initializers_handling.
* Changed tolerance in the test onnx_resize11_sizes_linear (otherwise this test is failed in MacOS). Disabled test INTERPRETER.onnx_resize11_sizes_nearest_asymmetric_floor, because this test failed in MacOS only.