Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
dnn(tflite): add support for MAXIMUM layer#28171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:4.x
Are you sure you want to change the base?
Conversation
asmorkalov commentedDec 13, 2025
@dkurt Could you take a look? |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
asmorkalov commentedDec 14, 2025
@ramukhsuya Could you create simple unit test for the enabled layer. You need to create small model with 1-2-3 layers (including Maxinum layer), submit it with reference input and output (generated with TFLite) to opencv_extra with the same branch name and add test code tohttps://github.com/opencv/opencv/blob/4.x/modules/dnn/test/test_tflite_importer.cpp |
ramukhsuya commentedDec 15, 2025
Added a unit test for the layer and the TFLite model and .npy reference input and output files are uploaded to opencv_extra with the same branch name as requested |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Fixes#26433
This PR adds support for the
MAXIMUMlayer in the TFLite importer.It maps the TFLite
MAXIMUMopcode to the existing OpenCV Element-wiseMaxoperation.Pull Request Readiness Checklist
See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.