diff --git a/dnn/vec_neon.h b/dnn/vec_neon.h index 1a4a4ce5..b01d0eb2 100644 --- a/dnn/vec_neon.h +++ b/dnn/vec_neon.h @@ -291,15 +291,15 @@ static inline void sgemv_accum8x4(float *_out, const qweight *w, int rows, int c { int i, j; signed char x[MAX_INPUTS]; - int out[MAX_OUTPUTS]; + const float32x4_t scale = vdupq_n_f32(SCALE); + const float32x4_t scale_1 = vdupq_n_f32(SCALE_1); (void)col_stride; - for (i=0;i