DNN: support GreaterOrEqual and LessOrEqual op in ONNX#22611
DNN: support GreaterOrEqual and LessOrEqual op in ONNX#22611asmorkalov merged 1 commit intoopencv:4.xfrom
Conversation
rogday
left a comment
There was a problem hiding this comment.
Looks good, one question though.
fengyuentau
left a comment
There was a problem hiding this comment.
Looks good. But how do we deal with the output type? In the model from opencv/opencv_zoo#82, the GreaterOrEqual operator is followed by a Cast operator, which casts the boolean output from GreaterOrEqual to float. I dont think this casting problem can be solved with this pull request, isnt it?
For now, the |
I just checked opencv/modules/dnn/src/onnx/onnx_importer.cpp Lines 2579 to 2610 in 3472469 |
Related test data: PR at opencv_extra.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.