ARM Compute Library
17.04
|
NEON kernel to perform the in-place matrix addition between 2 matrices taking into account that the second matrix might be weighted by a scalar value beta: More...
#include <NEGEMMMatrixAdditionKernel.h>
Public Member Functions | |
NEGEMMMatrixAdditionKernel () | |
Constructor. More... | |
NEGEMMMatrixAdditionKernel (const NEGEMMMatrixAdditionKernel &)=delete | |
Prevent instances of this class from being copied. More... | |
NEGEMMMatrixAdditionKernel & | operator= (const NEGEMMMatrixAdditionKernel &)=delete |
Prevent instances of this class from being copied. More... | |
NEGEMMMatrixAdditionKernel (NEGEMMMatrixAdditionKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEGEMMMatrixAdditionKernel & | operator= (NEGEMMMatrixAdditionKernel &&)=default |
Allow instances of this class to be moved. More... | |
void | configure (const ITensor *input, ITensor *output, const float beta) |
Initialise the kernel's input and output. More... | |
void | run (const Window &window) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPSimpleKernel | |
ICPPSimpleKernel () | |
Constructor. More... | |
ICPPSimpleKernel (const ICPPSimpleKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel & | operator= (const ICPPSimpleKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel (ICPPSimpleKernel &&)=default | |
Allow instances of this class to be moved. More... | |
ICPPSimpleKernel & | operator= (ICPPSimpleKernel &&)=default |
Allow instances of this class to be moved. More... | |
~ICPPSimpleKernel ()=default | |
Default destructor. 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... | |
NEON kernel to perform the in-place matrix addition between 2 matrices taking into account that the second matrix might be weighted by a scalar value beta:
Definition at line 41 of file NEGEMMMatrixAdditionKernel.h.
Constructor.
|
delete |
Prevent instances of this class from being copied.
|
default |
Allow instances of this class to be moved.
Initialise the kernel's input and output.
[in] | input | Input tensor (Matrix C). Data types supported: F32, F16. |
[in,out] | output | Output tensor. If this kernel is used to finalize the GEMM result, output contains the result obtained by the kernel NEGEMMMatrixMultiplyKernel. Data type supported: the same as input . |
[in] | beta | Weight of matrix C |
|
delete |
Prevent instances of this class from being copied.
|
default |
Allow instances of this class to be moved.
|
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()) |
Implements ICPPKernel.