* Deprecated ICNNNetwork
* ICNNNetwork deprecation
* Fixed comments
* More suppressions for ICNNNetwork
* Fixed C API compilation
* Deprecated ICNNNetwork methods only
* [IE CLDNN] Fixed cpplint for clDNN with Ninja generator
* Fixed compilation for ApiVersion with clang
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
* Minimized legacy usage in tests
* Use legacy only for specific files
* Fixed code style
* Fixed linkage
* Removed old CPU / GPU tests binaries
* Test
* Disabled IB console
* Disabled test for AUTO QueryNetwork from parallel threads
* Added out of bounds check for output ports
* Corrected if condition
* Updated exception message
* Added functional test
* Verified particular type of exception
* Removed legacy IE shape infer
* Removed GenericIE operation
* Removed legacy shape infer tests
* Removed legacy test with legacy IE reshape
* Fixed compilation issues related to removal of GenericIE
* Fixed one more compilation issue with clDNN
* Fixed test for reading experimental ops
* Updated tests and make IR Reader to load old experimenal and extension ops as opset6
* Change opset of some ops only if they are currently experimental/extension to avoid situation like opset1::Proposal -> opset6::Proposal
* Removed more legacy code
* Returned back code removed by mistake
* Fixed issues related to incorrect merge with master
* Merge fixes
* Fixed unit tests which starts to fail because now loading the model with unknown operation is failed earlier
* Removed incorrectly added code
Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
* Commit.
* Written the header file of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Started to write cpp-file for the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Deleted in_ports_count attribute for the MO operation ExperimentalDetectronROIFeatureExtractor.
* Written validate_and_infer_type() method of ngraph::op::v6::ExperimentalDetectronROIFeatureExtractor.
* Code style fixes.
* Code style fixes.
* Small fixes.
* Code style fixes.
* Now operation ExperimentalDetectronROIFeatureExtractor is read as nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Implemented op::v6::ExperimentalDetectronROIFeatureExtractor::clone_with_new_inputs().
* Added macro NGRAPH_OP_SCOPE to the cpp-file of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Fixes in some tests.
* Code style fix.
* Fixed yet another test for ExperimentalDetectronROIFeatureExtractor.
* Added tests for reading ExperimentalDetectronROIFeatureExtractor as operation from opset6.
* Added more test for reading ExperimentalDetectronROIFeatureExtractor as operation from opset6.
* Started to write shape infer tests for the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Corrected ngraph/test/CMakeLists.txt.
* Small changes.
* Code style fix.
* Small fixes.
* Added ctor of ExperimentalDetectronROIFeatureExtractor with NodeVector as argument.
* Added setting the attribute in_ports_count when the MO operation ExperimentalDetectronROIFeatureExtractor is creating in the MO transformation ONNXMaskRCNNTransformation.
* Added shape infer for the second output of the nGraph operation ExperimentalDetectronROIFeatureExtractor.
* Written shape infer tests for nGraph operation ExperimentalDetectronROIFeatureExtractor (case when input shapes are partially dynamic).
* Small fixes.
* Code style fix.
* Deleted redundant &expected_channels.
* Code style fix.
* Small refactoring.
* Small fixes.
* Small changes.
* Small fixes.
* Deleted attribute distribute_rois_between_levels of ExperimentalDetectronROIFeatureExtractoe.
* Deleted attribute preserve_rois_order of ExperimentalDetectronROIFeatureExtractoe.
* Deleted attribute image_id of ExperimentalDetectronROIFeatureExtractoe.
* Now MO generates attribute 'aligned' of ExperimentalDetectronROIFeatureExtractor only with values 'true' or 'false'.
* Small fix.
* Fix in the conversion of the attribute 'aligned' of MO operation ExperimentalDetectronROIFeatureExtractor to string.
* Tabs were replaced by spaces in some XMLs.
* Tabs were replaced by spaces in ngraph_reshape_tests.cpp.
* Fixed copyrights.
* Applied small patch to IREngine from PR https://github.com/openvinotoolkit/openvino/pull/3814.
* Tabs were replaced by spaces in cnn_ngraph_impl_tests.cpp.
* op::v6::ExperimentalDetectronROIFeatureExtractor::validate_and_infer_types() was rewritten using operator & for channels.
* Added tests for input shapes of op::v6::ExperimentalDetectronROIFeatureExtractor in the case when inputs shapes consist of intervals.
* Fixes in test type_prop.detectron_roi_feature_extractor_intervals.
* [IE]: Allows plugins to disable Gather -> GatherIE conversion
Gather layer takes axis as 3rd input, not attribute and may
take indices as 0D scalar input
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Disables Gather -> GatherIE conversion
Gather -> GatherIE conversion may introduce Gather
operation decomposition into Unsqueeze + Gather +
Squeeze in case if indices input is 0D scalar input.
In case of dynamic Gather such decomposition will
break dynamic path. Myriad plugin has to support
Gather operation natively without legacy conversion.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Enables native Gather support
Gather layer in contrast with GatherIE takes
axis as 3rd input, not attribute and may take
indices input as 0D scalar input.
0D -> 1D conversion happens automatically at
the beginning of frontend.
Axis as 3rd input is supported for single value
integral scalar only.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU][Tests]: Enable new infra single layer Gather tests
* Removes corresponding tests from old infrastructure
* Enables test cases with 0D indices input
* Extracts base test fixture from shared tests fixture.
Unfortunately, Google Tests supports Combine generator
for tuples of size up to 10 only. Originally, shared
tests fixture already has 10 elements in tuple for
tests parameters. At the same time myriad plugin needs
to specify configuration option. Since configuration
option could not be test parameter we are forced to
use separate class, in order to get rid of code
duplication base class is used.
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Updates firmware
Enables native Gather support on device side
* Remove 49 operators from layer creator
* Remove debug code
* Add specificCreator for deconvolution
* add specificCreator for logical not
* Fix concat creator behavior for negative axis
* add creator for TopK, overrides for visit_attribute methods
* remove layerCreator templates for removed ops
* Disable exception check for Deconvolution and TopK
* add specificCreator for stridedSlice
* add specificCreator for DetecionOutput
* resolve conflict with batchNormInference changes
* fix detection output visit_attributes for some of the bools
* Remove Ceiling from LayerCreator
* Change detectionOutput param validation to expect bool instead of uint
* detectionOutput specificCreator to set bool params as int strings
* Add vector of integer value accessor handling to xml deserializer.
* Fix indentation
* Initial movement
* Divided transformations to common and legacy
* Changed ngraph visibility to ie_api.h
* CommonTransformaitons to Internal
* New trasnformations location structure
* fixde typo; move convert_quantize_dequantize to common
* Added control_flow folder
* Initial commit
* [SSR] Reshape(2D)->MatMul constrain relaxation
* Moved common pattern mechanics to the common function
* Moving SmartReshape to CNNNetworkNgraphImpl ctors
* Review comment
* Tests
* Do not remove convert after the topK
* Added debug message
* Removed xFail
* Revert "Added debug message"
This reverts commit a01ace4ade88d73e2797b47c58db33943b0f508d.
* Added test
* 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.
* Added ctor for CNNNetworkImpl to convert from ngraphImpl
* Re-use in all places instead of manual conversion
* Hide convertToCNNNetworkImpl usage
* Remove useless test
* Fixed Gleb's comments
* Fix kaldi models (batch > 1)
* ngraph codestyle
* fix ngraph to ie conversion
* Added comment
* apply review comments
* Added test for the case using the SetBatchSize function when ReadValue op is in the network
* Check status code instead of message
* Use new ngraph api