24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLSTACKLAYER_H
25 #define ARM_COMPUTE_CLSTACKLAYER_H
35 class CLCompileContext;
36 class CLStackLayerKernel;
89 const std::vector<ICLTensor *> &
input,
109 std::vector<ICLTensor *> _input;
110 std::vector<std::unique_ptr<CLStackLayerKernel>> _stack_kernels;
111 unsigned int _num_inputs;
~CLStackLayer()
Default destructor.
Base class for all functions.
Interface for OpenCL tensor.
CLStackLayer & operator=(const CLStackLayer &)=delete
Prevent instances of this class from being copied.
void configure(const std::vector< ICLTensor * > &input, int axis, ICLTensor *output)
Initialise the kernel's inputs vector and output.
CLStackLayer()
Default constructor.
void run() override
Run the kernels contained in the function.
static Status validate(const std::vector< ITensorInfo * > &input, int axis, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLStackLayerKernel.
Copyright (c) 2017-2024 Arm Limited.
Basic function to stack tensors along an axis.
Store the tensor's metadata.