Compute Library
18.05
|
NEON kernel used to compute the row-vectors of sums of all the entries in each column of Matrix B. More...
#include <NEGEMMLowpReductionKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
void | configure (const ITensor *mtx_b, ITensor *vector_sum_col, int32_t num_mtx_b_rows, bool is_transposed1xW) override |
Initialise the kernel's input and output. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from INEGEMMLowpReductionKernel | |
INEGEMMLowpReductionKernel () | |
Constructor. More... | |
INEGEMMLowpReductionKernel (const INEGEMMLowpReductionKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INEGEMMLowpReductionKernel & | operator= (const INEGEMMLowpReductionKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INEGEMMLowpReductionKernel (INEGEMMLowpReductionKernel &&)=default | |
Allow instances of this class to be moved. More... | |
INEGEMMLowpReductionKernel & | operator= (INEGEMMLowpReductionKernel &&)=default |
Allow instances of this class to be moved. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *mtx_b, const ITensorInfo *vector_sum_col, int32_t num_mtx_b_rows, bool is_transposed1xW) |
Static function to check if given info will lead to a valid configuration of NEGEMMLowpMatrixBReductionKernel. More... | |
NEON kernel used to compute the row-vectors of sums of all the entries in each column of Matrix B.
Definition at line 104 of file NEGEMMLowpReductionKernel.h.
|
overridevirtual |
Initialise the kernel's input and output.
[in] | mtx_b | Input tensor. Data type supported: Data type supported: QASYMM8 |
[out] | vector_sum_col | Output row-vector of sums of all the entries in each column of mtx_b. Data type supported: S32 |
[in] | num_mtx_b_rows | Number of matrix B rows |
[in] | is_transposed1xW | True if the input tensor is transposed 1xW |
Implements INEGEMMLowpReductionKernel.
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 107 of file NEGEMMLowpReductionKernel.h.
References INEGEMMLowpReductionKernel::configure(), arm_compute::test::validation::info(), ICPPKernel::run(), arm_compute::test::validation::validate(), and IKernel::window().
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
|
static |
Static function to check if given info will lead to a valid configuration of NEGEMMLowpMatrixBReductionKernel.
[in] | mtx_b | Input tensor. Data type supported: Data type supported: QASYMM8 |
[in] | vector_sum_col | Output row-vector of sums of all the entries in each column of mtx_b. Data type supported: S32 |
[in] | num_mtx_b_rows | Number of matrix B rows |
[in] | is_transposed1xW | True if the input tensor is transposed 1xW |