Skip to content

Commit e3c1f22

Browse files
kiyaevJaccovG
authored andcommitted
Fix w_ptr increment in conv2d_hwc_nopad
Add missing compensation of w_ptr after incremention for weights_additive calculations
1 parent 6e6e2bb commit e3c1f22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/kernels/convolution/mli_krn_conv2d_hwc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ static __attribute__ ((always_inline)) void convolution2D_hwc_nopad(
599599
weights_add = weights_additive(w_ptr++, weights_add, &quant_params,
600600
kernel_width, kernel_height, krn_col_step, krn_row_step);
601601
}
602+
w_ptr -= in_ch;
602603

603604
for (int H_idx = row_begin; H_idx < row_end; H_idx++) {
604605

0 commit comments

Comments
 (0)