-
Notifications
You must be signed in to change notification settings - Fork 157
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
Conversation
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]>
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) |
There was a problem hiding this comment.
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!
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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