24 #ifndef ARM_COMPUTE_CLARGMINMAXLAYER_H 25 #define ARM_COMPUTE_CLARGMINMAXLAYER_H 38 class CLArgMinMaxLayerKernel;
99 std::vector<CLTensor> _results_vector;
101 std::vector<std::unique_ptr<CLArgMinMaxLayerKernel>> _reduction_kernels_vector;
103 unsigned int _num_of_stages;
104 unsigned int _reduction_axis;
~CLArgMinMaxLayer()
Default destructor.
Base class for all functions.
ReductionOperation
Available reduction operations.
void run() override
Run the kernels contained in the function.
Store the tensor's metadata.
Copyright (c) 2017-2021 Arm Limited.
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 CLArgMinMaxLayer.
CLArgMinMaxLayer(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default Constructor.
Interface for OpenCL tensor.
Function to calculate the index of the minimum or maximum values in a tensor based on an axis...
void configure(const ICLTensor *input, int axis, ICLTensor *output, const ReductionOperation &op)
Set the input and output tensors.
CLArgMinMaxLayer & operator=(const CLArgMinMaxLayer &)=delete
Prevent instances of this class from being copied.
Basic function to run opencl::kernels::ClReshapeKernel.
Basic implementation of the OpenCL tensor interface.