24 #ifndef ARM_COMPUTE_CLDEPTHWISECONVOLUTION_H 25 #define ARM_COMPUTE_CLDEPTHWISECONVOLUTION_H 35 class CLCompileContext;
36 class CLDepthwiseConvolutionLayerNativeKernel;
115 _memory_group =
MemoryGroup(std::move(memory_manager));
121 std::unique_ptr<CLDepthwiseConvolutionLayerNativeKernel> _dwc_native_kernel;
131 const ITensor *_original_weights;
Base class for all functions.
void prepare() override
Prepare the function for executing.
void set_memory_group(std::shared_ptr< IMemoryManager > memory_manager)
Store the tensor's metadata.
Activation Layer Information class.
Interface for CPU tensor.
Copyright (c) 2017-2022 Arm Limited.
void configure(const CLCompileContext &compile_context, ICLTensor *input, const ICLTensor *weights, const ICLTensor *biases, ICLTensor *output, const PadStrideInfo &conv_info, unsigned int depth_multiplier=1, ActivationLayerInfo act_info=ActivationLayerInfo(), const Size2D &dilation=Size2D(1U, 1U))
Initialize the function's source, destination, weights and convolution information.
CLDepthwiseConvolutionLayer & operator=(const CLDepthwiseConvolutionLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Basic function to execute an opencl::kernels::ClPermuteKernel.
Padding and stride information class.
CLDepthwiseConvolutionLayer(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default constructor.
Function to execute a depthwise convolution.
~CLDepthwiseConvolutionLayer()
Default destructor.
Interface for OpenCL tensor.
Class for specifying the size of an image or rectangle.
void run() override
Run the kernels contained in the function.
static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info, unsigned int depth_multiplier=1, ActivationLayerInfo act_info=ActivationLayerInfo(), const Size2D &dilation=Size2D(1U, 1U))
Static function to check if given info will lead to a valid configuration of CLDepthwiseConvolutionLa...
Basic implementation of the OpenCL tensor interface.