24 #ifndef ARM_COMPUTE_CLSCALEKERNEL_H 25 #define ARM_COMPUTE_CLSCALEKERNEL_H 84 return _interpolation_policy;
90 bool _align_corners =
false;
InterpolationPolicy
Interpolation method.
const Window & window() const
The maximum window the kernel can be executed on.
void configure(const ICLTensor *input, ICLTensor *output, const ScaleKernelInfo &info)
Initialise the kernel's inputs, output and interpolation policy.
Container for 2D border size.
BorderSize border_size() const override
The size of the border for that kernel.
Output values are defined by bilinear interpolation between the pixels.
Store the tensor's metadata.
InterpolationPolicy get_interpolation_policy() const
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ScaleKernelInfo &info)
Static function to check if given info will lead to a valid configuration of CLScaleKernel.
Interface for the scale kernel.
Interface for simple OpenCL kernels having 1 tensor input and 1 tensor output.
const ICLTensor * output() const
Output tensor accessor.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Interface for OpenCL tensor.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
const ICLTensor * input() const
Input tensor accessor.
DataLayout
[DataLayout enum definition]
Describe a multidimensional execution window.