* nG Python api for Gather and IE IR reader tests
* also included old IE IR reader test for Gather1
* added a blank line before Gather
* style corrections
* applied review comments
* removed blank line
* removed xfailed for Gather7 with batch_dims since CPU was moved to nGraph (...allows to fallback node execution on ngraph evaluate() method in case if optimized implementation is absent)
* added new visitor tests
* Enhance dynamic shape inference of validate and infer types method
* Review op class of DeformableConvolution
* Add node validation checks into validate and infer types specific to element type and shape of inputs
* Refactor validate and infer types method to use common function to validate conv parameters and infer output shape
* Apply these changes to Convolution and BinaryConvolution for alignment
* Add type_prop unit tests
* Add node validation checks for deformable values spatial dimensions
* Fix type_prop and python api shapes
* Fix deformable values spatial dimensions
* Add validation checks in reference implementation
* Address review comments
* Remove reference to const for basic types in ref impl
* Update comment with ticket to add check for u1
* Change deformable values to offset to align with spec
* Added nGraph Python API for operations DFT and IDFT.
* Written tests for the DFT Python API.
* Written tests for IDFT nGraph Python API.
* Small fixes.
* Started to add tests for the signal_size case.
* Written tests for signal_size case of DFT.
* Written tests for signal_size case of IDFT.
* Some code style fixes in IDFT nGraph Python API tests.
* Code style fixes in tests for DFT nGraph Python API.
* Now DFT nGraph Python API tests are used numpy FFT ressults as expected results of tests.
* Now IDFT nGraph Python API tests without signal_size are used numpy FFT result as input data.
* Now IDFT nGraph Python API tests use numpy IFFT as expected results for signal_size cases.
* Deleted redundant function.
* Formatting fix.
* Now test data for DFT and IDFT nGraph Python API are randomly generated.
* Added seed initialization.
* Extend nGraph Python API and test IE IR reader for Einsum
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Format description for test auxiliary function
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove print from the python test
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* BatchToSpace, SpaceToBatch layers optimizations
* Fix according to review
* Fix tests for oneDNN (v1.6)
* Fix of support BF16
* Fix in/out config
* Add support of Blocked layout
* Fix of support U8
* Add support for in/out channels of different sizes
* Removed xfail
* Removed xfail_issue_34327
* BatchToSpace, SpaceToBatch layers optimizations
* Fix according to review
* Fix according to review
* 3 different implementations -> 1 implementation
* Fix THROW
* Fix Exception
* Revert Batch_to_Space to parallel_for
* Fix remarks
* parallel_for -> parallel_nt
* Fix remarks
* Fix data separation
* Fix according to review
* 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.
* 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
* Add python api for CTCGreedyDecoder
* Fix code style
* Fix unit test
* Fix code style
* Fix unit tests
* Fix python tests
* Fix python tests
* Fix python tests
* Fix according to code review
* fix
* Fix api
* fix unit tests
* Fix unit test
* Fix python api
* Revice DetectionOutput reference implementation
Ticket: 37433
* fix test_create_op
* fix test_dyn_attributes
* apply code format
* fix crash on Windows when variance_encoded_in_target == 1
* add more checks for DetectionOutput inputs
* Fix single layer tests
* apply code format
* fix ssd_vgg16_300 inference with batch size > 1
* update types in docs
* fix crash on windows
* apply code style
* fix python tests
* fix setting output type
* change False to false and True to true in docs
* Allow prior boxes to have different type than box logits
Some models work that way
* simplify output shape calculation
* fixes to docs
* Add reference implementation for PSROIPooling operator
* fix test_roi_pooling
* use std::roundf
* remove unnecessary copies in single layer tets
* Fixes after review
* fixes after review
* use element::Type_t instead of element::
* apply code format
* add PSROIPooling to evaluates_map
* apply code format
* remove power op from layer creator
* remove prelu op from layer creator
* remove tile op from layer creator
* remove relu op from layer creator
* remove selu op from layer creator
* remove softmax op from layer creator
* remove tanh op from layer creator
* remove split op from layer creator
* remove reshape op from layer creator
* remove reverse sequence op from layer creator
* remove proposal op from layer creator
* remove priorbox op from layer creator
* remove roipooling op from layer creator
* remove priorboxclustered op from layer creator
* style fix
* utility function to parse bool-containing strings
* align priorbox scale_all_sizes parameter to specification
* change location of getBoolStrParamAsIntStr function
* align prelu creator to new constant op changes
* adjust priorbox tests to align with scale_all_sizes default value
* adjust priorbox python tests to align with scale_all_sizes default value
* align priorboxclustered attributes initlialization to specification
* fix checking wrong container's end iterator for opset name search
* improve comment on roipooling parameters
* Apply review suggestion 1
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Apply review suggestion 2
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* align priorbox step initial value to specification
* align roipooling method attribute to specification
* remove roipooling specific creator
* align with review comments
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* sequences to ti transformations, support for seq_lengths input, update reference implemetations, add new tests
* fix python api, update sequences to ti transformation
* fix sequences to ti transformation
* Update sequences to TI transformation: fix reverse sequence support
* update single layer tests, fix TI reference impl, fix Sequences to TI transformations
* ngraph code style
* fix build
* fix ngraph python api
* resolver review comments, refactoring
* Resolve review remarks
* delete xfail
* Loop op ngraph implementation, update IE IR Reader and ngraph to cnn converter
* refactoring SubGraphOp class
* type prop unit tests
* ngraph code style
* update comment
* single layer tests for Loop operation
* fix file name
* Add SpecialBodyPorts attribute in Loop op, update single layer tests
* first debug version
* more tests
* missing test file
* removed not needed shapes from test data
* move test data to new folder
* shape infer tests
* Added execution tests
* add several new tests cases, strict checks in Loop impl, temporary disable single layer tests
* ngraph codestyle, refactoring, clone_new_args test
* resolve review remarks
* fix build
* fix tests
* more execution tests
* add a new constructor of Loop op, resolve review remarks
* execution tests
* synchro with current version
* handle scalars and more tests
* scalar test enabled
* loop reference impl
* bug fixes in tests, onnx importer part and in the ref implementation of the Loop op
* applied remarks
* handle unsupported cases
* rewrite unit tests
* update INTERPRETER manifest
* is_termination_condition_always_true simplification
* [TEST] update python models tests
* review remarks
* added xfail to tiny_yolov3
* missing model test
* revert test data
* fixed numbers of failing tests
* fixed failed test description
* fix test message
* fix xfail test
* reference implementation for ngraph::function
* update loop reference implementation
* Refactor loop reference implementation
* ngraph codestyle
* Refactoring
* Submodule update
* Skip check for Reduce ops in mkl for scalar cases, support for yolov3
* fix ngraph reader tests
* revert ceiling op, renaming
* Add allias(Ceiling) for Ceil op in mkl
* delete xfails
* fix build
* single layer tests for tensor iterarator
* Refactor TensorIterator and Loop ref impls
* revert dynamic tensor creation, disable some dynamic test cases
* fix warning
* Resolve review remarks
* revert Predefined values in Loop tests
Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
* Some code style fixes.
* Started to write the method v5::NonMaxSuppression::evaluate().
* Started to write nGraph reference implementation of NMS-5.
* Some additions.
* Written preprocessing of boxes data.
* Started to write the function non_max_suppression() that calculates NonMaxSuppression-5 operation.
* Written postprocessing of the evaluate().
* Small fixes.
* Small fix.
* Added include for ngraph/shape.hpp.
* Written the function intersectionOverUnion.
* Some additions.
* Small fix.
* Continued to write the function non_max_suppression().
* Small fixes.
* Small fixes.
* Some changes.
* Some additions.
* Some replacements size_t by int64_t.
* Added casts to float in the construction of selected_score variable.
* Code style fixes.
* Written draft of NMS-5 nGraph reference implementation.
* Code style fixes.
* Started to write tests for void op::v5::NonMaxSuppression::validate_and_infer_types().
* Added tests for scalars/nonscalars.
* Fixes in the test type_prop.nms_v5_output_shape.
* Fixes in tests nms_v5_output_shape_2 and nms_v5_output_shape.
* Written tests for validate_and_infer_types() of NMS-5.
* Code style fixes.
* Now NMS-5 evaluate() can have outputs with calculated shapes.
* Small fixes.
* Corrected tests for NMS-5 validate_and_infer_type().
* Code style fixes.
* Started to write inner version of NMS-5 with static output shapes.
* Written draft of the inner operation NonMaxSuppressionIE3.
* Started to write conversion of op::v5::NonMaxSuppression into NonMaxSuppressionIE3.
* Small changes.
* Some additions.
* Small fixes.
* Fixed typo.
* Fixed typos.
* Written draft of the transformation ConvertNMS5ToLegacyMatcher that converts ngraph::opset5::NonMaxSuppression into op::NonMaxSuppressionIE3.
* Written header file for the transformations from NMS-1, NMS-3, NMS-4 to NMS-5.
* Started to write conversion of NMS-4 to NMS-5.
* Added include for ngraph/opsets/opset4.hpp.
* Started to write conversion of NMS-3 to NMS-5.
* Small fixes.
* Written draft of the conversion of NMS-3 into NMS-5.
* Fixed typo.
* Started to write conversion of NMS-1 to NMS-5.
* Written draft of the conversion NMS-1 to NMS-5.
* Started to write tests for the conversion nGraph NMS-5 to inner NMS.
* Started to write the test ConvertNMS5ToNMSIEStatic.
* Written tests for conversion of nGraph NMS-5 to inner NMSIE3.
* Started to write tests for conversion of previous NMS to nGraph NMS-5.
* Written tests for conversion of old nGraph NMS to NMS-5.
* Started to write tests for opset5::NonMaxSuppression::evaluate().
* Some additions.
* Small fix.
* Written tests for op::v5::NonMaxSuppression::evaluate().
* Used NGRAPH_RTTI_DECLARATION for NonMaxSuppressionIE3.
* Used NGRAPH_RTTI_DECLARATION for NMS-5.
* All static local constants and functions for NMS-5 were moved into non-named namespace.
* Some code style fixes.
* Moved some file.
* Small fix.
* Code style fix.
* Now NMS-5 supports all floating types in inputs 0 and 1.
* Moved some files.
* Fixed include directive in the file convert_nms_5_to_legacy.cpp with transformations NMS-1, 3, 4 -> NMS-5.
* Small changes.
* Deleted conversion NMS-3 -> legacy.
* Small changes.
* Fix in op::v5::NonMaxSuppression::evaluate: output shape [1] instead of [] in the output port 2.
* Code style fixes.
* Deleted conversion of NMS-4 into legacy NMS.
* Deleted redundant ifs.
* Added NMS-5 to Python API.
* Code style fix.
* Small change.
* Fixed element type for constants in the conversion of NMS-5 to NMSIE3.
* Deleted support of f64 in NMS-5.
* Added checks for input element types for inputs #0, #1, #3, #4, #5.
* Small change.
* Now get_floats throws an exception for unsupported types.
* Now nGraph NMS-5 supports 0D and 1D tensors in inputs #2, #3, #4, #5.
* Small fix in test_non_max_suppression.
* Deleted using namespace std
* Fixes in test_non_max_suppression().
* Small fixes.
* Added 'import PartialShape' in test_reduction.py.
* Deleted creating fake inputs in the ctor of op::v5::NonMaxSuppression.
* Deleted creating fake inputs in op::v5::NonMaxSuppression::clone_with_new_inputs.
* Corrections in int64_t op::v5::NonMaxSuppression::max_boxes_output_from_input() const.
* Corrected functions float op::v5::NonMaxSuppression::soft_nms_sigma_from_input() const, float op::v5::NonMaxSuppression::score_threshold_from_input() const, float op::v5::NonMaxSuppression::iou_threshold_from_input() const.
* Small fixes.
* Deleted commented code.
* Fixes in nms_v5_scalar_inputs_check.
* Some changes.
* Small fixes.
* Code style fixes.
* Small changes.
* Small changes.
* Small fix.
* Deleted commented code.
* Some refactoring in ConvertNMS4ToNMS5 ctor.
* Small fix.
* Common part of conversions NMS-1 -> NMS-5, NMS-3 -> NMS-5, NMS-4 -> NMS-5 was moved into the separate function.
* Now conversions NMS-1 -> NMS-5, NMS-3 -> NMS-5, NMS-4 -> NMS-5 support both 2 inputs, and 5 inputs.
* Now transformations NMS-1 -> NMS-5, NMS-3 -> NMS-5, NMS-4 -> NMS-5 are called from 'umbrella' transformation.
* Now the transformation ConvertNMS5ToLegacyMatcher supports NMS-5 with 2, 3, 4, 5, or 6 inputs.
* The transformation ConvertNMS5ToLegacyMatcher was rewritten using Reshape instead of Unsqueeze.
* Started to rewrite tests for the transformation ConvertNMS5ToLegacyMatcher.
* Some fixes.
* Small fixes.
* Corrected tests for the transformation NMS-5 -> NMSIE3.
* Small formatting fix.
* Now methods max_boxes_output_from_input(), iou_threshold_from_input(), score_threshold_from_input(), soft_nms_sigma_from_input() of op::v5::NunMaxSuppression are public.
* Started to move op::v5::NonMaxSuppression::evaluate() into ngraph/test/runtime/interpreter.
* Added NMS-5 to ngraph/test/runtime/interpreter/int_executable.
* Small fixes.
* Code style fixes.
* Written draft test nonmaxsuppression_center_point_box_format_backend in ngraph/test/backend.
* Small fix.
* Written draft tests of NonMaxSuppression in ngraph/test/runtime.
* Some changes.
* Small changes.
* Disabled IE_CPU tests for NMS-5.
* Deleted op_eval tests for NMS-5.
* Deleted evaluate() method of NMS-5.
* Now all nGraph functions in tests of the transformation NMS-5 -> NMSIE3 have one output.
* Now preprocessing and postprocessing of the calculation of NMS-5 in reference implementation.
* Code style fixes.
* Some fixes in tests for the transformation NMS-5 -> NMSIE3.
* Replaced precision i64 -> i32 for some constants in tests for the transformation NMS-5 -> NMSIE3.
* Written creating CNNLayer for NMS-5.
* Added creating CNNLayer for NonMaxSuppressionIE3.
* some changes.
* Now conversions NMS-1, NMS-3, NMS-4 -> NMS-5 and NMS-5 -> NMSIE3 generate NMS nodes with 5 inputs.
* Fixed ctor in MKLDNN NonMaxSuppressionImpl: validation of number of output edges.
* Added conversion of output_type for NMS-5.
* Fixes in the transformation NMS5 -> NMSIE3.
* Fixes in the conversion of NMS-5 to NMSIE3.
* Fixes in MKLDNN NMS ctor.
* Small fix.
* Fixed tests for the transformation NMS5 -> NMSIE3.
* Fixed tests for conversions NMS-1, NMS-3, NMS-4 -> NMS-5.
* Small fixes in MKLDNN NMS ctor.
* Rewritten create_layer() functions for NMS-5 and NMSIE3 as addSpecificCreator() functions.
* Disabled tests for IE IR reader for NMS-4.
* Deleted debug code.
* Added comment about disabling tests IE_CPU.nonmaxsuppression.
* Written IE IR Reader test for NMS-4.
* Deleted function float_from_constant_node.
* Small fixes.
* Deleted functions function_from_model and construct_weights.
* Small fix.
* Replaced push_back with emplace_back in the conversion of NMS-5 to legacy.
* Small changes.
* Some fixes.
* Refactored reference implementation of NMS-5.
* Moved structure NMSAttributes to unnamed namespace.
* Code style fixes.
* Small fix.