45 uint8_t constant_border_value)
53 auto k = std::make_unique<CLRemapKernel>();
54 k->configure(compile_context, input, map_x, map_y, output, policy, border_mode ==
BorderMode::UNDEFINED);
55 _kernel = std::move(k);
56 _border_handler->configure(compile_context, input, _kernel->border_size(), border_mode,
PixelValue(constant_border_value));
BorderMode
Methods available to handle borders.
void configure(ICLTensor *input, const ICLTensor *map_x, const ICLTensor *map_y, ICLTensor *output, InterpolationPolicy policy, BorderMode border_mode, uint8_t constant_border_value=0)
Initialise the function's sources, destination, interpolation policy and border mode.
Class describing the value of a pixel for any image format.
InterpolationPolicy
Interpolation method.
1 channel, 1 U8 per channel
1 channel, 1 F32 per channel
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Copyright (c) 2017-2021 Arm Limited.
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
Output values are determined by averaging the source pixels whose areas fall under the area of the de...
#define ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(t, c,...)
Interface for OpenCL tensor.
Borders are left undefined.