23.08
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLGEMMCONVOLUTIONLAYER_H
25 #define ARM_COMPUTE_CLGEMMCONVOLUTIONLAYER_H
40 class CLCompileContext;
158 std::unique_ptr<Impl> _impl;
Convolution Layer Weights Information class.
Base class for all functions.
void run() override
Run the kernels contained in the function.
Interface for OpenCL tensor.
Class for specifying the size of an image or rectangle.
void configure(const ICLTensor *input, const ICLTensor *weights, const ICLTensor *biases, ICLTensor *output, const PadStrideInfo &conv_info, const WeightsInfo &weights_info=WeightsInfo(), const Size2D &dilation=Size2D(1U, 1U), const ActivationLayerInfo &act_info=ActivationLayerInfo(), unsigned int num_groups=1, const experimental::PostOpList< ICLTensor * > &post_ops=experimental::PostOpList< ICLTensor * > {})
Set the input and output tensors.
void prepare() override
Prepare the function for executing.
Activation Layer Information class.
~CLGEMMConvolutionLayer()
Default destructor.
static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info, const WeightsInfo &weights_info=WeightsInfo(), const Size2D &dilation=Size2D(1U, 1U), const ActivationLayerInfo &act_info=ActivationLayerInfo(), unsigned int num_groups=1, const experimental::PostOpList< ITensorInfo * > &post_ops=experimental::PostOpList< ITensorInfo * > {})
Static function to check if given info will lead to a valid configuration of CLGEMMConvolutionLayer.
experimental::PostOpList< ITensorInfo * > post_ops
CLGEMMConvolutionLayer & operator=(const CLGEMMConvolutionLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
const unsigned int num_groups
Copyright (c) 2017-2023 Arm Limited.
Store the tensor's metadata.
Weights manager interface to handle weights transformations.
Basic function to compute the convolution layer.
A sequence of PostOps that can be appended to the end of other operators.
CLGEMMConvolutionLayer(std::shared_ptr< IMemoryManager > memory_manager=nullptr, IWeightsManager *weights_manager=nullptr)
Constructor.