ARM Compute Library
17.04
|
Interface for the kernel to fill borders. More...
#include <NEFillBorderKernel.h>
Public Member Functions | |
NEFillBorderKernel () | |
Default Constructor. More... | |
NEFillBorderKernel (const NEFillBorderKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFillBorderKernel & | operator= (const NEFillBorderKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFillBorderKernel (NEFillBorderKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEFillBorderKernel & | operator= (NEFillBorderKernel &&)=default |
Allow instances of this class to be moved. More... | |
~NEFillBorderKernel ()=default | |
Default destructor. More... | |
void | configure (ITensor *tensor, BorderSize border_size, BorderMode border_mode, const PixelValue &constant_border_value=PixelValue()) |
Initialise the function. 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 fill borders.
Definition at line 36 of file NEFillBorderKernel.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 | ( | ITensor * | tensor, |
BorderSize | border_size, | ||
BorderMode | border_mode, | ||
const PixelValue & | constant_border_value = PixelValue() |
||
) |
Initialise the function.
[in,out] | tensor | Tensor to process. Data types supported: U8, S16, S32, F32. |
[in] | border_size | Size of the border to fill in elements. |
[in] | border_mode | Border mode to use for the convolution. |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT. |
|
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.