23.08
|
Go to the documentation of this file.
25 #ifndef ARM_COMPUTE_NESTACKLAYERKERNEL_H
26 #define ARM_COMPUTE_NESTACKLAYERKERNEL_H
39 const char *
name()
const override
41 return "NEStackLayerKernel";
90 unsigned int _idx_input;
~NEStackLayerKernel()=default
Default destructor.
Basic kernel to stack a rank-R tensor into one with rank-(R+1) along the axis dimension.
void configure(const ITensor *input, unsigned int axis, unsigned int idx_input, unsigned int num_tensors, ITensor *output)
Initialise the kernel's inputs and output.
Interface for CPU tensor.
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 NEStackLayerKernel.
const char * name() const override
Name of the kernel.
NEStackLayerKernel()
Default constructor.
Common interface for all kernels implemented in C++.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
Copyright (c) 2017-2023 Arm Limited.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
NEStackLayerKernel & operator=(const NEStackLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.