24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_DIRECT_CONV2D_KERNEL_H
25 #define ARM_COMPUTE_CL_DIRECT_CONV2D_KERNEL_H
36 struct DirectConvComputeKernelInfo;
void configure(const CLCompileContext &compile_context, ITensorInfo *src, ITensorInfo *weights, ITensorInfo *biases, ITensorInfo *dst, const PadStrideInfo &conv_info, const ActivationLayerInfo &act_info, const DirectConvComputeKernelInfo &desc)
Set the src, weights, biases and dst tensors info.
SimpleTensor< float > src
DataLayout
[DataLayout enum definition]
bool _export_input_to_cl_image
Activation Layer Information class.
void run_op(ITensorPack &tensors, const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
Common interface for all the OpenCL kernels.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(ClDirectConv2dKernel)
static Status validate(const ITensorInfo *src, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *dst, const PadStrideInfo &conv_info, const ActivationLayerInfo &act_info, const DirectConvComputeKernelInfo &desc)
Static function to check if given info will lead to a valid configuration.
Store the tensor's metadata.
bool _export_output_to_cl_image
bool _export_weights_to_cl_image
Interface for the direct convolution kernel.
Compute descriptor used by the direct convolution kernel.