24.02.1
|
Go to the documentation of this file.
35 struct CLIndirectConvolutionLayer::Impl
37 const ICLTensor *
src{
nullptr};
38 const ICLTensor *weights{
nullptr};
39 const ICLTensor *biases{
nullptr};
40 ICLTensor *
dst{
nullptr};
41 std::unique_ptr<opencl::ClIndirectConv2d> op{
nullptr};
73 _impl->weights = weights;
74 _impl->biases = biases;
76 _impl->op = std::make_unique<opencl::ClIndirectConv2d>();
77 _impl->op->configure(compile_context,
input->info(), weights->
info(),
CLIndirectConvolutionLayer & operator=(const CLIndirectConvolutionLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
SimpleTensor< float > src
Interface for OpenCL tensor.
void configure(ICLTensor *input, const ICLTensor *weights, const ICLTensor *biases, ICLTensor *output, const PadStrideInfo &conv_info, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Set the input and output tensors.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, const PadStrideInfo &conv_info, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration of CLIndirectConvolutionLay...
static Status validate(const ITensorInfo *src, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *dst, const PadStrideInfo &conv_info, const ActivationLayerInfo &act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Activation Layer Information class.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
Basic function to run the indirect convolution function.
CLIndirectConvolutionLayer()
Constructor.
~CLIndirectConvolutionLayer()
Destructor.
Copyright (c) 2017-2024 Arm Limited.
void run() override
Run the kernels contained in the function.
Store the tensor's metadata.
#define ARM_COMPUTE_LOG_PARAMS(...)