24 #ifndef ARM_COMPUTE_NEMEANSTDDEVKERNEL_H 25 #define ARM_COMPUTE_NEMEANSTDDEVKERNEL_H 41 const char *
name()
const override 43 return "NEMeanStdDevKernel";
66 void configure(
const IImage *
input,
float *mean, uint64_t *global_sum,
float *stddev =
nullptr, uint64_t *global_sum_squared =
nullptr);
77 uint64_t *_global_sum;
78 uint64_t *_global_sum_squared;
const Window & window() const
The maximum window the kernel can be executed on.
Container for 2D border size.
Common interface for all kernels implemented in C++.
BorderSize border_size() const override
The size of the border for that kernel.
std::mutex Mutex
Wrapper of Mutex data-object.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
const char * name() const override
Name of the kernel.
~NEMeanStdDevKernel()=default
Default destructor.
void configure(const IImage *input, float *mean, uint64_t *global_sum, float *stddev=nullptr, uint64_t *global_sum_squared=nullptr)
Initialise the kernel's input and outputs.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
ITensor IImage
Interface for CPP Images.
NEMeanStdDevKernel & operator=(const NEMeanStdDevKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
NEMeanStdDevKernel()
Default constructor.
Describe a multidimensional execution window.
Interface for the kernel to calculate mean and standard deviation of input image pixels.