Skip to content

Commit b5a464d

Browse files
author
RJ Ascani
committed
Remove invalid dilation check
1 parent f5bc09c commit b5a464d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

backends/cortex_m/ops/op_quantized_depthwise_conv2d.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,6 @@ bool validate_depthwise_conv2d_arguments(
117117
return false;
118118
}
119119

120-
// CMSIS-NN depthwise convolution does not support dilation != 1
121-
if (dilation[0] != 1 || dilation[1] != 1) {
122-
ET_LOG(
123-
Error,
124-
"quantized_depthwise_conv2d_out: dilation != 1 not supported, got (%zd, %zd)",
125-
dilation[0],
126-
dilation[1]);
127-
context.fail(Error::InvalidArgument);
128-
return false;
129-
}
130-
131120
const int64_t input_channels = input.size(1);
132121
// output_channels already extracted above for weight validation
133122
if (output_channels != input_channels * depth_multiplier) {

0 commit comments

Comments
 (0)