Compute Library
18.05
|
NEON kernel to perform tensor permutation. More...
#include <NEPermuteKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NEPermuteKernel () | |
Default constructor. More... | |
NEPermuteKernel (const NEPermuteKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEPermuteKernel & | operator= (const NEPermuteKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEPermuteKernel (NEPermuteKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEPermuteKernel & | operator= (NEPermuteKernel &&)=default |
Allow instances of this class to be moved. More... | |
~NEPermuteKernel ()=default | |
Default destructor. More... | |
void | configure (const ITensor *input, ITensor *output, const PermutationVector &perm) |
Set the input and output of the kernel. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Static Public Member Functions | |
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. More... | |
NEON kernel to perform tensor permutation.
Permutes given a permutation vector
Definition at line 37 of file NEPermuteKernel.h.
NEPermuteKernel | ( | ) |
Default constructor.
Referenced by NEPermuteKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
default |
Default destructor.
Referenced by NEPermuteKernel::name().
void configure | ( | const ITensor * | input, |
ITensor * | output, | ||
const PermutationVector & | perm | ||
) |
Set the input and output of the kernel.
[in] | input | The input tensor to permute. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/QS16/F16/U32/S32/F32 |
[out] | output | The output tensor. Data types supported: Same as input |
[in] | perm | Permutation vector |
Referenced by NEPermuteKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 40 of file NEPermuteKernel.h.
References NEPermuteKernel::configure(), arm_compute::test::validation::info(), NEPermuteKernel::NEPermuteKernel(), NEPermuteKernel::operator=(), NEPermuteKernel::run(), NEPermuteKernel::validate(), IKernel::window(), and NEPermuteKernel::~NEPermuteKernel().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEPermuteKernel::name().
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEPermuteKernel::name().
|
static |
Static function to check if given info will lead to a valid configuration of CPPPermuteKernel.
[in] | input | The input tensor to permute. Data types supported: U8/S8/QS8/QASYMM8/U16/S16/QS16/F16/U32/S32/F32 |
[in] | output | The output tensor. Data types supported: Same as input |
[in] | perm | Permutation vector |
Referenced by NEPermuteKernel::name().