Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fengyuentau
Copy link
Member

@fengyuentau fengyuentau commented Dec 25, 2023

Resolves #23174

TODO:

  • enable some conformance tests
  • add backends
    • CANN
    • OpenVINO
    • CUDA

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@fengyuentau fengyuentau added feature category: dnn category: dnn (onnx) ONNX suport issues in DNN module labels Dec 25, 2023
@fengyuentau fengyuentau added this to the 4.10.0 milestone Dec 25, 2023
@fengyuentau fengyuentau marked this pull request as ready for review December 26, 2023 10:30
@fengyuentau fengyuentau requested a review from dkurt December 26, 2023 10:30
layerParams.type = "NaryEltwise";
layerParams.set("operation", toLowerCase(node_proto.op_type()));
if (node_proto.op_type() == "Mod") {
if (layerParams.has("fmod") && layerParams.get<int>("fmod") == 1) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (layerParams.has("fmod") && layerParams.get<int>("fmod") == 1) {
if (layerParams.get<int>("fmod", 0)) {

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@asmorkalov
Copy link
Contributor

cc @LaurentBerger

@asmorkalov asmorkalov merged commit c955564 into opencv:4.x Jan 9, 2024
@fengyuentau fengyuentau deleted the mod_operator branch January 9, 2024 16:03
This was referenced Jan 19, 2024
@fengyuentau fengyuentau mentioned this pull request Feb 21, 2024
48 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: dnn (onnx) ONNX suport issues in DNN module category: dnn feature

Projects

None yet

3 participants