39 : _histogram_kernel(), _local_hist(), _window_lut(window_lut_default_size), _local_hist_size(0)
50 _local_hist.resize(_local_hist_size);
53 _histogram_kernel = std::make_unique<NEHistogramKernel>();
54 _histogram_kernel->configure(input, output, _local_hist.data(), _window_lut.data());
NEHistogram()
Default Constructor.
#define ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D(t)
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
Interface for Neon tensor.
void configure(const IImage *input, IDistribution1D *output)
Initialise the kernel's inputs.
Copyright (c) 2017-2021 Arm Limited.
1D Distribution interface
void run() override
Run the kernels contained in the function.
~NEHistogram()
Default destructor.
size_t num_bins() const
Returns the number of bins that the distribution has.
static constexpr size_t DimY
Alias for dimension 1 also known as Y dimension.
virtual void schedule(ICPPKernel *kernel, const Hints &hints)=0
Runs the kernel in the same thread as the caller synchronously.
virtual unsigned int num_threads() const =0
Returns the number of threads that the SingleThreadScheduler has in his pool.
static IScheduler & get()
Access the scheduler singleton.