Compute Library
18.05
|
Kernel to perform a median filter on a tensor. More...
#include <NEMedian3x3Kernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
void | configure (const ITensor *input, ITensor *output, bool border_undefined) |
Set the source, destination and border mode of the kernel. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
BorderSize | border_size () const override |
The size of the border for that kernel. More... | |
![]() | |
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... | |
![]() | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
![]() | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Kernel to perform a median filter on a tensor.
Definition at line 34 of file NEMedian3x3Kernel.h.
|
overridevirtual |
The size of the border for that kernel.
Reimplemented from IKernel.
Referenced by NEMedian3x3Kernel::name().
Set the source, destination and border mode of the kernel.
[in] | input | Source tensor. Data type supported: U8 |
[out] | output | Destination tensor. Data type supported: U8 |
[in] | border_undefined | True if the border mode is undefined. False if it's replicate or constant. |
Referenced by NEMedian3x3Kernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 37 of file NEMedian3x3Kernel.h.
References NEMedian3x3Kernel::border_size(), NEMedian3x3Kernel::configure(), arm_compute::test::validation::info(), NEMedian3x3Kernel::run(), and IKernel::window().
|
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()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEMedian3x3Kernel::name().