tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
19 #ifndef TESSERACT_ARCH_INTSIMDMATRIX_H_
20 #define TESSERACT_ARCH_INTSIMDMATRIX_H_
66 std::vector<int8_t>& shaped_w)
const;
84 const int8_t* u,
double* v);
87 static int Roundup(
int input,
int factor) {
88 return (input + factor - 1) / factor * factor;
101 const double*,
const int8_t*,
123 #endif // TESSERACT_ARCH_INTSIMDMATRIX_H_
int num_inputs_per_group_
void Init(const GENERIC_2D_ARRAY< int8_t > &w, std::vector< int8_t > &shaped_w) const
int RoundOutputs(int size) const
static const IntSimdMatrix intSimdMatrixAVX2
MatrixDotVectorFunction matrixDotVectorFunction
int max_output_registers_
static int Roundup(int input, int factor)
int num_inputs_per_register_
void(*)(int, int, const int8_t *, const double *, const int8_t *, double *) MatrixDotVectorFunction
static const IntSimdMatrix * intSimdMatrix
int RoundInputs(int size) const
static void MatrixDotVector(const GENERIC_2D_ARRAY< int8_t > &w, const GenericVector< double > &scales, const int8_t *u, double *v)
int num_outputs_per_register_
static const IntSimdMatrix intSimdMatrixSSE