24 #ifndef ARM_COMPUTE_NEPRIORBOXLAYERKERNEL_H 25 #define ARM_COMPUTE_NEPRIORBOXLAYERKERNEL_H 37 const char *
name()
const override 39 return "NEPriorBoxLayerKernel";
87 void store_coordinates(
float *out,
const int offset,
const float center_x,
const float center_y,
const float box_width,
const float box_height,
const int width,
const int height);
92 void calculate_prior_boxes(
const Window &window);
Interface for the kernel to calculate prior boxes.
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
const Window & window() const
The maximum window the kernel can be executed on.
void configure(const ITensor *input1, const ITensor *input2, ITensor *output, const PriorBoxLayerInfo &info)
Set the input and output tensors.
const char * name() const override
Name of the kernel.
Common interface for all kernels implemented in C++.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
Store the tensor's metadata.
~NEPriorBoxLayerKernel()=default
Default destructor.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
NEPriorBoxLayerKernel & operator=(const NEPriorBoxLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
NEPriorBoxLayerKernel()
Default constructor.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, const PriorBoxLayerInfo &info)
Static function to check if given info will lead to a valid configuration of NEPriorBoxLayerKernel.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
Describe a multidimensional execution window.