35 : _mean_stddev_kernel(), _fill_border_kernel(), _global_sum(0), _global_sum_squared(0)
41 _mean_stddev_kernel = std::make_unique<NEMeanStdDevKernel>();
42 _fill_border_kernel = std::make_unique<NEFillBorderKernel>();
44 _mean_stddev_kernel->configure(input, mean, &_global_sum, stddev, &_global_sum_squared);
51 _global_sum_squared = 0;
Class describing the value of a pixel for any image format.
void configure(IImage *input, float *mean, float *stddev=nullptr)
Initialise the kernel's inputs and outputs.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
void run() override
Run the kernels contained in the function.
NEMeanStdDev()
Default Constructor.
static constexpr size_t DimY
Alias for dimension 1 also known as Y dimension.
~NEMeanStdDev()
Default destructor.
virtual void schedule(ICPPKernel *kernel, const Hints &hints)=0
Runs the kernel in the same thread as the caller synchronously.
static constexpr size_t DimZ
Alias for dimension 2 also known as Z dimension.
static IScheduler & get()
Access the scheduler singleton.