47 _reduction_function->configure(input, output, axis, op,
false);
58 _reduction_function->run();
ReductionOperation
Available reduction operations.
static Status validate(const ITensorInfo *input, int axis, const ITensorInfo *output, const ReductionOperation &op)
Static function to check if given info will lead to a valid configuration of NEArgMinMaxLayer.
Store the tensor's metadata.
Interface for CPU tensor.
Copyright (c) 2017-2023 Arm Limited.
void configure(ITensor *input, int axis, ITensor *output, const ReductionOperation &op)
Set the input and output tensors.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
~NEArgMinMaxLayer()
Default destructor.
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.
void run() override
Run the kernels contained in the function.
NEArgMinMaxLayer(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Constructor.
#define ARM_COMPUTE_RETURN_ERROR_ON_MSG(cond, msg)
If the condition is true, an error is returned.
#define ARM_COMPUTE_LOG_PARAMS(...)
Basic function to simulate a reduction operation.