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