Skip to content

Commit

Permalink
Update DepthwiseConvolutionLayer.cc
Browse files Browse the repository at this point in the history
Update prepareF32 condition too.
  • Loading branch information
jyoungyun authored Aug 19, 2024
1 parent 14261bc commit 64bdc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/onert/backend/cpu/ops/DepthwiseConvolutionLayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace ops

void DepthwiseConvolutionLayer::prepareF32()
{
if (_dilationWidth != 1 || _dilationHeight != 1)
if (_dilationWidth != 1 || _dilationHeight != 1 || _strideWidth != _strideHeight)
return;

// DepthwiseConvOp cpu kernel needs additional memory to perform with multi-
Expand Down

0 comments on commit 64bdc17

Please sign in to comment.