24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_DIRECT_CONV2D_KERNEL_H
25 #define ARM_COMPUTE_CPU_DIRECT_CONV2D_KERNEL_H
40 using DirectConv2dKernel_Ptr = std::add_pointer<void(
75 const char *
name()
const override;
88 unsigned int _kernel_size{0};
const char * name() const override
Name of the kernel.
SimpleTensor< float > src
decltype(strategy::transforms) typedef type
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
DataLayout
[DataLayout enum definition]
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuDirectConv2dKernel)
Interface for CPU tensor.
CpuDirectConv2dKernel()=default
Interface for the kernel to perform Direct Convolution Layer.
static const std::vector< DirectConv2dKernel > & get_available_kernels()
void configure(ITensorInfo *src, ITensorInfo *weights, ITensorInfo *dst, const PadStrideInfo &conv_info)
Set the src, weights, and dst tensors.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
static Status validate(const ITensorInfo *src, const ITensorInfo *weights, const ITensorInfo *dst, const PadStrideInfo &conv_info)
Static function to check if given info will lead to a valid configuration.
@ UNKNOWN
Unknown data layout.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
std::add_pointer< bool(const DataTypeDataLayoutISASelectorData &data)>::type DataTypeDataLayoutSelectorPtr
DirectConv2dKernel_Ptr ukernel
const DataTypeDataLayoutSelectorPtr is_selected