Fixed cumsum layer, enablem conformance tests

pull/25764/head
Alexander Lyulkov 6 months ago
parent a2d2ea6536
commit 759fc701ab
  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