41 auto k = std::make_unique<CLDilateKernel>();
43 _kernel = std::move(k);
44 _border_handler->configure(compile_context, input,
BorderSize(1), border_mode,
PixelValue(constant_border_value));
BorderMode
Methods available to handle borders.
Class describing the value of a pixel for any image format.
Container for 2D border size.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Copyright (c) 2017-2021 Arm Limited.
Interface for OpenCL tensor.
void configure(ICLTensor *input, ICLTensor *output, BorderMode border_mode, uint8_t constant_border_value=0)
Initialise the kernel's inputs, output and border mode.
Borders are left undefined.