24.02.1
|
Go to the documentation of this file.
25 #ifndef ARM_COMPUTE_NEGATHERKERNEL_H
26 #define ARM_COMPUTE_NEGATHERKERNEL_H
58 const char *
name()
const override
60 return "NEGatherKernel";
85 template <
typename TIndex>
Interface for CPU tensor.
Strides of an item in bytes.
NEGatherKernel()
Default constructor.
void configure(const ITensor *input, const ITensor *indices, ITensor *output, int axis=0)
Initialise the kernel's inputs and outputs.
Common interface for all kernels implemented in C++.
NEGatherKernel & operator=(const NEGatherKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers).
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-2024 Arm Limited.
Kernel to perform gather operation.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
static Status validate(const ITensorInfo *input, const ITensorInfo *indices, const ITensorInfo *output, int axis)
Static function to check if given info will lead to a valid configuration.
const char * name() const override
Name of the kernel.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
~NEGatherKernel()=default
Default detructor.