Compute Library
18.05
|
Basic function to run NEFillBorderKernel. More...
#include <NEFillBorder.h>
Public Member Functions | |
void | configure (ITensor *input, unsigned int border_width, BorderMode border_mode, const PixelValue &constant_border_value=PixelValue()) |
Initialize the function's source, destination and border_mode. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Basic function to run NEFillBorderKernel.
Definition at line 37 of file NEFillBorder.h.
void configure | ( | ITensor * | input, |
unsigned int | border_width, | ||
BorderMode | border_mode, | ||
const PixelValue & | constant_border_value = PixelValue() |
||
) |
Initialize the function's source, destination and border_mode.
[in,out] | input | Source tensor. Data type supported: U8/QS8/S16/S32/F32 |
[in] | border_width | Width of the tensor border in pixels. |
[in] | border_mode | Strategy to use for borders. |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT. |
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.