24 #ifndef ARM_COMPUTE_CLPADLAYER_H 25 #define ARM_COMPUTE_CLPADLAYER_H 35 class CLCompileContext;
36 class CLPadLayerKernel;
103 std::unique_ptr<CLPadLayerKernel> _pad_kernel;
Class describing the value of a pixel for any image format.
Base class for all functions.
Basic function to run opencl::kernels::ClCopyKernel.
std::vector< PaddingInfo > PaddingList
List of padding information.
Basic function to pad a tensor.
Store the tensor's metadata.
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 CLPadLayer.
Copyright (c) 2017-2021 Arm Limited.
PaddingMode
Padding mode to use for PadLayer.
void configure(ICLTensor *input, ICLTensor *output, const PaddingList &padding, PixelValue constant_value=PixelValue(), PaddingMode mode=PaddingMode::CONSTANT)
Initialize the function.
CLPadLayer & operator=(const CLPadLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
CLPadLayer()
Default constructor.
Interface for OpenCL tensor.
void run() override
Run the kernels contained in the function.
~CLPadLayer()
Default destructor.