34 BorderMode border_mode, uint8_t constant_border_value)
36 configure(
CLKernelLibrary::get().get_compile_context(), input, output,
function, mask_size, pattern, mask, border_mode, constant_border_value);
40 const uint8_t *mask,
BorderMode border_mode, uint8_t constant_border_value)
42 auto k = std::make_unique<CLNonLinearFilterKernel>();
43 k->configure(compile_context, input, output,
function, mask_size, pattern, mask, border_mode ==
BorderMode::UNDEFINED);
44 _kernel = std::move(k);
45 _border_handler->configure(compile_context, input, _kernel->border_size(), border_mode,
PixelValue(constant_border_value));
BorderMode
Methods available to handle borders.
Class describing the value of a pixel for any image format.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Copyright (c) 2017-2021 Arm Limited.
void configure(ICLTensor *input, ICLTensor *output, NonLinearFilterFunction function, unsigned int mask_size, MatrixPattern pattern, const uint8_t *mask, BorderMode border_mode, uint8_t constant_border_value=0)
Initialize the function's source, destination, conv and border_mode.
Interface for OpenCL tensor.
Borders are left undefined.
MatrixPattern
Available matrix patterns.
NonLinearFilterFunction
Available non linear functions.