* Update deconv primitive APIs for dilations and output_padding
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Add calc_output_layouts for deconv
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Add deconv shape inference TCs for ov_gpu_unit_tests
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Add deconv dynamic TCs for ov_gpu_func_tests
- Disable pre_replace_deconv for dynamic shape
- Update get_expected_layout for deconv_node during reorder_input
- Add I/O swap of weights for shape infernece
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Add group deconv dynamic TCs for ov_gpu_func_tests
- Update op creation for group deconv
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix clang-format
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Update test params with swapped I/O dimensions for ov_gpu_unit_tests
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Update for optional output_shape const/param input support
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Update deconv/group deconv dynamic TCs w/ output_shape for ov_gpu_func_tests
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Update deconv/group deconv shape inference TCs w/ output_shape for ov_gpu_unit_tests
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Apply code review
Signed-off-by: Andrew Park <andrew.park@intel.com>
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Add type_prop tests
* Add shape_infer tests
* Update shape_infer to preserve interval dim and label
* Unified approach for get_data_as_shape and negative value checks
* Remove redundant gtest header
* rename one hot shape infer test file
* Add test for shape_infer with default ctor and adjust resolve_axis
* Move get_data_as_shape changes to the one hot custom util
* Adjust custom get_data_as_shape
* Select shape_infer tests update
* Add Select type_prop tests
* Add evaluate_lower/upper for select
* Revert evaluate_lower/upper for Select
* Use get_node_input_partial_shapes
* Style and headers improvements
* Style apply
* Rename select shape infer file tests
* Use default ctor for output_shapes init
* Use helper for shape_labels init and add more dim test cases
* Extend partial shape interface add value_type
- add emplace_back
* Example to created dimension in output shape
instead of using tmp vector
* Add partial shape tests
* Review tile for shape inference:
- propagate labels and dimension
- template implementation of shape inference
- if repeats is not-positive output dim is always 0
* Refactor Tile shape inference
* Review preserve partial values and labels
* Add support to evaluate bounds from repeats input
* Remove not used code
* Set squeeze output shape to scalar if 0 <= input_shape[0] <= 1
* add squeeze type_prop test case
* Update src/core/shape_inference/include/squeeze_shape_inference.hpp
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
* Update src/core/shape_inference/include/squeeze_shape_inference.hpp
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
* Review labels and dimension propagation
- check dimensions propagation with partial dimension
- extend testing for labels an dimensions propagation
* Shape inference support bounds evaluation
on begin, end inputs
* Review static shape inference
* Move sequence generator to dev API
to avoid create unnecessary library dependency
* Fix windows build issue
* Use strided slice in scatter update test
of partial value propagation
* Remove unused constant from test
* Fix strided dim calculation
* Fix clip lb,ub for strided dim calculation
* Use op strides if absent in input_shapes
* Move back SeqGen to shape inference
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
* Review einsum shape and label propagation
- extend type_prop test by check labels and einsum properties
* Review template implementation of shape inference
- rename StaticShape inference test file
- use common fixture and rename test cases
- add default ctor test
- add equation string setter
* Fix einsum label propagation check
due to improvement of dimensions and labels merge
* Remove BWDCMP_RTTI_DEFINITION from einsum op
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
* Intial update for NMS mutiple outputs support
- update get_depedencies_new primitive overriding func for nms and reorder
- primitve API update for nms and reorder
- add non_max_suppression_base test TC for multiple outputs
- update non_max_suppression cpu impl for backward compatibility
- update dependencies_new for remove_redundant_reorders opt pass
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Update program_node and kernel_impl_params for multiple outputs supports
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix runtime error and failed TC for multiple outputs support
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix conflicts and newly update
Signed-off-by: Andrew Park <andrew.park@intel.com>
* TopK shape infer
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Implement TopK gpuFunctests for dynamic shape and multiple outputs
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix conflicts
Signed-off-by: Andrew Park <andrew.park@intel.com>
* minor API fix
Signed-off-by: Andrew Park <andrew.park@intel.com>
* NMS shape infer
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Implement Nms gpuFunctests for dynamic shape and multiple outputs
Signed-off-by: Andrew Park <andrew.park@intel.com>
* move gpuFunctests and fix conflict
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix issues for Nms gpuFunctests
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix conflicts and code cleanup
Signed-off-by: Andrew Park <andrew.park@intel.com>
* apply clang-format
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Apply change to onednn primitive_impl
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix CI issues
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Apply code review
Signed-off-by: Andrew Park <andrew.park@intel.com>
* updates for ngraph shape infer
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix conflicts
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Apply code review
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Failing case
* Apply code review
Signed-off-by: Andrew Park <andrew.park@intel.com>
Signed-off-by: Andrew Park <andrew.park@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
* Enabled Conv dynamic shape & Added conv dynamic functional test
* Fix layout optimizor
* Revert layout optimizer change
* Set expected layout of convolution for dynamic shape to be fsv16
* Fixed groupConv for dynamic shape
Added 1D dw/group convolution tests for both static & dynamic
Currently, 1D group convolution is only works for dw..
* Minor fix
* Updated for 3D conv dynamic case + corresponding test
* Fix lint error
* Fix INSTANTIATE_TEST_CASE to INSTANTIATE_TEST_SUITE
* Fix clang format & skip 1D group conv test
* Add shape_infer function for GRUCell op
* Add shape_infer function for AUGRUCell
* Consts refactor
* Add batch_size check
* Enable GRUCell shape_infer for CPU
* Style apply
* Use OV_EXPECT_THROW in tests
* Use helper for input shapes
* Use .back() instead of index
* Change rnn_seq namespace to rnn
* Fix win warnings
* Enable AUGRUCell/Sequence shape_infer on CPU
* Fix warn
* Fix warn
* Review squeeze operator for
- label preserve and propagation
- partial values preserve and propagation
- interval shapes propagation
* Review static shape inference tests
* Add template shape inference for squeeze
* Update include for OV_EXPECT_THROW
* Correct has_static_axes initialization
* remove test_squeeze from xfail 44968
* Fix inference parameter op with no data
- add additional test to check if axes are parameter without data
- revert xfail marks for squeeze tests
* Fix inference parameter op with no data
- add additional test to check if axes are parameter without data
- revert xfail marks for squeeze tests
* Refactor axes acquire logic
* Use non-blocking assertions in unsqueeze tests
for independent properties
* Review unsqueeze interval shape propagation:
- extend partial shape propagation tests
- add invalid axis value tests
- fix issues when repeated axes on input
* Shape inference test, unsqueeze using default ctor
- private fields set by setters
* Review unsqeeze bounds propagation:
- preserve and propagate labels
- bounds propagation lowe/upper
* Add template shape inference for unsqueeze
- extract current implementation and unify it for shape types
- add unit test for static shape inference
- add unsqueeze in/out indexes
* Unify axes normalization
* Use common fixture for static shape inference
* Fix build issue in GPU plugin
- include unsqueeze shape inference
* Remove enum with in/out indexes
Due to build issue on Windows
* Remove make move iterator
minor changes validation util
* Add test for label propagation
- expand static shape inference tests
* Add common validation for axes input
* Fix build issues
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
* Update to the latest cmake for Windows
* Skip new warnings
* Added compiler flags for old cmake
* Disabled some warnings
* Suppress new warnings
* Fixed some errors
* Disable some warning for lpt
* Fix some warnings
* Disable new warnings
* Fix some warnings
* Disabled Was error for arm
* Fixed some errors
* Fixed some new warnings
* Fixed auto plugin
* Fixed Windows warning
* Fixed Windows
* Disable some warnings
* Some changes
* Small test fixes
* Fixed python build
* Added skip warnings for legacy python API
* Use eltwise_shape_infer form shape_inference in validate_and_infer_elementwise_args
* Align Unary ops, remove redundant validate_and_infer_elementwise_args usage
* Add test with default constructor for BinaryElementwiseArithmetic ops
* Style apply
* Fix expected error message
* Add common shape_infer tests for BinaryElementiwiseArithmetic ops
* Remove old Add test
* Update NGRAPH_CHECK to OV ASSERT
* Removal of redundant autob param to the validate function
* Tests update
* Add interval dim test to Concat op
- use common test fixture for PartialShape OK scenario
* Use get_shape_labels in Concat tests
* Add label_evaluate test for Concat op
* Add validation util to check no labels in tensor
* Add template shape inference for Concat op
* Move Conact evaluate_label test to evaluate bounds
* Fix cpplint issue
* Test to interval shape propagated by transpose
* Test to propagate labels by transpose
* Add template transpose shape inference
* Fixes to transpose shape inference
* Update names for shapes:
input -> input_shape
order -> order_shape
* Not fill output shape for dynamic range
* Add constexpr to SeqGen and Between comparator
* Correct StaticShape creation in test
* Tests check partial value propagate in arg input
* Add evaluate upper, lower, label to transpose
- add test
* Add common methods for inference and evaluate
* Move helpers to shape_inference
* Move transpose attribute to transpose op
* Fix include in transpose operator
* Correct label generation and type
* Fix null conversion
* Use uint64_t for labels tensor
* Fix compare labels
* Use order length as output rank
* Update transpose transformation test
* Move helpers to validation_util
* Correct test assertion for expected shape
* Transpose evaluate use common function
for output calculation
* Remove redundant helpers from transpose test
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400
Fixed warnings on local machine
* Added CMAKE_COMPILE_WARNING_AS_ERROR usage
* Fixed style
* Fixed merge conflicts
* Fixed typo
* Fixed myriad build for macOS
* Fixed warning
* Fixed tests
* Disabled incorrect test
* Try to fix linux tests
* Revert "Try to fix linux tests"
This reverts commit 29224c93ff.
* Fixed tests
* Revert logic with incorrect cast
* Fixed log softmax
* Disable warning as error for cuda
* Try to fix inference_engine_s
* Fixed cmake
* Revert "Fixed cmake"
This reverts commit 87e9e4e674.
* Revert "Try to fix inference_engine_s"
This reverts commit a1adca8b05.
* WA for static symbols in inference_engine_s test library
* Fixed code style
* Fixed static definition for master
* Revert "Fixed static definition for master"
This reverts commit 20d00d215a.
* Revert "Fixed code style"
This reverts commit 0eb2362543.
* Revert "WA for static symbols in inference_engine_s test library"
This reverts commit 75ef86a79d.
* Fixed linker issue for Windows
* Disable WaE by default
* Disable warning as error in the developer package
* Try to fix dev package
* Try to fix Windows Jenkins
* Revert old behavior for tread_warn_as_err variable
* [GPU] Split and VariadicSplit new shape infer (#13216)
GPU update test script
* [GPU] Added W/A for crop offset (#13216)
Co-authored-by: Ahn, Paul Y <paul.y.ahn@intel.com>
* [GPU] Fix crop gpu test failures (#13216)
- Fixed by review comments
* [GPU] Move input offsets calculation to crop_inst::calc_output_layouts (#13216)
Co-authored-by: Taylor Yeonbok Lee <taylor.lee@intel.com>
- Precise spatial shape inference for dynamic shapes
- Deprecated set_adding_above method and given alternative set_pads_end
- Enabled shape inference for default-constructed Convultions (private field `num_spatials` is no more required to call shape_infer)
- Test adjusted for dynamic spatial shapes calculation
Tickets: 82949, 82963
* multiclass_nms opset9 spec, api, reference, paddle fe mapper, paddle fe unittest.
* multiclass_nms opset9 cpu node impl.
* multiclass_nms opset9 shape infer fix.
* multiclass_nms opset9: add transform ConvertMulticlassNms8ToMulticlassNms9.
* ConvertMulticlassNmsToMulticlassNmsIE: to MulticlassNmsIEInternal
* add test dependency package paddledet==2.1.0
* 1. fix for roisnum overflow. 2. common shape_infer private function.
Signed-off-by: jialipen <cecilia.peng@intel.com>
* 1. use common infer_shape helper. 2. fix roisnum overflow issue. 3. fix for nmsWithEta.
* test suite for opset9 multiclass_nms smoke tests pass, with both static and dynamic shapes.
code clean for unit test.
* decouple specification from this PR.
* op fuzzy: dynamic input/output
* reference impl refactor
* multiclass_nms_base no need clone_inputs.
* code clean
* restrict ppdet import
* fix clang format error
* change ppdet import to resolve CI fail issue related to its dependency.
* fix CI
* refactor: multiclass_nms_shape_inference for opset9 and reference impl.
TODO: could be applied to opset8 and even matrix_nms.
* fix CI build failure.
* CI fix for ambiguous namespace reference issue when
building static libs.
* update nms save_model python scripts.
* dynamic inputs for NMS with CPU plugin.
* copyright header for test scripts.
* op comformance test for multiclass_nms_9.
* minor update: is_type
* python opset9 and multiclass_nms
* flake8 CI fix
flake8 CI fix
flake8 CI fix
* remove NmsBase. stage1.
flake8 CI fix
remove NmsBase. stage 1 fix.
* rm NmsBase. stage2.
* more multiclass_nms prop tests and fix.
* remove unchanged ops from binding opset9.
* dependcy of paddle_tests.
* fix: add MulticlassNms to op mapper.
* clang format fix
* fix merge error.
* Added shell for Eye-9
* Updated spec for Eye-9
* Added reference for Eye-9
* eye cpu
* Added op impl check for Eye-9
* Fix unallowed dynamic to static dim conversion in eye shape_infer
* Add template plugin tests for dynamic shapes
* Add template plugin tests for dynamic shapes batch input
* Enable batch shape input dynamic rank
* Uncomment 3D batch cpu Eye tests
* Update assertions and messages
* use ov::element type
* Remove redundant evaluate from eval map
* Style fix
* Add static_cast<T>(1) to cpu eye
* Add defaults to eye cpu class members
* Reuse out_ptr and checks
* Reutrn if onesPerBatchNum == 0
* Add Eye CPU Dynamic shape tests with 2D batch
* Additional test cases for CPU and reference
* Disable 3D batch eye cpu tests
* Fix CPU implementation for matrix with not equal cols and rows
* Update CPU test name
* Disable CPU Eye 3D batch static shapes tests
Co-authored-by: Alexandra Sidorova <alexandra.sidorova@intel.com>
Co-authored-by: Yury Gaydaychuk <yury.gaydaychuk@intel.com>
* roi_align_9: ov_core, transformations, template_plugin
* roi_align_9: CPU Plugin
* keep only constructor with enums which is aligned with spec
* remove evaluate function for ROIAlign_9
* Add op check test for operation ROIAlign-9
* Apply suggestions from code review
* fix version name from 'v0' to 'v3' in transform part
* use common shape_infer function for v3 and v9
* remove'tf_' prefix for ROIAlign::AlignedMode to avoid misleading for models from different platforms