24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_POOL2D_KERNEL_H
25 #define ARM_COMPUTE_CL_POOL2D_KERNEL_H
void configure(const ClCompileContext &compile_context, ITensorInfo *src, ITensorInfo *dst, const PoolingLayerInfo &pool_info, ITensorInfo *indices=nullptr)
Configure kernel for a given list of arguments.
unsigned int _num_elems_processed_per_iteration
SimpleTensor< float > src
DataLayout
[DataLayout enum definition]
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.
Pooling Layer Information struct.
Common interface for all the OpenCL kernels.
const Window & window() const
The maximum window the kernel can be executed on.
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.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
Interface for the pooling layer kernel.
PoolingLayerInfo _pool_info
@ UNKNOWN
Unknown data layout.
Store the tensor's metadata.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(ClPool2dKernel)