24 #ifndef __ARM_COMPUTE_NEGEMMLOWPQUANTIZEDOWNINT32TOUINT8SCALEKERNEL_H__ 25 #define __ARM_COMPUTE_NEGEMMLOWPQUANTIZEDOWNINT32TOUINT8SCALEKERNEL_H__ 49 const char *
name()
const override 51 return "NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel";
99 template <
bool is_bounded_relu>
108 QuantizeDownFunctionPtr _func;
113 int _result_mult_int;
fixed_point< T > min(fixed_point< T > x, fixed_point< T > y)
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
Common interface for all kernels implemented in C++.
NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel()
Constructor.
void configure(const ITensor *input, const ITensor *bias, ITensor *output, int result_offset, int result_mult_int, int result_shift, int min=0, int max=0)
Initialise the kernel's input and output.
const char * name() const override
Name of the kernel.
Store the tensor's metadata.
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...
Interface for NEON tensor.
src info() -> set_format(Format::S16)
This file contains all available output stages for GEMMLowp on OpenCL.
NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel & operator=(const NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Information about executing thread and CPU.
fixed_point< T > max(fixed_point< T > x, fixed_point< T > y)
NEON kernel used to quantize down the int32 accumulator values of GEMMLowp to QASYMM8.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.