mirror of
https://github.com/opencv/opencv.git
synced 2026-11-21 00:35:35 -06:00
* dnn: check weight, bias and past_state in CausalConvWithState Check the ONNX shapes of weight [C, 1, k], bias [C] and past_state [B, C, k - 1] against the input in getMemoryShapes, and require them to be float in forward, since the kernel indexes all three by input channel and reads them as float. * dnn: check CausalConvWithState input types before fp16 conversion, require rank-1 bias