|
tesseract 4.1.1
|
#include <intsimdmatrix.h>
Public Types | |
| using | MatrixDotVectorFunction = void(*)(int, int, const int8_t *, const double *, const int8_t *, double *) |
Public Member Functions | |
| void | Init (const GENERIC_2D_ARRAY< int8_t > &w, std::vector< int8_t > &shaped_w) const |
| int | RoundInputs (int size) const |
| int | RoundOutputs (int size) const |
Static Public Member Functions | |
| static void | MatrixDotVector (const GENERIC_2D_ARRAY< int8_t > &w, const GenericVector< double > &scales, const int8_t *u, double *v) |
| static int | Roundup (int input, int factor) |
Public Attributes | |
| MatrixDotVectorFunction | matrixDotVectorFunction |
| int | num_outputs_per_register_ |
| int | max_output_registers_ |
| int | num_inputs_per_register_ |
| int | num_inputs_per_group_ |
Static Public Attributes | |
| static const IntSimdMatrix * | intSimdMatrix = nullptr |
| static const IntSimdMatrix | intSimdMatrixAVX2 |
| static const IntSimdMatrix | intSimdMatrixSSE |
Definition at line 63 of file intsimdmatrix.h.
| using tesseract::IntSimdMatrix::MatrixDotVectorFunction = void (*)(int, int, const int8_t*, const double*, const int8_t*, double*) |
Definition at line 100 of file intsimdmatrix.h.
| void tesseract::IntSimdMatrix::Init | ( | const GENERIC_2D_ARRAY< int8_t > & | w, |
| std::vector< int8_t > & | shaped_w | ||
| ) | const |
Definition at line 29 of file intsimdmatrix.cpp.
|
static |
Definition at line 79 of file intsimdmatrix.cpp.
|
inline |
Definition at line 69 of file intsimdmatrix.h.
|
inline |
Definition at line 73 of file intsimdmatrix.h.
|
inlinestatic |
Definition at line 87 of file intsimdmatrix.h.
|
static |
Definition at line 116 of file intsimdmatrix.h.
|
static |
Definition at line 117 of file intsimdmatrix.h.
|
static |
Definition at line 118 of file intsimdmatrix.h.
| MatrixDotVectorFunction tesseract::IntSimdMatrix::matrixDotVectorFunction |
Definition at line 103 of file intsimdmatrix.h.
| int tesseract::IntSimdMatrix::max_output_registers_ |
Definition at line 108 of file intsimdmatrix.h.
| int tesseract::IntSimdMatrix::num_inputs_per_group_ |
Definition at line 112 of file intsimdmatrix.h.
| int tesseract::IntSimdMatrix::num_inputs_per_register_ |
Definition at line 110 of file intsimdmatrix.h.
| int tesseract::IntSimdMatrix::num_outputs_per_register_ |
Definition at line 106 of file intsimdmatrix.h.