24 #ifndef ARM_COMPUTE_CPU_QUANTIZE_KERNEL_H 25 #define ARM_COMPUTE_CPU_QUANTIZE_KERNEL_H 63 const char *
name()
const override;
75 template <
typename TIn,
typename TOut>
84 QuantizeFunctionExecutorPtr _func{
nullptr };
const Window & window() const
The maximum window the kernel can be executed on.
Common interface for all kernels implemented in C++.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
Store the tensor's metadata.
Interface for CPU tensor.
CpuQuantizeKernel()=default
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuQuantizeKernel)
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
const char * name() const override
Name of the kernel.
void configure(const ITensorInfo *src, ITensorInfo *dst)
Set the input, output.
Interface for the quantization layer kernel.
Describe a multidimensional execution window.