24 #ifndef ARM_COMPUTE_NEGEMMLOWPQUANTIZEDOWNINT32TOINT16SCALEBYFIXEDPOINTKERNEL_H 25 #define ARM_COMPUTE_NEGEMMLOWPQUANTIZEDOWNINT32TOINT16SCALEBYFIXEDPOINTKERNEL_H 48 const char *
name()
const override 50 return "NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel";
99 template <
bool is_bounded_relu>
108 QuantizeDownFunctionPtr _func;
112 int _result_fixedpoint_multiplier;
Neon kernel used to quantize down the int32 accumulator values of GEMMLowp to QSYMM16.
static Status validate(const ITensorInfo *input, const ITensorInfo *bias, const ITensorInfo *output, int min=0, int max=0)
Static function to check if given info will lead to a valid configuration of NEGEMMLowpQuantizeDownIn...
const Window & window() const
The maximum window the kernel can be executed on.
void configure(const ITensor *input, const ITensor *bias, ITensor *output, int result_fixedpoint_multiplier, int result_shift, int min=0, int max=0)
Initialise the kernel's input and output.
Common interface for all kernels implemented in C++.
Store the tensor's metadata.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel & operator=(const NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
~NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel()=default
Default destructor.
const char * name() const override
Name of the kernel.
Describe a multidimensional execution window.
NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel()
Constructor.