24 #ifndef ARM_COMPUTE_NEPADLAYERKERNEL_H 25 #define ARM_COMPUTE_NEPADLAYERKERNEL_H 40 const char *
name()
const override 42 return "NEPadLayerKernel";
91 void run_pad_constant(
const Window &window);
97 void run_pad_constant_uint8_3Dinput_3Dpad(
const Window &window);
105 PadFunctionPtr _func;
Class describing the value of a pixel for any image format.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
const Window & window() const
The maximum window the kernel can be executed on.
Neon kernel to add padding to a tensor.
std::vector< PaddingInfo > PaddingList
List of padding information.
const char * name() const override
Name of the kernel.
Common interface for all kernels implemented in C++.
NEPadLayerKernel()
Default constructor.
Store the tensor's metadata.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
PaddingMode
Padding mode to use for PadLayer.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PaddingList &padding, const PixelValue constant_value=PixelValue(), const PaddingMode mode=PaddingMode::CONSTANT)
Static function to check if given info will lead to a valid configuration of NEPadLayer.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
void configure(ITensor *input, ITensor *output, const PaddingList &padding, const PixelValue constant_value=PixelValue(), const PaddingMode mode=PaddingMode::CONSTANT)
Initialize the function.
NEPadLayerKernel & operator=(const NEPadLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Describe a multidimensional execution window.
~NEPadLayerKernel()=default
Default destructor.