Merge pull request #25764 from alexlyulkov:al/cumsum-fix

Fixed cumsum layer, enabled conformance tests
pull/25840/head
Alexander Smorkalov 6 months ago committed by GitHub
commit 719b49ffa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      modules/dnn/src/layers/cumsum_layer.cpp
  2. 8
      modules/dnn/test/test_onnx_conformance_layer_parser_denylist.inl.hpp

@ -36,7 +36,7 @@ public:
std::vector<MatShape> &outputs,
std::vector<MatShape> &internals) const CV_OVERRIDE
{
Layer::getMemoryShapes(inputs, requiredOutputs, outputs, internals);
outputs.assign(1, inputs[0]);
return exclusive_raw == 0;
}

@ -438,11 +438,3 @@
"test_unsqueeze_three_axes", // ---- same as above ---
"test_unsqueeze_two_axes", // ---- same as above ---)
"test_unsqueeze_unsorted_axes", // ---- same as above ---)
// // Cumsum related issue: https://github.com/opencv/opencv/issues/24437
"test_cumsum_1d", //Issue:: output shape creation mismatch
"test_cumsum_1d_exclusive", // ---- same as above ---
"test_cumsum_1d_reverse", // ---- same as above ---
"test_cumsum_1d_reverse_exclusive", // ---- same as above ---
"test_cumsum_2d_axis_0", // ---- same as above ---
"test_cumsum_2d_axis_1", // ---- same as above ---
"test_cumsum_2d_negative_axis", // ---- same as above ---

Loading…
Cancel
Save