36 BorderMode border_mode, uint8_t constant_border_value)
38 configure(compile_context, input, map_x, map_y, output, policy, border_mode,
PixelValue{ constant_border_value });
54 auto k = std::make_unique<CLRemapKernel>();
55 k->configure(compile_context, input, map_x, map_y, output,
RemapInfo{ policy, border_mode, constant_border_value });
56 _kernel = std::move(k);
57 _border_handler->configure(compile_context, input, _kernel->border_size(), border_mode, constant_border_value);
BorderMode
Methods available to handle borders.
Class describing the value of a pixel for any image format.
InterpolationPolicy
Interpolation method.
static Status validate(const ITensorInfo *input, const ITensorInfo *map_x, const ITensorInfo *map_y, const ITensorInfo *output, const InterpolationPolicy policy, const BorderMode border_mode, PixelValue constant_border_value=PixelValue{})
Checks if the kernel's input, output and border mode will lead to a valid configuration of CLRemap...
static Status validate(const ITensorInfo *input, const ITensorInfo *map_x, const ITensorInfo *map_y, const ITensorInfo *output, RemapInfo info)
Checks if the kernel's input, output and border mode will lead to a valid configuration of CLRemapKer...
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Store the tensor's metadata.
Copyright (c) 2017-2021 Arm Limited.
Interface for OpenCL tensor.
void configure(const CLCompileContext &compile_context, 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.