24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_QUANTIZE_KERNEL_H
25 #define ARM_COMPUTE_CPU_QUANTIZE_KERNEL_H
63 const char *
name()
const override;
77 template <
typename TIn,
typename TOut>
86 template <
typename TIn,
typename TOut>
89 QuantizeFunctionExecutorPtr _func{
nullptr};
SimpleTensor< float > src
void configure(const ITensorInfo *src, ITensorInfo *dst)
Set the input, output.
Interface for CPU tensor.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
Interface for the quantization layer kernel.
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.
const char * name() const override
Name of the kernel.
CpuQuantizeKernel()=default
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuQuantizeKernel)
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)