24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_POOL2D_KERNEL_H
25 #define ARM_COMPUTE_CPU_POOL2D_KERNEL_H
42 using PoolingKernelPtr = std::add_pointer<void(
72 const char *
name()
const override;
86 unsigned int _num_elems_processed_per_iteration{0};
89 PoolingKernelPtr _run_method{
nullptr};
SimpleTensor< float > src
decltype(strategy::transforms) typedef type
Interface for the pooling layer kernel.
DataLayout
[DataLayout enum definition]
Class for specifying the size of an image or rectangle.
Interface for CPU tensor.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
static const std::vector< PoolingKernel > & get_available_kernels()
CpuPool2dKernel()=default
const PoolDataTypeISASelectorPtr is_selected
Pooling Layer Information struct.
const char * name() const override
Name of the kernel.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuPool2dKernel)
Copyright (c) 2017-2024 Arm Limited.
std::add_pointer< bool(const PoolDataTypeISASelectorData &data)>::type PoolDataTypeISASelectorPtr
@ UNKNOWN
Unknown data layout.
Store the tensor's metadata.
void configure(ITensorInfo *src, ITensorInfo *dst, const PoolingLayerInfo &pool_info, ITensorInfo *indices=nullptr)
Configure kernel for a given list of arguments.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const PoolingLayerInfo &pool_info, const ITensorInfo *indices=nullptr)
Static function to check if given info will lead to a valid configuration.