ref: faf3fe3d24397e0c3e53b5c05d17949da8e76659
parent: 7ee79b63df4cf176ec5c920d993e9b17ed8708fd
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Thu Nov 29 14:50:09 EST 2018
gemm_accum16() doesn't need a multiple of 16 columns (just lines).
--- a/dnn/nnet.c
+++ b/dnn/nnet.c
@@ -317,7 +317,7 @@
static void gemm_accum(float *out, const float *weights, int rows, int cols, int col_stride, const float *x)
{
int i, j;
- if (rows % 16 == 0 && cols % 16 == 0)
+ if (rows % 16 == 0)
{
gemm_accum16(out, weights, rows, cols, col_stride, x);
} else {
--
⑨