ARM Compute Library
17.04
|
Interface for the kernel to perform addition between two tensors. More...
#include <NEArithmeticAdditionKernel.h>
Public Member Functions | |
NEArithmeticAdditionKernel () | |
Default constructor. More... | |
NEArithmeticAdditionKernel (const NEArithmeticAdditionKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEArithmeticAdditionKernel & | operator= (const NEArithmeticAdditionKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEArithmeticAdditionKernel (NEArithmeticAdditionKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEArithmeticAdditionKernel & | operator= (NEArithmeticAdditionKernel &&)=default |
Allow instances of this class to be moved. More... | |
~NEArithmeticAdditionKernel ()=default | |
Default destructor. More... | |
void | configure (const ITensor *input1, const ITensor *input2, ITensor *output, ConvertPolicy policy) |
Initialise the kernel's input, output and border mode. More... | |
void | run (const Window &window) override |
Execute the kernel on the passed window. 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... | |
Interface for the kernel to perform addition between two tensors.
Definition at line 35 of file NEArithmeticAdditionKernel.h.
Default constructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
default |
Default destructor.
void configure | ( | const ITensor * | input1, |
const ITensor * | input2, | ||
ITensor * | output, | ||
ConvertPolicy | policy | ||
) |
Initialise the kernel's input, output and border mode.
[in] | input1 | An input tensor. Data types supported: U8, S16, F32 |
[in] | input2 | An input tensor. Data types supported: U8, S16, F32 (only if input1 is F32). |
[out] | output | The output tensor. Data types supported: U8 (Only if both inputs are U8), S16, F32 (only if both inputs are F32). |
[in] | policy | Overflow policy. |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
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.