Merge pull request #26110 from Abdurrahheem:ash/hardmax-backend-fix

Switch off OpenVINO backend for Hardmax #26110

Fix Hardmax Issue with backend mentioned in #26107 

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [ ] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
pull/25326/head
Abduragim Shtanchaev 6 months ago committed by GitHub
parent f8fb3a7f55
commit a18d793dbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      modules/dnn/src/layers/hardmax.cpp
  2. 14
      modules/dnn/test/test_onnx_conformance_layer_filter__openvino.inl.hpp

@ -2,7 +2,6 @@
#include <opencv2/dnn/shape_utils.hpp>
#include "../precomp.hpp"
#include "layers_common.hpp"
#include "../ie_ngraph.hpp"
namespace cv
{
@ -18,7 +17,6 @@ public:
axis = params.get<int>("axis", -1);
}
virtual bool supportBackend(int backendId) CV_OVERRIDE
{
return backendId == DNN_BACKEND_OPENCV;

@ -550,6 +550,20 @@ CASE(test_edge_pad)
// no filter
CASE(test_einsum_batch_diagonal)
SKIP;
CASE(test_hardmax_axis_0)
SKIP;
CASE(test_hardmax_axis_1)
SKIP;
CASE(test_hardmax_axis_2)
SKIP;
CASE(test_hardmax_default_axis)
SKIP;
CASE(test_hardmax_example)
SKIP;
CASE(test_hardmax_negative_axis)
SKIP;
CASE(test_hardmax_one_hot)
SKIP;
CASE(test_einsum_batch_matmul)
// no filter
CASE(test_einsum_inner_prod)

Loading…
Cancel
Save