24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_GEMMLOWP_QUANTIZEDOWN_INT32TOINT8_SCALEBYFIXEDPOINT_KERNEL_H
25 #define ARM_COMPUTE_CPU_GEMMLOWP_QUANTIZEDOWN_INT32TOINT8_SCALEBYFIXEDPOINT_KERNEL_H
54 :
public ICpuKernel<CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel>
75 int result_fixedpoint_multiplier,
77 int result_offset_after_shift,
91 const char *
name()
const override;
101 template <
bool is_bounded_relu>
114 QuantizeDownFunctionPtr _func{
nullptr};
115 int _result_fixedpoint_multiplier{0};
116 int _result_shift{0};
117 int _result_offset_after_shift{0};
SimpleTensor< float > src
void configure(ITensorInfo *src, ITensorInfo *bias, ITensorInfo *dst, int result_fixedpoint_multiplier, int result_shift, int result_offset_after_shift, int min=0, int max=0)
Initialise the kernel's input and output.
Interface for CPU tensor.
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.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
const char * name() const override
Name of the kernel.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel)
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
Kernel used to quantize down the int32 accumulator values of GEMMLowp to QASYMM8_SIGNED.
CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel()=default
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)