21.02
|
Common interface for all Neon reduction kernels. More...
#include <NEGEMMLowpReductionKernel.h>
Public Member Functions | |
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... | |
virtual | ~INEGEMMLowpReductionKernel ()=default |
Default destructor. More... | |
virtual void | configure (const ITensor *input, ITensor *output, const GEMMLowpReductionKernelInfo &info)=0 |
Initialise the kernel's input and output. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
virtual void | run (const Window &window, const ThreadInfo &info) |
Execute the kernel on the passed window. More... | |
virtual void | run_nd (const Window &window, const ThreadInfo &info, const Window &thread_locator) |
legacy compatibility layer for implemantions which do not support thread_locator In these cases we simply narrow the interface down the legacy version More... | |
virtual void | run_op (ITensorPack &tensors, const Window &window, const ThreadInfo &info) |
Execute the kernel on the passed window. More... | |
virtual const char * | name () const =0 |
Name of the kernel. 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... | |
Common interface for all Neon reduction kernels.
Definition at line 36 of file NEGEMMLowpReductionKernel.h.
Constructor.
Definition at line 64 of file NEGEMMLowpReductionKernel.cpp.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
virtualdefault |
Default destructor.
|
pure virtual |
Initialise the kernel's input and output.
[in] | input | Input tensor. Data type supported: QASYMM8/QASYMM8_SIGNED/QSYMM8/QSYMM8_PER_CHANNEL |
[out] | output | Output row-vector of sums of all the entries in each row/col of input tensor. Data type supported: S32 |
[in] | info | Kernel metadata:
|
Implemented in NEGEMMLowpMatrixBReductionKernel, and NEGEMMLowpMatrixAReductionKernel.
Referenced by NEGEMMLowpMatrixAReductionKernel::name(), and NEGEMMLowpMatrixBReductionKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEGEMMLowpMatrixAReductionKernel::name(), and NEGEMMLowpMatrixBReductionKernel::name().
|
default |
Allow instances of this class to be moved.