47 auto k = std::make_unique<NERemapKernel>();
48 k->configure(input, map_x, map_y, output, policy);
49 _kernel = std::move(k);
51 auto b = std::make_unique<NEFillBorderKernel>();
52 b->configure(input, _kernel->border_size(), border_mode,
PixelValue(constant_border_value));
53 _border_handler = std::move(
b);
BorderMode
Methods available to handle borders.
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
Interface for Neon tensor.
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,...)
void configure(ITensor *input, const ITensor *map_x, const ITensor *map_y, ITensor *output, InterpolationPolicy policy, BorderMode border_mode, uint8_t constant_border_value=0)
Initialise the function's sources, destination, interpolation policy and border mode.