Files
opencv-MIRROR/modules
pbkx a06a29dc41 dnn: fix NonZero output for grouped parallel ranges (#31009)
Incorrect prefix offsets can be generated when different partitions are used for counting and emission, leading to some coordinates being overwritten or not written at all. Despite this, the output shape remains correct.

Each logical stripe is counted independently. We have added a parameterized test for dense and sparse inputs. It covers three different counting partitions and tests that all coordinates are correctly generated in row-major order. The test also verifies that the output shape and type are correct, that output memory was reused and that input data was preserved.
2026-11-26 13:27:19 +05:30
..
2026-07-09 12:17:24 +03:00