39 auto k = std::make_unique<CLFillBorderKernel>();
40 k->configure(compile_context, tensor,
BorderSize(border_width), border_mode, constant_border_value);
41 _kernel = std::move(k);
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 *tensor, unsigned int border_width, BorderMode border_mode, const PixelValue &constant_border_value=PixelValue())
Initialize the function.