24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_GEMMLOWP_REDUCTION_KERNEL_H
25 #define ARM_COMPUTE_CPU_GEMMLOWP_REDUCTION_KERNEL_H
33 struct GEMMLowpReductionKernelInfo;
70 const char *
name()
const override;
92 CpuGemmLowpMatrixAReductionKernelPtr _func{
nullptr};
95 bool _mul_by_scalar{
false};
130 const char *
name()
const override;
140 template <
typename T>
154 CpuGemmLowpMatrixBReductionKernelPtr _func{
nullptr};
157 bool _mul_by_scalar{
false};
SimpleTensor< float > src
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuGemmLowpMatrixBReductionKernel)
Interface for CPU tensor.
void configure(const ITensorInfo *src, ITensorInfo *dst, const GEMMLowpReductionKernelInfo &info)
Initialise the kernel's input and output.
Kernel used to compute the row-vectors of sums of all the entries in each column of Matrix B.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuGemmLowpMatrixAReductionKernel)
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, const GEMMLowpReductionKernelInfo &info)
Static function to check if given info will lead to a valid configuration.
const char * name() const override
Name of the kernel.
CpuGemmLowpMatrixAReductionKernel()=default
Default constructor.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
const char * name() const override
Name of the kernel.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
void configure(const ITensorInfo *src, ITensorInfo *dst, const GEMMLowpReductionKernelInfo &info)
Initialise the kernel's input and output.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const GEMMLowpReductionKernelInfo &info)
Static function to check if given info will lead to a valid configuration.
Kernel used to compute the row-vectors of sums of all the entries in each row of Matrix A.
CpuGemmLowpMatrixBReductionKernel()=default
Default constructor.