Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[onert] Fix DepthwiseConvOp kernel condition #13689

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

hseok-oh
Copy link
Contributor

@hseok-oh hseok-oh commented Aug 19, 2024

This commit fixes DepthwiseConvOp kernel usage condition.
Eigen kernel is not supproting different width-height stride yet.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh [email protected]


Resolve #13675 and coverage test fail

This commit fixes DepthwiseConvOp kernel usage condition.
Eigen kernel is not supproting different width-height stride yet.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
@hseok-oh hseok-oh added PR/ready for review It is ready to review. Please review it. approval: 1 Require at least 1 approval labels Aug 19, 2024
@hseok-oh hseok-oh requested a review from a team August 19, 2024 02:45
if (_dilationWidth == 1 && _dilationHeight == 1)
// Since DepthwiseConvOp does not support dilation and different W/H stride yet,
// it uses the existing kernel in this case.
if (_dilationWidth == 1 && _dilationHeight == 1 && _strideWidth == _strideHeight)
Copy link
Contributor

Choose a reason for hiding this comment

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

The prepareF32 function must also be updated to add new constraints.
Thank you!

ragmani
ragmani previously approved these changes Aug 19, 2024
Copy link
Contributor

@ragmani ragmani left a comment

Choose a reason for hiding this comment

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

LGTM

Update prepareF32 condition too.
Copy link
Contributor

@jyoungyun jyoungyun left a comment

Choose a reason for hiding this comment

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

LGTM

@hseok-oh hseok-oh merged commit bb4aa34 into Samsung:master Aug 19, 2024
9 checks passed
@hseok-oh hseok-oh deleted the fix_dconv_condition branch August 19, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: 1 Require at least 1 approval PR/ready for review It is ready to review. Please review it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] nnpackage-test failed!
3 participants