24 #ifndef ARM_COMPUTE_NEMINMAXLOCATIONKERNEL_H 25 #define ARM_COMPUTE_NEMINMAXLOCATIONKERNEL_H 42 const char *
name()
const override 44 return "NEMinMaxKernel";
77 void minmax_U8(
Window win);
82 void minmax_S16(
Window win);
87 void minmax_F32(
Window win);
97 void update_min_max(T min, T max);
109 const char *
name()
const override 111 return "NEMinMaxLocationKernel";
138 uint32_t *min_count =
nullptr, uint32_t *max_count =
nullptr);
149 template <
class T,
bool count_min,
bool count_max,
bool loc_min,
bool loc_max>
150 void minmax_loc(
const Window &win);
157 MinMaxLocFunction _func;
159 template <
class T,
typename>
160 struct create_func_table;
165 uint32_t *_min_count;
166 uint32_t *_max_count;
const Window & window() const
The maximum window the kernel can be executed on.
Common interface for all kernels implemented in C++.
Interface for the kernel to find min max locations of an image.
Interface for the kernel to perform min max search on an image.
std::mutex Mutex
Wrapper of Mutex data-object.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
virtual bool is_parallelisable() const
Indicates whether or not the kernel is parallelisable.
void configure(const IImage *input, void *min, void *max)
Initialise the kernel's input and outputs.
void reset()
Resets global minimum and maximum.
ITensor IImage
Interface for CPP Images.
~NEMinMaxKernel()=default
Default destructor.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
const char * name() const override
Name of the kernel.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
NEMinMaxKernel & operator=(const NEMinMaxKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
NEMinMaxKernel()
Default constructor.
const char * name() const override
Name of the kernel.
Describe a multidimensional execution window.