24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_GEMMLOWP_QUANTIZEDOWN_INT32TOINT16_SCALEBYFIXEDPOINT_KERNEL_H
25 #define ARM_COMPUTE_CPU_GEMMLOWP_QUANTIZEDOWN_INT32TOINT16_SCALEBYFIXEDPOINT_KERNEL_H
53 :
public ICpuKernel<CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel>
73 int result_fixedpoint_multiplier,
88 const char *
name()
const override;
98 template <
bool is_bounded_relu>
111 QuantizeDownFunctionPtr _func{
nullptr};
112 int _result_fixedpoint_multiplier{0};
113 int _result_shift{0};
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.
SimpleTensor< float > src
CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel()=default
Interface for CPU tensor.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
Kernel used to quantize down the int32 accumulator values of GEMMLowp to QSYMM16.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel)
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.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
const char * name() const override
Name of the kernel.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)