24 #ifndef ARM_COMPUTE_NEREDUCTIONOPERATION_H 25 #define ARM_COMPUTE_NEREDUCTIONOPERATION_H 36 class NEReductionOperationKernel;
86 std::unique_ptr<NEReductionOperationKernel> _reduction_kernel;
91 bool _is_reshape_required;
Base class for all functions.
void run() override
Run the kernels contained in the function.
ReductionOperation
Available reduction operations.
Store the tensor's metadata.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, ReductionOperation op, bool keep_dims=true)
Static function to check if given info will lead to a valid configuration of NEReductionOperation.
Basic implementation of the tensor interface.
~NEReductionOperation()
Default destructor.
Basic function to run cpu::kernels::CpuReshapeKernel.
Basic function to simulate a reduction operation.
NEReductionOperation & operator=(const NEReductionOperation &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
NEReductionOperation(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default constructor.
void configure(ITensor *input, ITensor *output, unsigned int axis, ReductionOperation op, bool keep_dims=true)
Set the input and output tensors.