Files
opencv-MIRROR/modules
Abhishek Gola 1056624e1c dnn: fix CumProd crash when the scan axis has length 0 (#31063)
* dnn: fix CumProd crash when the scan axis has length 0

* dnn: use Mat::empty() for the CumProd empty-input check

Return early from forwardImpl() when the input has no elements. The output already has the right empty shape. The check comes after normalize_axis(), so an out-of-range axis is still reported.
2026-11-24 10:45:03 +05:30
..