24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPPPERMUTEKERNEL_H
25 #define ARM_COMPUTE_CPPPERMUTEKERNEL_H
40 const char *
name()
const override
42 return "CPPPermuteKernel";
91 PermuteFunctionPtr _func;
~CPPPermuteKernel()=default
Default destructor.
CPPPermuteKernel & operator=(const CPPPermuteKernel &)=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.
Interface for CPU tensor.
Strides of an item in bytes.
CPP kernel to perform tensor permutation.
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.
const char * name() const override
Name of the kernel.
Copyright (c) 2017-2024 Arm Limited.
CPPPermuteKernel()
Default constructor.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
void configure(const ITensor *input, ITensor *output, const PermutationVector &perm)
Set the input and output of the kernel.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PermutationVector &perm)
Static function to check if given info will lead to a valid configuration of CPPPermuteKernel.