21.02
|
Basic function to run GCFillBorderKernel. More...
#include <GCFillBorder.h>
Public Member Functions | |
void | configure (IGCTensor *tensor, unsigned int border_width, BorderMode border_mode, const PixelValue &constant_border_value=PixelValue()) |
Initialize the function. More... | |
Public Member Functions inherited from IGCSimpleFunction | |
IGCSimpleFunction (GCRuntimeContext *ctx=nullptr) | |
Default Constructor. More... | |
IGCSimpleFunction (const IGCSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
IGCSimpleFunction (IGCSimpleFunction &&)=default | |
Default move constructor. More... | |
IGCSimpleFunction & | operator= (const IGCSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
IGCSimpleFunction & | operator= (IGCSimpleFunction &&)=default |
Default move assignment operator. More... | |
void | run () override final |
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 GCFillBorderKernel.
Definition at line 41 of file GCFillBorder.h.
void configure | ( | IGCTensor * | tensor, |
unsigned int | border_width, | ||
BorderMode | border_mode, | ||
const PixelValue & | constant_border_value = PixelValue() |
||
) |
Initialize the function.
[in,out] | tensor | Source tensor. Data types supported: F16/F32 |
[in] | border_width | The border width |
[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. |
Definition at line 34 of file GCFillBorder.cpp.