ARM Compute Library
17.04
|
Interface for the absolute difference kernel. More...
#include <NEAbsoluteDifferenceKernel.h>
Public Member Functions | |
NEAbsoluteDifferenceKernel () | |
Default constructor. More... | |
NEAbsoluteDifferenceKernel (const NEAbsoluteDifferenceKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEAbsoluteDifferenceKernel & | operator= (const NEAbsoluteDifferenceKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEAbsoluteDifferenceKernel (NEAbsoluteDifferenceKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEAbsoluteDifferenceKernel & | operator= (NEAbsoluteDifferenceKernel &&)=default |
Allow instances of this class to be moved. More... | |
~NEAbsoluteDifferenceKernel ()=default | |
Default destructor. More... | |
void | configure (const ITensor *input1, const ITensor *input2, ITensor *output) |
Set the inputs and output tensors. 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 absolute difference kernel.
Absolute difference is computed by:
\[ output(x,y) = | input1(x,y) - input2(x,y) | \]
Definition at line 38 of file NEAbsoluteDifferenceKernel.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.
Set the inputs and output tensors.
[in] | input1 | Source tensor. Data types supported: U8/S16 |
[in] | input2 | Source tensor. Data types supported: U8/S16 |
[out] | output | Destination tensor, Data types supported: U8/S16 |
|
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.