mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 13:16:32 -06:00
dnn: support CV_32U and CV_64U in Reduce layers Fix In modules/dnn/src/layers/reduce2_layer.cpp: Add CV_32U and CV_64U to getTypes validation. In modules/dnn/src/layers/reduce_layer.cpp: Add CV_32U and CV_64U to getTypes and typeDispatch (opDispatch<uint32_t> and opDispatch<uint64_t>). In modules/dnn/test/test_int.cpp: Extend Test_Reduce_Int to include CV_32U and CV_64U. In modules/dnn/test/test_layers.cpp: Add Layer_Test_Reduce_Unsigned parameterized test checking MAX, MIN, and SUM on CV_32U and CV_64U with values greater than 2^31 to verify unsigned comparison logic.