24.02.1
|
Go to the documentation of this file.
25 #ifndef ARM_COMPUTE_CLSTACKLAYERKERNEL_H
26 #define ARM_COMPUTE_CLSTACKLAYERKERNEL_H
65 const ICLTensor *
input,
unsigned int axis,
unsigned int idx_input,
unsigned int num_tensors,
ICLTensor *output);
82 unsigned int idx_input,
83 unsigned int num_tensors,
100 unsigned int idx_input,
101 unsigned int num_tensors,
~CLStackLayerKernel()=default
Default destructor.
Interface for OpenCL tensor.
CLStackLayerKernel & operator=(const CLStackLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
CLStackLayerKernel()
Default constructor.
OpenCL kernel to stacks a rank-R tensor into one with rank-(R+1) along the axis dimension.
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.
void configure(const ICLTensor *input, unsigned int axis, unsigned int idx_input, unsigned int num_tensors, ICLTensor *output)
Initialise the kernel's inputs and output.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
Store the tensor's metadata.
static Status validate(const ITensorInfo *input, unsigned int axis, unsigned int idx_input, unsigned int num_tensors, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLStackLayerKernel.