24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_NEREDUCTIONOPERATION_H
25 #define ARM_COMPUTE_NEREDUCTIONOPERATION_H
36 class NEReductionOperationKernel;
95 bool keep_dims =
true);
102 std::unique_ptr<NEReductionOperationKernel> _reduction_kernel;
105 size_t _window_split;
107 bool _is_reshape_required;
Basic function to run cpu::kernels::CpuReshapeKernel.
Base class for all functions.
~NEReductionOperation()
Default destructor.
Interface for CPU tensor.
NEReductionOperation & operator=(const NEReductionOperation &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Basic function to simulate a reduction operation.
ReductionOperation
Available reduction operations.
NEReductionOperation(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default constructor.
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.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
void configure(ITensor *input, ITensor *output, unsigned int axis, ReductionOperation op, bool keep_dims=true)
Set the input and output tensors.
Basic implementation of the tensor interface.
void run() override
Run the kernels contained in the function.