24 #ifndef ARM_COMPUTE_CLMEANSTDDEV_H 25 #define ARM_COMPUTE_CLMEANSTDDEV_H 37 class CLCompileContext;
40 class CLFillBorderKernel;
41 class CLMeanStdDevKernel;
47 CLMeanStdDev(std::shared_ptr<IMemoryManager> memory_manager =
nullptr);
93 unsigned int _num_pixels;
101 std::unique_ptr<CLMeanStdDevKernel> _mean_stddev_kernel;
102 std::unique_ptr<CLFillBorderKernel> _fill_border_kernel;
103 cl::Buffer _global_sum;
104 cl::Buffer _global_sum_squared;
CLMeanStdDev & operator=(const CLMeanStdDev &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Base class for all functions.
static Status validate(ITensorInfo *input, float *mean, float *stddev=nullptr)
Static function to check if given info will lead to a valid configuration of CLMeanStdDev.
Store the tensor's metadata.
Copyright (c) 2017-2021 Arm Limited.
CLMeanStdDev(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default Constructor.
void run() override
Run the kernels contained in the function.
Basic function to execute mean and standard deviation by calling CLMeanStdDevKernel.
void configure(ICLImage *input, float *mean, float *stddev=nullptr)
Initialise the kernel's inputs and outputs.
Interface for OpenCL tensor.
Perform reduction operation.
Wrapper to configure the Khronos OpenCL C++ header.
~CLMeanStdDev()
Default destructor.
DataType
Available data types.
Basic implementation of the OpenCL tensor interface.