Compute Library
18.05
|
Basic function to execute GEMMLowpMatrixMultiplyCore on NEON. More...
#include <NEGEMMLowpMatrixMultiplyCore.h>
Public Member Functions | |
NEGEMMLowpMatrixMultiplyCore (std::shared_ptr< IMemoryManager > memory_manager=nullptr) | |
Constructor. More... | |
void | configure (const ITensor *a, const ITensor *b, ITensor *output, const GEMMInfo &gemm_info=GEMMInfo()) |
Initialise the kernel's inputs, output. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
![]() | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *a, const ITensorInfo *b, const ITensorInfo *output, const GEMMInfo &gemm_info=GEMMInfo()) |
Static function to check if given info will lead to a valid configuration of NEGEMMLowpMatrixMultiplyCore. More... | |
Basic function to execute GEMMLowpMatrixMultiplyCore on NEON.
This function calls the following NEON kernels if the DOT product instruction is not available:
otherwise if the DOT product instruction is available:
Definition at line 54 of file NEGEMMLowpMatrixMultiplyCore.h.
NEGEMMLowpMatrixMultiplyCore | ( | std::shared_ptr< IMemoryManager > | memory_manager = nullptr | ) |
Constructor.
void configure | ( | const ITensor * | a, |
const ITensor * | b, | ||
ITensor * | output, | ||
const GEMMInfo & | gemm_info = GEMMInfo() |
||
) |
Initialise the kernel's inputs, output.
[in] | a | First input tensor (Matrix A). Data type supported: QASYMM8. |
[in] | b | Second input tensor (Matrix B). Data type supported: same as a |
[out] | output | Output tensor. Data type supported: Data type supported: S32 |
[in] | gemm_info | (Optional) Specifies if the matrix A and/or matrix B have been reshaped and if the reshape of matrix B should be executed only for the first run |
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.
|
static |
Static function to check if given info will lead to a valid configuration of NEGEMMLowpMatrixMultiplyCore.
[in] | a | First input tensor (Matrix A). Data type supported: QASYMM8. |
[in] | b | Second input tensor (Matrix B). Data type supported: same as a |
[in] | output | Output tensor. Data type supported: Data type supported: S32 |
[in] | gemm_info | (Optional) Specifies if the matrix A and/or matrix B have been reshaped and if the reshape of matrix B should be executed only for the first run |
Referenced by arm_compute::test::validation::DATA_TEST_CASE().