24 #ifndef ARM_COMPUTE_CLDIRECTCONVOLUTIONLAYERKERNEL_H 25 #define ARM_COMPUTE_CLDIRECTCONVOLUTIONLAYERKERNEL_H const Window & window() const
The maximum window the kernel can be executed on.
const ICLTensor * _weights
Container for 2D border size.
~CLDirectConvolutionLayerKernel()=default
Default destructor.
Interface for the direct convolution kernel.
Store the tensor's metadata.
Common interface for all the OpenCL kernels.
static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info, const GPUTarget target)
Static function to check if given info will lead to a valid configuration of CLDirectConvolutionLayer...
Copyright (c) 2017-2021 Arm Limited.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
Padding and stride information class.
CLDirectConvolutionLayerKernel & operator=(const CLDirectConvolutionLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
BorderSize border_size() const override
The size of the border for that kernel.
CLDirectConvolutionLayerKernel()
Default constructor.
Interface for OpenCL tensor.
GPUTarget
Available GPU Targets.
const ICLTensor * _biases
DataLayout
[DataLayout enum definition]
Describe a multidimensional execution window.
void configure(const ICLTensor *input, const ICLTensor *weights, const ICLTensor *biases, ICLTensor *output, const PadStrideInfo &conv_info)
Set the input, weights, biases and output tensors.