src/arch/intsimdmatrixsse.cpp
static void PartialMatrixDotVector1(const int8_t *wi, const TFloat *scales, const int8_t *u,
                                    int num_in, TFloat *v) {
  TFloat total = IntDotProductSSE(u, wi, num_in);
  // Add in the bias and correct for integer values.
  *v = (total + wi[num_in] * INT8_MAX) * *scales;
}
// Computes part of matrix.vector v = Wu. Computes 1 result.
Computes part of matrix.vector v = Wu. Computes 1 result.
Computes part of matrix . vector v = Wu . Computes 1 result .
static void PartialMatrixDotVector1(const int8_t *wi, const TFloat *scales, const int8_t *u,
                                    int num_in, TFloat *v) {
  TFloat total = IntDotProductSSE(u, wi, num_in);
  *v = (total + wi[num_in] * INT8_MAX) * *scales;
}
static void PartialMatrixDotVector1 ( const int8_t * wi , const TFloat * scales , const int8_t * u , int num_in , TFloat * v ) { TFloat total = IntDotProductSSE ( u , wi , num_in ) ; * v = ( total + wi [ num_in ] * INT8_MAX ) * * scales ; }
Computes part of matrix.vector v = Wu.
Computes part of matrix . vector v = Wu .
// Add in the bias and correct for integer values.