24 #ifndef ARM_COMPUTE_CPU_GEMMLOWP_QUANTIZEDOWN_INT32TOINT16_SCALEBYFIXEDPOINT_KERNEL_H 25 #define ARM_COMPUTE_CPU_GEMMLOWP_QUANTIZEDOWN_INT32TOINT16_SCALEBYFIXEDPOINT_KERNEL_H 79 const char *
name()
const override;
89 template <
bool is_bounded_relu>
102 QuantizeDownFunctionPtr _func{
nullptr };
103 int _result_fixedpoint_multiplier{ 0 };
104 int _result_shift{ 0 };
const Window & window() const
The maximum window the kernel can be executed on.
void configure(ITensorInfo *src, ITensorInfo *bias, ITensorInfo *dst, int result_fixedpoint_multiplier, int result_shift, int min=0, int max=0)
Initialise the kernel's input and output.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel()=default
Common interface for all kernels implemented in C++.
Store the tensor's metadata.
Interface for CPU tensor.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel)
const char * name() const override
Name of the kernel.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
static Status validate(const ITensorInfo *src, const ITensorInfo *bias, const ITensorInfo *dst, int min=0, int max=0)
Static function to check if given info will lead to a valid configuration.
Kernel used to quantize down the int32 accumulator values of GEMMLowp to QSYMM16. ...
Describe a multidimensional execution window.