24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_NEREDUCTIONOPERATIONKERNEL_H
25 #define ARM_COMPUTE_NEREDUCTIONOPERATIONKERNEL_H
43 const char *
name()
const override
45 return "NEReductionOperationKernel";
89 unsigned int _reduction_axis;
void configure(const ITensor *input, ITensor *output, unsigned int axis, ReductionOperation op)
Set the source, destination of the kernel.
Interface for CPU tensor.
ReductionOperation
Available reduction operations.
const char * name() const override
Name of the kernel.
Common interface for all kernels implemented in C++.
~NEReductionOperationKernel()=default
Default destructor.
NEReductionOperationKernel & operator=(const NEReductionOperationKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
NEReductionOperationKernel()
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.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, ReductionOperation op)
Static function to check if given info will lead to a valid configuration of NEReductionOperationKern...
Kernel to perform a reduction operation.