24.02.1
|
Go to the documentation of this file.
34 struct CLPooling3dLayer::Impl
36 const ICLTensor *
src{
nullptr};
37 ICLTensor *
dst{
nullptr};
38 ICLTensor *indices{
nullptr};
39 std::unique_ptr<opencl::ClPool3d> op{
nullptr};
60 _impl->op = std::make_unique<opencl::ClPool3d>();
61 _impl->op->configure(compile_context,
input->info(), output->
info(), pool_info);
SimpleTensor< float > src
Interface for OpenCL tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
void configure(const ICLTensor *input, ICLTensor *output, const Pooling3dLayerInfo &pool_info)
Set the input and output tensors.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const Pooling3dLayerInfo &info)
Static function to check if given info will lead to a valid configuration.
~CLPooling3dLayer()
Default Destructor.
CLPooling3dLayer()
Default Constructor.
Pooling Layer Information struct.
Copyright (c) 2017-2024 Arm Limited.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const Pooling3dLayerInfo &pool_info)
Static function to check if given info will lead to a valid configuration of CLPooling3dLayer.
Store the tensor's metadata.
void run() override
Run the kernels contained in the function.