24 #ifndef ARM_COMPUTE_CLPADLAYERKERNEL_H 25 #define ARM_COMPUTE_CLPADLAYERKERNEL_H Class describing the value of a pixel for any image format.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PaddingList &padding, PixelValue constant_value=PixelValue(), PaddingMode mode=PaddingMode::CONSTANT)
Static function to check if given info will lead to a valid configuration of CLPadLayerKernel.
const Window & window() const
The maximum window the kernel can be executed on.
std::vector< PaddingInfo > PaddingList
List of padding information.
Store the tensor's metadata.
Common interface for all the OpenCL kernels.
Copyright (c) 2017-2021 Arm Limited.
CLPadLayerKernel()
Default constructor.
PaddingMode
Padding mode to use for PadLayer.
Interface for the PadLayer function.
void configure(const ICLTensor *input, ICLTensor *output, const PaddingList &padding, PixelValue constant_value=PixelValue(), PaddingMode mode=PaddingMode::CONSTANT)
Set the input and output tensor.
CLPadLayerKernel & operator=(const CLPadLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Interface for OpenCL tensor.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
~CLPadLayerKernel()=default
Default destructor.
Describe a multidimensional execution window.