24 #ifndef __ARM_COMPUTE_NESCALEKERNEL_H__ 25 #define __ARM_COMPUTE_NESCALEKERNEL_H__ 38 const char *
name()
const override 40 return "NEScaleKernel";
92 void scale_nearest_nchw(
const Window &window);
94 void scale_bilinear_nchw(
const Window &window);
99 void scale_area_nchw(
const Window &window);
101 void scale_nhwc(
const Window &window);
BorderMode
Methods available to handle borders.
InterpolationPolicy
Interpolation method.
Container for 2D border size.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
Common interface for all kernels implemented in C++.
BorderSize border_size() const override
The size of the border for that kernel.
Store the tensor's metadata.
Interface for NEON tensor.
NEScaleKernel & operator=(const NEScaleKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
src info() -> set_format(Format::S16)
This file contains all available output stages for GEMMLowp on OpenCL.
Samples are taken at pixel center.
static Status validate(const ITensorInfo *input, const ITensorInfo *dx, const ITensorInfo *dy, const ITensorInfo *offsets, ITensorInfo *output, InterpolationPolicy policy, BorderMode border_mode, SamplingPolicy sampling_policy=SamplingPolicy::CENTER)
Static function to check if given info will lead to a valid configuration of NEScaleKernel.
Information about executing thread and CPU.
~NEScaleKernel()=default
Default destructor.
const char * name() const override
Name of the kernel.
void configure(const ITensor *input, const ITensor *dx, const ITensor *dy, const ITensor *offsets, ITensor *output, InterpolationPolicy policy, BorderMode border_mode, SamplingPolicy sampling_policy=SamplingPolicy::CENTER)
Initialise the kernel's inputs, output and interpolation policy.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.
SamplingPolicy
Available Sampling Policies.
NEScaleKernel()
Default constructor.
NEON kernel to perform scaling on a tensor.